diff --git a/mcomix.spec b/mcomix.spec index 96f3624..75f63e1 100644 --- a/mcomix.spec +++ b/mcomix.spec @@ -1,6 +1,6 @@ Name: mcomix Version: 1.01 -Release: 4%{?dist} +Release: 5%{?dist} Summary: User-friendly, customizable image viewer for comic books Group: Amusements/Graphics @@ -42,6 +42,10 @@ is written in Python and uses GTK+ through the PyGTK bindings. %patch0 -p1 -b .rpmbuild %patch1 -p1 -b .gettext +# Remove unuseful and invalid entry +sed -i mime/mcomix.appdata.xml \ + -e '\@project_group@d' + %build # save timestamps sed -i -e 's|shutil.copy|shutil.copy2|' mcomix/main.py @@ -97,7 +101,7 @@ desktop-file-install \ $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop appstream-util validate-relax --nonet \ - $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml >/dev/null + $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas install -cpm 644 ./mime/comicbook.schemas \ @@ -161,6 +165,9 @@ fi %changelog +* Thu Feb 4 2016 Mamoru TASAKA - 1.01-5 +- Fix appdata file (remove invalid entry) + * Thu Feb 04 2016 Fedora Release Engineering - 1.01-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild