Fix packagekit-offline-update.service not being enabled (#1833176)
Just fixing this downstream for now, as it's not clear what the best upstream fix for this is yet.
This commit is contained in:
parent
ef140e7a70
commit
66098b111d
@ -6,7 +6,7 @@
|
||||
Summary: Package management service
|
||||
Name: PackageKit
|
||||
Version: 1.2.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: http://www.freedesktop.org/software/PackageKit/
|
||||
Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz
|
||||
@ -164,6 +164,13 @@ pushd %{buildroot}%{_libexecdir} > /dev/null
|
||||
ln -s pk-gstreamer-install gst-install-plugins-helper
|
||||
popd > /dev/null
|
||||
|
||||
# enable packagekit-offline-updates.service here for now, till we
|
||||
# decide how to do it upstream after the meson conversion:
|
||||
# https://github.com/hughsie/PackageKit/issues/401
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1833176
|
||||
mkdir -p %{buildroot}%{_unitdir}/system-update.target.wants/
|
||||
ln -sf ../packagekit-offline-update.service %{buildroot}%{_unitdir}/system-update.target.wants/packagekit-offline-update.service
|
||||
|
||||
%find_lang %name
|
||||
|
||||
%post
|
||||
@ -202,7 +209,7 @@ systemctl disable packagekit-offline-update.service > /dev/null 2>&1 || :
|
||||
%{_datadir}/dbus-1/interfaces/*.xml
|
||||
%{_unitdir}/packagekit-offline-update.service
|
||||
%{_unitdir}/packagekit.service
|
||||
#%{_unitdir}/system-update.target.wants/
|
||||
%{_unitdir}/system-update.target.wants/
|
||||
%{_libexecdir}/pk-*offline-update
|
||||
%{_libdir}/packagekit-backend/libpk_backend_dnf.so
|
||||
|
||||
@ -239,6 +246,9 @@ systemctl disable packagekit-offline-update.service > /dev/null 2>&1 || :
|
||||
%{_datadir}/vala/vapi/packagekit-glib2.deps
|
||||
|
||||
%changelog
|
||||
* Fri May 08 2020 Adam Williamson <awilliam@redhat.com> - 1.2.0-3
|
||||
- Fix packagekit-offline-update.service not being enabled (#1833176)
|
||||
|
||||
* Tue May 05 2020 Neal Gompa <ngompa13@gmail.com> - 1.2.0-2
|
||||
- Clean up and simplify spec
|
||||
- Fix packaging to work properly with EL8+
|
||||
|
||||
Loading…
Reference in New Issue
Block a user