diff --git a/evince.spec b/evince.spec index 8173205..8e3d93f 100644 --- a/evince.spec +++ b/evince.spec @@ -6,7 +6,7 @@ Name: evince Version: 41~alpha -Release: 1%{?dist} +Release: 2%{?dist} Summary: Document viewer License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse @@ -161,6 +161,11 @@ It provides the printing preview for the GTK printing dialog. %find_lang evince --with-gnome mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications +rm -f $RPM_BUILD_ROOT%{_datadir}/metainfo/evince-pdfdocument.metainfo.xml +rm -f $RPM_BUILD_ROOT%{_datadir}/metainfo/evince-psdocument.metainfo.xml +rm -f $RPM_BUILD_ROOT%{_datadir}/metainfo/evince-tiffdocument.metainfo.xml +rm -f $RPM_BUILD_ROOT%{_datadir}/metainfo/evince-comicsdocument.metainfo.xml +rm -f $RPM_BUILD_ROOT%{_datadir}/metainfo/evince-xpsdocument.metainfo.xml %check appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Evince.appdata.xml @@ -196,25 +201,20 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p %dir %{_libdir}/evince/4/backends %{_libdir}/evince/4/backends/libpdfdocument.so %{_libdir}/evince/4/backends/pdfdocument.evince-backend -%{_datadir}/metainfo/evince-pdfdocument.metainfo.xml %{_libdir}/evince/4/backends/libpsdocument.so %{_libdir}/evince/4/backends/psdocument.evince-backend -%{_datadir}/metainfo/evince-psdocument.metainfo.xml %{_libdir}/evince/4/backends/libtiffdocument.so %{_libdir}/evince/4/backends/tiffdocument.evince-backend -%{_datadir}/metainfo/evince-tiffdocument.metainfo.xml %if 0%{?fedora} || 0%{?rhel} > 7 %{_libdir}/evince/4/backends/libcomicsdocument.so %{_libdir}/evince/4/backends/comicsdocument.evince-backend -%{_datadir}/metainfo/evince-comicsdocument.metainfo.xml %endif %{_libdir}/evince/4/backends/libxpsdocument.so %{_libdir}/evince/4/backends/xpsdocument.evince-backend -%{_datadir}/metainfo/evince-xpsdocument.metainfo.xml %{_libdir}/girepository-1.0/EvinceDocument-3.0.typelib %{_libdir}/girepository-1.0/EvinceView-3.0.typelib @@ -261,6 +261,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Evince-p %{_mandir}/man1/evince-previewer.1* %changelog +* Fri Sep 17 2021 Marek Kasik - 41~alpha-2 +- Remove metainfo for plugins since they are not real addons +- Resolves: #2005386 + * Tue Aug 03 2021 Kalev Lember - 41~alpha-1 - Update to 41.alpha