!7 Fix build error

From: @starlet-dx 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-11-02 01:32:53 +00:00 committed by Gitee
commit 9cfebe2173
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: appstream
Version: 0.15.2
Release: 2
Release: 3
Summary: Utilities to generate, maintain and access the AppStream database
License: GPLv2+ and LGPLv2+
URL: https://github.com/ximion/appstream
@ -150,7 +150,6 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \
%{_docdir}/appstream/html/
## symlink pointing to ^^, but need to take care, since rpm has
## trouble replacing dirs with symlinks, omit it for now -- rex
%exclude %{_datadir}/gtk-doc/html/appstream
%{_datadir}/installed-tests/appstream/metainfo-validate.test
%ldconfig_scriptlets compose
@ -167,7 +166,6 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \
%{_libdir}/libappstream-compose.so
%{_libdir}/pkgconfig/appstream-compose.pc
%{_datadir}/gir-1.0/AppStreamCompose-1.0.gir
%{_datadir}/gtk-doc/html/appstream-compose
%ldconfig_scriptlets qt
@ -181,6 +179,9 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \
%{_libdir}/libAppStreamQt.so
%changelog
* Wed Nov 02 2022 yaoxin <yaoxin30@h-partners.com> - 0.15.2-3
- Fix build error
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.15.2-2
- fix build error
- File listed twice libappstream-compose.so.0.15.2