Hello community, here is the log from the commit of package gnome-news for openSUSE:Factory checked in at 2017-11-03 16:24:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-news (Old) and /work/SRC/openSUSE:Factory/.gnome-news.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-news" Fri Nov 3 16:24:20 2017 rev:5 rq:537582 version:0.0.1+20170808 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-news/gnome-news.changes 2017-09-13 21:40:02.956187560 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-news.new/gnome-news.changes 2017-11-03 16:24:40.316599964 +0100 @@ -1,0 +2,7 @@ +Wed Oct 25 15:19:52 UTC 2017 - malcolmle...@opensuse.org + +- Change appstream file location due to appstream-glib >= 0.7.3. +- Fix rpm runtime dependency rpmlint warning for python3. +- Cleanup duplicate files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-news.spec ++++++ --- /var/tmp/diff_new_pack.KE7EwJ/_old 2017-11-03 16:24:40.964576380 +0100 +++ /var/tmp/diff_new_pack.KE7EwJ/_new 2017-11-03 16:24:40.968576235 +0100 @@ -24,8 +24,9 @@ Group: Productivity/Other Url: https://git.gnome.org//browse/gnome-news Source: %{name}-%{version}.tar.xz -BuildRequires: appstream-glib-devel +BuildRequires: appstream-glib-devel >= 0.7.3 BuildRequires: autoconf-archive +BuildRequires: fdupes BuildRequires: glib2-devel BuildRequires: gobject-introspection BuildRequires: hicolor-icon-theme @@ -43,6 +44,8 @@ %prep %setup -q +#Fix rpm runtime dependency rpmlint error replace the shebang in all the scripts with %%{_bindir}/python3 +find . -type f -exec perl -pi -e 'BEGIN{undef $/};s[^#\!/usr/bin/env python3][#\!%{_bindir}/python3]' {} \; %build NOCONFIGURE=1 ./autogen.sh @@ -51,6 +54,7 @@ %install make DESTDIR=%{buildroot} install %{?_smp_mflags} +%fdupes -s %{buildroot} %find_lang %{name} %{?no_lang_C} %post @@ -66,12 +70,12 @@ %doc README COPYING %{_bindir}/%{name} %{_datadir}/%{name}/ -# Own dir for openSUSE Leap -%dir %{_datadir}/appdata -%{_datadir}/appdata/org.gnome.News.appdata.xml %{_datadir}/applications/org.gnome.News.desktop %{_datadir}/glib-2.0/schemas/org.gnome.News.gschema.xml %{_datadir}/icons/hicolor/*/apps/%{name}*.* +# Own dir for openSUSE Leap +%dir %{_datadir}/metainfo +%{_datadir}/metainfo/org.gnome.News.appdata.xml %{python3_sitelib}/gnomenews/ %files lang -f %{name}.lang