Drop unused comps-extras requires

The dnf backend doesn't implement comps support so there's no reason to
pull in a package that ships icons for comps.

If a PackageKit frontend needs comps-extras, we need to make sure to
correctly list the dep there.
This commit is contained in:
Kalev Lember 2019-07-12 11:05:07 +03:00
parent b22b751cb9
commit 53a1f19a7e

View File

@ -14,7 +14,7 @@
Summary: Package management service
Name: PackageKit
Version: 1.1.12
Release: 8%{?dist}
Release: 9%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://www.freedesktop.org/software/PackageKit/
Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz
@ -88,7 +88,6 @@ Requires: glib2%{?_isa} >= %{glib2_version}
Requires: libdnf%{?_isa} >= %{libdnf_version}
%endif
Requires: shared-mime-info
Requires: comps-extras
Requires: systemd
# functionality moved to udev itself
@ -254,14 +253,6 @@ pushd ${RPM_BUILD_ROOT}%{_libexecdir} > /dev/null
ln -s pk-gstreamer-install gst-install-plugins-helper
popd > /dev/null
# create a link that from the comps icons to PK, as PackageKit frontends
# cannot add /usr/share/pixmaps/comps to the icon search path as some distros
# do not use comps. Patching this in the frontend is not a good idea, as there
# are multiple frontends in multiple programming languages.
pushd ${RPM_BUILD_ROOT}%{_datadir}/PackageKit > /dev/null
ln -s ../pixmaps/comps icons
popd > /dev/null
%find_lang %name
%post
@ -350,6 +341,9 @@ systemctl disable packagekit-offline-update.service > /dev/null 2>&1 || :
%{_datadir}/vala/vapi/packagekit-glib2.vapi
%changelog
* Fri Jul 12 2019 Kalev Lember <klember@redhat.com> - 1.1.12-9
- Drop unused comps-extras requires
* Wed Jun 19 2019 Kalev Lember <klember@redhat.com> - 1.1.12-8
- Don't override DnfContext's release_ver for the running system