diff --git a/PackageKit.spec b/PackageKit.spec index 8db0823..841aaba 100644 --- a/PackageKit.spec +++ b/PackageKit.spec @@ -6,7 +6,7 @@ Summary: Package management service Name: PackageKit Version: 1.2.4 -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 @@ -153,6 +153,9 @@ using PackageKit. %install %meson_install +# Create cache dir +mkdir -p %{buildroot}%{_localstatedir}/cache/PackageKit + # Create directories for downloaded appstream data mkdir -p %{buildroot}%{_localstatedir}/cache/app-info/{icons,xmls} @@ -184,6 +187,7 @@ systemctl disable packagekit-offline-update.service > /dev/null 2>&1 || : %dir %{_localstatedir}/cache/app-info %dir %{_localstatedir}/cache/app-info/icons %dir %{_localstatedir}/cache/app-info/xmls +%dir %{_localstatedir}/cache/PackageKit %{_datadir}/bash-completion/completions/pkcon %dir %{_libdir}/packagekit-backend %config(noreplace) %{_sysconfdir}/PackageKit/PackageKit.conf @@ -244,6 +248,9 @@ systemctl disable packagekit-offline-update.service > /dev/null 2>&1 || : %{_datadir}/vala/vapi/packagekit-glib2.deps %changelog +* Wed Oct 27 2021 Rex Dieter - 1.2.4-3 +- own /var/cache/PackageKit (#2016636) + * Fri Sep 10 2021 Adam Williamson - 1.2.4-2 - Backport PR #505 to fix offline upgrading (#2002609)