From 21f2298fa4611b7faa44219f54b093e65012c88e Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 25 Feb 2019 10:34:35 +0100 Subject: [PATCH] Split rpm-ostree backend to its own subpackage --- gnome-software.spec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/gnome-software.spec b/gnome-software.spec index 6e0cc57..2809197 100644 --- a/gnome-software.spec +++ b/gnome-software.spec @@ -20,7 +20,7 @@ Name: gnome-software Version: 3.31.90 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A software center for GNOME License: GPLv2+ @@ -120,6 +120,18 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description editor Editor for designing banners for GNOME Software. +%package rpm-ostree +Summary: rpm-ostree backend for gnome-software +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: rpm-ostree%{?_isa} +Supplements: (gnome-software%{?_isa} and rpm-ostree%{?_isa}) + +%description rpm-ostree +gnome-software is an application that makes it easy to add, remove +and update software in the GNOME desktop. + +This package includes the rpm-ostree backend. + %if 0%{?fedora} %package snap Summary: Support for Ubuntu Snap packages @@ -242,7 +254,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_provenance.so %{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_repos.so %{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_rewrite-resource.so -%{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_rpm-ostree.so %{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_shell-extensions.so %{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_systemd-updates.so %{_sysconfdir}/xdg/autostart/gnome-software-service.desktop @@ -255,6 +266,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_libexecdir}/gnome-software-cmd %{_libexecdir}/gnome-software-restarter +%files rpm-ostree +%{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_rpm-ostree.so + %if 0%{?fedora} %files snap %{_libdir}/gs-plugins-%{gs_plugin_version}/libgs_plugin_snap.so @@ -273,6 +287,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_mandir}/man1/gnome-software-editor.1* %changelog +* Mon Feb 25 2019 Kalev Lember - 3.31.90-2 +- Split rpm-ostree backend to its own subpackage + * Sun Feb 24 2019 Kalev Lember - 3.31.90-1 - Update to 3.31.90 - Add "anaconda" repo to official repos list (#1679693)