Use upstream screenshots for appdata

There's no reason to override it; the upstream screenshot is perfectly
fine.
This commit is contained in:
Kalev Lember 2015-07-03 11:39:08 +02:00
parent b1eceaef28
commit 9ed379fd42

View File

@ -23,7 +23,6 @@ BuildRequires: libxml2-devel
BuildRequires: pygobject3-devel
BuildRequires: python3-devel
BuildRequires: /usr/bin/xsltproc
BuildRequires: libappstream-glib
Requires: %{name}-libs = %{version}-%{release}
# The gtk3 version of glade was packaged under the name of 'glade3' for a
@ -79,15 +78,6 @@ make %{?_smp_mflags}
%make_install
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
# Update the screenshot shown in the software center
#
# NOTE: It would be *awesome* if this file was pushed upstream.
#
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
#
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/glade.appdata.xml \
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/glade/a.png
# Remove rpaths.
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/glade*
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade/modules/*.so
@ -151,6 +141,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
* Fri Jul 03 2015 Kalev Lember <klember@redhat.com> - 3.19.0-3
- Switch to Python 3 (#1238957)
- Use the make_install macro
- Use upstream screenshots for appdata
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.19.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild