Fix non-Fedora build

This commit is contained in:
Richard Hughes 2014-11-13 10:33:51 +00:00 committed by Kalev Lember
parent 1e7b875674
commit 89bd39f947

View File

@ -7,7 +7,7 @@
Summary: A software center for GNOME Summary: A software center for GNOME
Name: gnome-software Name: gnome-software
Version: 3.14.2 Version: 3.14.2
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: https://wiki.gnome.org/Apps/Software URL: https://wiki.gnome.org/Apps/Software
@ -20,7 +20,9 @@ Patch0: gnome-software-system-apps.patch
Patch1: 0001-trivial-Fix-compile-when-using-appstream-glib-0.3.2.patch Patch1: 0001-trivial-Fix-compile-when-using-appstream-glib-0.3.2.patch
Requires: appstream-data Requires: appstream-data
%if 0%{?fedora}
Requires: epiphany-runtime Requires: epiphany-runtime
%endif
Requires: glib2%{?_isa} >= %{glib2_version} Requires: glib2%{?_isa} >= %{glib2_version}
# needed for app folder .directory entries # needed for app folder .directory entries
Requires: gnome-menus%{?_isa} Requires: gnome-menus%{?_isa}
@ -111,6 +113,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/gnome-software/modulesets.d/*.xml %{_datadir}/gnome-software/modulesets.d/*.xml
%changelog %changelog
* Thu Nov 13 2014 Richard Hughes <rhughes@redhat.com> - 3.14.2-3
- Fix non-Fedora build
* Tue Nov 11 2014 Richard Hughes <rhughes@redhat.com> - 3.14.2-2 * Tue Nov 11 2014 Richard Hughes <rhughes@redhat.com> - 3.14.2-2
- Backport a patch to fix compilation - Backport a patch to fix compilation