[gnome-software/gnome-3-30] trivial: Update the reference spec file



commit fca13fa258ad5f920758adbd4fcbf768bf2cf893
Author: Richard Hughes <richard hughsie com>
Date:   Tue Aug 28 15:20:13 2018 +0100

    trivial: Update the reference spec file

 contrib/gnome-software.spec.in | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)
---
diff --git a/contrib/gnome-software.spec.in b/contrib/gnome-software.spec.in
index 5ac73c97..eda0623d 100644
--- a/contrib/gnome-software.spec.in
+++ b/contrib/gnome-software.spec.in
@@ -2,15 +2,14 @@
 %global gtk3_version 3.22.4
 %global json_glib_version 1.2.0
 %global packagekit_version 1.1.1
-%global appstream_glib_version 0.7.3
+%global appstream_glib_version 0.7.8
 %global libsoup_version 2.52.0
 %global gsettings_desktop_schemas_version 3.12.0
 %global gnome_desktop_version 3.18.0
-%global fwupd_version 1.0.3
+%global fwupd_version 1.0.7
 %global flatpak_version 0.9.4
 
 %define alphatag                        #ALPHATAG#
-%define distrotag                       23
 
 Name:      gnome-software
 Version:   #VERSION#
@@ -19,8 +18,9 @@ Summary:   A software center for GNOME
 
 License:   GPLv2+
 URL:       https://wiki.gnome.org/Apps/Software
-Source0:   https://download.gnome.org/sources/gnome-software/3.27/%{name}-%{version}.tar.xz
+Source0:   https://download.gnome.org/sources/gnome-software/3.29/%{name}-%{version}.tar.xz
 
+BuildRequires: gcc
 BuildRequires: gettext
 BuildRequires: libxslt
 BuildRequires: docbook-style-xsl
@@ -45,7 +45,9 @@ BuildRequires: rpm-ostree-devel
 BuildRequires: libgudev1-devel
 BuildRequires: valgrind-devel
 BuildRequires: liboauth-devel
-BuildRequires: snapd-glib-devel
+%if 0%{?fedora}
+BuildRequires: snapd-glib-devel >= 1.42
+%endif
 
 Requires: appstream-data
 %if 0%{?fedora}
@@ -90,6 +92,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
 %description editor
 Editor for designing banners for GNOME Software.
 
+%if 0%{?fedora}
 %package snap
 Summary: Support for Ubuntu Snap packages
 Requires: %{name}%{?_isa} = %{version}-%{release}
@@ -98,13 +101,18 @@ Supplements: (gnome-software%{?_isa} and snapd%{?_isa})
 
 %description snap
 Adds support for Snap packages from the Snap store.
+%endif
 
 %prep
 %autosetup -p1
 
 %build
 %meson \
+%if 0%{?fedora}
+    -Dsnap=true \
+%else
     -Dsnap=false \
+%endif
     -Dgudev=true \
     -Dpackagekit=true \
     -Dexternal_appstream=false \
@@ -131,7 +139,6 @@ FOE
 
 %check
 desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
-DESTDIR=%{buildroot} appstream-util check-root
 
 %files -f %{name}.lang
 %doc AUTHORS README.md
@@ -199,9 +206,11 @@ DESTDIR=%{buildroot} appstream-util check-root
 %{_libexecdir}/gnome-software-cmd
 %{_libexecdir}/gnome-software-restarter
 
+%if 0%{?fedora}
 %files snap
-#%{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_snap.so
-#%{_datadir}/metainfo/org.gnome.Software.Plugin.Snap.metainfo.xml
+%{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_snap.so
+%{_datadir}/metainfo/org.gnome.Software.Plugin.Snap.metainfo.xml
+%endif
 
 %files devel
 %{_libdir}/pkgconfig/gnome-software.pc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]