Actually properly enable snap subpackage after removing conditional

This commit is contained in:
Neal Gompa 2017-06-28 19:16:22 -04:00
parent 8844a1785e
commit 2f4c6524a0

View File

@ -14,7 +14,7 @@
Name: gnome-software Name: gnome-software
Version: 3.25.3 Version: 3.25.3
Release: 4%{?dist} Release: 5%{?dist}
Summary: A software center for GNOME Summary: A software center for GNOME
License: GPLv2+ License: GPLv2+
@ -106,11 +106,7 @@ Adds support for Snap packages from the Snap store.
%build %build
%meson \ %meson \
%if 0%{?have_snap}
-Denable-snap=true \ -Denable-snap=true \
%else
-Denable-snap=false \
%endif
-Denable-gudev=true \ -Denable-gudev=true \
%if %{with packagekit} %if %{with packagekit}
-Denable-packagekit=true \ -Denable-packagekit=true \
@ -228,11 +224,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_libexecdir}/gnome-software-cmd %{_libexecdir}/gnome-software-cmd
%{_libexecdir}/gnome-software-restarter %{_libexecdir}/gnome-software-restarter
%ifarch %{snap_archs}
%files snap %files snap
%{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_snap.so %{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_snap.so
%{_datadir}/metainfo/org.gnome.Software.Plugin.Snap.metainfo.xml %{_datadir}/metainfo/org.gnome.Software.Plugin.Snap.metainfo.xml
%endif
%files devel %files devel
%{_libdir}/pkgconfig/gnome-software.pc %{_libdir}/pkgconfig/gnome-software.pc
@ -247,6 +241,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_mandir}/man1/gnome-software-editor.1* %{_mandir}/man1/gnome-software-editor.1*
%changelog %changelog
* Wed Jun 28 2017 Neal Gompa <ngompa13@gmail.com> - 3.25.3-5
- Actually properly enable snap subpackage after removing conditional
* Wed Jun 28 2017 Neal Gompa <ngompa13@gmail.com> - 3.25.3-4 * Wed Jun 28 2017 Neal Gompa <ngompa13@gmail.com> - 3.25.3-4
- Remove unnecessary arch-specific conditional for snap subpackage - Remove unnecessary arch-specific conditional for snap subpackage