commit a27f7e492d31fc07b81b01e9f402d4a1442187af Author: CentOS Sources Date: Tue Nov 3 06:54:14 2020 -0500 import PackageKit-1.1.12-6.el8 diff --git a/.PackageKit.metadata b/.PackageKit.metadata new file mode 100644 index 0000000..88d4afd --- /dev/null +++ b/.PackageKit.metadata @@ -0,0 +1 @@ +c205f7299520ab19ccd08276ec13fc7e273fb3c3 SOURCES/PackageKit-1.1.12.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e461d5c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/PackageKit-1.1.12.tar.xz diff --git a/SOURCES/0001-command-not-found-Don-t-use-a-bash-regex-to-fix-othe.patch b/SOURCES/0001-command-not-found-Don-t-use-a-bash-regex-to-fix-othe.patch new file mode 100644 index 0000000..2e66f5e --- /dev/null +++ b/SOURCES/0001-command-not-found-Don-t-use-a-bash-regex-to-fix-othe.patch @@ -0,0 +1,25 @@ +From bb5d77c89eb0f98e7a76b7cdf14cfe9e79d387fa Mon Sep 17 00:00:00 2001 +From: Richard Hughes +Date: Mon, 25 Nov 2019 11:49:06 +0000 +Subject: [PATCH] command-not-found: Don't use a bash regex to fix other shells + +--- + contrib/command-not-found/PackageKit.sh.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/contrib/command-not-found/PackageKit.sh.in b/contrib/command-not-found/PackageKit.sh.in +index ea90981f7..1e1fcdffd 100644 +--- a/contrib/command-not-found/PackageKit.sh.in ++++ b/contrib/command-not-found/PackageKit.sh.in +@@ -11,7 +11,7 @@ command_not_found_handle () { + local retval=127 + + # only search for the command if we're interactive +- [[ $- =~ i ]] || runcnf=0 ++ [[ $- == *"i"* ]] || runcnf=0 + + # don't run if DBus isn't running + [[ ! -S /run/dbus/system_bus_socket ]] && runcnf=0 +-- +2.23.0 + diff --git a/SOURCES/0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch b/SOURCES/0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch new file mode 100644 index 0000000..b54b22a --- /dev/null +++ b/SOURCES/0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch @@ -0,0 +1,45 @@ +From be075445cafd370abf1ad3e6e85f2baebef056cb Mon Sep 17 00:00:00 2001 +From: Kalev Lember +Date: Wed, 30 Jan 2019 15:37:21 +0100 +Subject: [PATCH] dnf: Don't override DnfContext's release_ver for the running + system + +Only override release_ver for the system upgrade DnfContext and leave it +at the default value for the default context. This makes +dnf_context_setup() automatically figure out the release_ver based on +the running system: it looks at various provides in rpmdb and finally +falls back to VERSION_ID from /etc/os-release. + +The goal here is to make it possible to adjust the value that gets +passed to librepo by changing system-release(releasever) provides in +fedora-release (which DnfContext correctly handles if we leave the +release_ver set to the default value). + +https://pagure.io/releng/issue/7445 +--- + backends/dnf/pk-backend-dnf.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/backends/dnf/pk-backend-dnf.c b/backends/dnf/pk-backend-dnf.c +index 47e565915..779896c2d 100644 +--- a/backends/dnf/pk-backend-dnf.c ++++ b/backends/dnf/pk-backend-dnf.c +@@ -156,7 +156,6 @@ pk_backend_setup_dnf_context (DnfContext *context, GKeyFile *conf, const gchar * + dnf_context_set_repo_dir (context, repo_dir); + lock_dir = g_build_filename (destdir, "/var/run", NULL); + dnf_context_set_lock_dir (context, lock_dir); +- dnf_context_set_release_ver (context, release_ver); + dnf_context_set_rpm_verbosity (context, "info"); + + /* use this initial data if repos are not present */ +@@ -3401,6 +3400,7 @@ pk_backend_upgrade_system_thread (PkBackendJob *job, GVariant *params, gpointer + g_autoptr(DnfContext) context = NULL; + + context = dnf_context_new (); ++ dnf_context_set_release_ver (context, release_ver); + ret = pk_backend_setup_dnf_context (context, priv->conf, release_ver, &error); + if (!ret) { + g_debug ("failed to setup context: %s", error->message); +-- +2.21.0 + diff --git a/SOURCES/0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch b/SOURCES/0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch new file mode 100644 index 0000000..794c8e0 --- /dev/null +++ b/SOURCES/0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch @@ -0,0 +1,38 @@ +From cdbd27d699b51e37c533d07abd2f1ab26e11355c Mon Sep 17 00:00:00 2001 +From: Kalev Lember +Date: Tue, 18 Dec 2018 01:02:27 +0100 +Subject: [PATCH] dnf: Invalidate the sack cache after downloading new metadata + +This fixes first resolve() after refresh() to correctly return the new +data. + +https://bugzilla.redhat.com/show_bug.cgi?id=1642878 +--- + backends/dnf/pk-backend-dnf.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/backends/dnf/pk-backend-dnf.c b/backends/dnf/pk-backend-dnf.c +index 5961f1258..47e565915 100644 +--- a/backends/dnf/pk-backend-dnf.c ++++ b/backends/dnf/pk-backend-dnf.c +@@ -1568,6 +1568,7 @@ pk_backend_refresh_cache_thread (PkBackendJob *job, + gpointer user_data) + { + PkBackendDnfJobData *job_data = pk_backend_job_get_user_data (job); ++ PkBackend *backend = pk_backend_job_get_backend (job); + DnfRepo *repo; + DnfState *state_local; + DnfState *state_loop; +@@ -1699,6 +1700,9 @@ pk_backend_refresh_cache_thread (PkBackendJob *job, + return; + } + ++ /* invalidate the sack cache after downloading new metadata */ ++ pk_backend_sack_cache_invalidate (backend, "downloaded new metadata"); ++ + /* regenerate the libsolv metadata */ + state_local = dnf_state_get_child (job_data->state); + sack = dnf_utils_create_sack_for_filters (job, 0, +-- +2.19.1 + diff --git a/SOURCES/revert-shutdown-on-idle.patch b/SOURCES/revert-shutdown-on-idle.patch new file mode 100644 index 0000000..602f64d --- /dev/null +++ b/SOURCES/revert-shutdown-on-idle.patch @@ -0,0 +1,41 @@ +From c9c13747e575fe2ce398cec200284d0318aaece3 Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro +Date: Wed, 29 Apr 2020 13:44:41 -0500 +Subject: [PATCH] Revert "Shutdown the daemon on idle by default" + +This reverts commit 0c84d71509e851db20445c747529bd7d3724f081. + +This broke the end session dialog in GNOME Shell. + +I thought I had that fixed by changing GNOME Shell to autostart +PackageKit when it is not already running: + +https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1104 + +But turns out, there are more problems. The update fails if the user has +used dnf since PackageKit last quit, a scenario I did not test. It also +results in GNOME Software getting confused about what software is +installed and what software is not. The issues are discussed here: + +https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1227#note_784327 + +It's still desirable to shut down automatically, but it requires more +planning. And shutting down GNOME Software itself is frankly more +important, since it uses a lot more RAM than packagekitd. +--- + src/pk-main.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/pk-main.c b/src/pk-main.c +index 7a0bbd199..5791c5fef 100644 +--- a/src/pk-main.c ++++ b/src/pk-main.c +@@ -178,8 +178,6 @@ main (int argc, char *argv[]) + + /* after how long do we timeout? */ + exit_idle_time = g_key_file_get_integer (conf, "Daemon", "ShutdownTimeout", NULL); +- if (exit_idle_time == 0) +- exit_idle_time = 300; + g_debug ("daemon shutdown set to %i seconds", exit_idle_time); + + /* override the backend name */ diff --git a/SOURCES/rhel-Vendor.conf.patch b/SOURCES/rhel-Vendor.conf.patch new file mode 100644 index 0000000..5eaec51 --- /dev/null +++ b/SOURCES/rhel-Vendor.conf.patch @@ -0,0 +1,45 @@ +diff -urNp PackageKit-0.8.14.old/etc/Vendor.conf PackageKit-0.8.14/etc/Vendor.conf +--- PackageKit-0.8.14.old/etc/Vendor.conf 2013-12-02 15:14:19.644838900 +0000 ++++ PackageKit-0.8.14/etc/Vendor.conf 2013-12-02 15:15:26.956925038 +0000 +@@ -12,7 +12,7 @@ + # If the value is set to 'none' then no link is shown. + # + # default=http://www.packagekit.org/pk-package-not-found.html +-DefaultUrl=http://www.packagekit.org/pk-package-not-found.html ++DefaultUrl=https://access.redhat.com/site/solutions/537113#Missing_Package + + # The URL which is shown to the user when a codec could not be found. + # It should explain why certain codecs cannot be used, and perhaps show +@@ -21,7 +21,7 @@ DefaultUrl=http://www.packagekit.org/pk- + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-CodecUrl=none ++CodecUrl=https://access.redhat.com/site/solutions/537113#Missing_Codec + + # The URL which is shown to the user when hardware drivers could not be found. + # It should explain why some hardware is not supported, and links to futher +@@ -30,7 +30,7 @@ CodecUrl=none + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-HardwareUrl=none ++HardwareUrl=https://access.redhat.com/site/solutions/537113#Missing_Driver + + # The URL which is shown to the user when fonts could not be found. + # Alternatives should probably be suggested where possible. +@@ -38,7 +38,7 @@ HardwareUrl=none + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-FontUrl=none ++FontUrl=https://access.redhat.com/site/solutions/537113#Missing_Font + + # The URL which is shown to the user when programs handing a mime tpye could not + # be found. It should probably explain how to use wine if the program is a +@@ -47,4 +47,4 @@ FontUrl=none + # If the value is set to 'none' then the value of DefaultUrl is used. + # + # default=none +-MimeUrl=none ++MimeUrl=https://access.redhat.com/site/solutions/537113#Missing_MIME_Support diff --git a/SPECS/PackageKit.spec b/SPECS/PackageKit.spec new file mode 100644 index 0000000..c37d59c --- /dev/null +++ b/SPECS/PackageKit.spec @@ -0,0 +1,644 @@ +%global _changelog_trimtime %(date +%s -d "1 year ago") + +%global gitdate 20161221 +%global bundled_libdnf 0 + +%global glib2_version 2.54.0 +%global libdnf_version 0.22.0 + +%if 0%{?bundled_libdnf} +%global commit1 fe5a08bca7e2599798af7778917da2cc31f1460e +%global shortcommit1 %(c=%{commit1}; echo ${c:0:7}) +%endif + +Summary: Package management service +Name: PackageKit +Version: 1.1.12 +Release: 6%{?dist} +License: GPLv2+ and LGPLv2+ +URL: http://www.freedesktop.org/software/PackageKit/ +Source0: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz + +%if 0%{?bundled_libdnf} +# https://github.com/rpm-software-management/libdnf +# Bundled because the library is API/ABI unstable, and we're trying to +# avoid being version locked with rpm-ostree/dnf right now. +Source1: https://github.com/rpm-software-management/libdnf/archive/%{commit1}/libdnf-%{shortcommit1}.tar.gz +Provides: bundled(libdnf) = 0.7.0 +%endif + +# RHEL-specific: set Vendor.conf up for RHEL. +Patch0: rhel-Vendor.conf.patch + +# Backported from upstream +Patch1: 0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch +Patch2: 0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch +Patch3: 0001-command-not-found-Don-t-use-a-bash-regex-to-fix-othe.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1814820 +Patch4: revert-shutdown-on-idle.patch + +BuildRequires: glib2-devel >= %{glib2_version} +BuildRequires: xmlto +BuildRequires: gtk-doc +BuildRequires: sqlite-devel +BuildRequires: polkit-devel >= 0.92 +BuildRequires: libtool +BuildRequires: gtk2-devel +BuildRequires: gtk3-devel +BuildRequires: docbook-utils +BuildRequires: yelp-tools +BuildRequires: intltool +BuildRequires: gettext +BuildRequires: vala-tools +BuildRequires: gstreamer1-devel +BuildRequires: gstreamer1-plugins-base-devel +BuildRequires: pango-devel +BuildRequires: fontconfig-devel +BuildRequires: libappstream-glib-devel +%if 0%{?bundled_libdnf} +BuildRequires: check-devel +BuildRequires: cmake +BuildRequires: librepo-devel +BuildRequires: libsolv-devel +BuildRequires: python2-devel +BuildRequires: python2-nose +BuildRequires: python2-sphinx +BuildRequires: rpm-devel +%else +BuildRequires: libdnf-devel >= %{libdnf_version} +%endif +BuildRequires: systemd-devel +BuildRequires: gobject-introspection-devel +BuildRequires: bash-completion +BuildRequires: python3-devel + +%if 0%{?bundled_libdnf} +# Filter private libraries +%global __provides_exclude ^libdnf[.]so[.].*$ +%global __requires_exclude ^libdnf[.]so[.].*$ +%endif + +Requires: %{name}-glib%{?_isa} = %{version}-%{release} +Requires: glib2%{?_isa} >= %{glib2_version} +%if ! 0%{?bundled_libdnf} +Requires: libdnf%{?_isa} >= %{libdnf_version} +%endif +Requires: shared-mime-info +Requires: systemd + +# functionality moved to udev itself +Obsoletes: PackageKit-udev-helper < %{version}-%{release} +Obsoletes: udev-packagekit < %{version}-%{release} + +# No more GTK+-2 plugin +Obsoletes: PackageKit-gtk-module < %{version}-%{release} + +# No more zif, smart or yum in Fedora +Obsoletes: PackageKit-smart < %{version}-%{release} +Obsoletes: PackageKit-yum < 0.9.1 +Obsoletes: PackageKit-yum-plugin < 0.9.1 +Obsoletes: PackageKit-zif < 0.8.13-2 + +# Removed in F23 +Obsoletes: PackageKit-cached-metadata < 1.0.10-2 + +# Removed in F24 +Obsoletes: PackageKit-browser-plugin < 1.0.11-3 + +# components now built-in +Obsoletes: PackageKit-debug-install < 0.9.1 +Obsoletes: PackageKit-hawkey < 0.9.1 +Obsoletes: PackageKit-backend-devel < 0.9.6 + +# Udev no longer provides this functionality +Obsoletes: PackageKit-device-rebind < 0.8.13-2 + +# remove F22 +Provides: PackageKit-debug-install = %{version}-%{release} +Provides: PackageKit-device-rebind = %{version}-%{release} +Provides: PackageKit-hawkey = %{version}-%{release} +Provides: PackageKit-yum = %{version}-%{release} +Provides: PackageKit-yum-plugin = %{version}-%{release} +Provides: PackageKit-zif = %{version}-%{release} + +%description +PackageKit is a D-Bus abstraction layer that allows the session user +to manage packages in a secure way using a cross-distro, +cross-architecture API. + +%package glib +Summary: GLib libraries for accessing PackageKit +Requires: dbus >= 1.1.1 +Requires: gobject-introspection +Obsoletes: PackageKit-libs < %{version}-%{release} +Provides: PackageKit-libs = %{version}-%{release} + +%description glib +GLib libraries for accessing PackageKit. + +%package cron +Summary: Cron job and related utilities for PackageKit +Requires: crontabs +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description cron +Crontab and utilities for running PackageKit as a cron job. + +%package glib-devel +Summary: GLib Libraries and headers for PackageKit +Requires: %{name}-glib%{?_isa} = %{version}-%{release} +Requires: dbus-devel%{?_isa} >= 1.1.1 +Requires: sqlite-devel%{?_isa} +Obsoletes: PackageKit-devel < %{version}-%{release} +Provides: PackageKit-devel = %{version}-%{release} +Obsoletes: PackageKit-docs < %{version}-%{release} +Provides: PackageKit-docs = %{version}-%{release} + +%description glib-devel +GLib headers and libraries for PackageKit. + +%package gstreamer-plugin +Summary: Install GStreamer codecs using PackageKit +Requires: %{name}-glib%{?_isa} = %{version}-%{release} +Obsoletes: codeina < 0.10.1-10 +Provides: codeina = 0.10.1-10 + +%description gstreamer-plugin +The PackageKit GStreamer plugin allows any Gstreamer application to install +codecs from configured repositories using PackageKit. + +%package gtk3-module +Summary: Install fonts automatically using PackageKit +Requires: pango +Requires: %{name}-glib%{?_isa} = %{version}-%{release} + +%description gtk3-module +The PackageKit GTK3+ module allows any Pango application to install +fonts from configured repositories using PackageKit. + +%package command-not-found +Summary: Ask the user to install command line programs automatically +Requires: bash +Requires: %{name} = %{version}-%{release} +Requires: %{name}-glib%{?_isa} = %{version}-%{release} + +%description command-not-found +A simple helper that offers to install new packages on the command line +using PackageKit. + +%prep +%autosetup -p1 + +%if 0%{?bundled_libdnf} +# Extract libdnf archive +tar -xf %{S:1} +%endif + +%build +%if 0%{?bundled_libdnf} +mkdir -p libdnf-%{commit1}/build +pushd libdnf-%{commit1}/build +%cmake \ + -DCMAKE_BUILD_TYPE=Release \ + .. +%make_build +popd + +export DNF_CFLAGS="-I`pwd`/libdnf-%{commit1} `pkg-config --cflags appstream-glib`" +export DNF_LIBS="-L`pwd`/libdnf-%{commit1}/build/libdnf -ldnf -Wl,-rpath=%{_libdir}/PackageKit `pkg-config --libs appstream-glib`" +%endif +%configure \ + --disable-static \ + --enable-dnf \ + --enable-introspection \ + --enable-bash-completion \ + --disable-local \ + --disable-silent-rules + +make %{?_smp_mflags} V=1 + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +%if 0%{?bundled_libdnf} +# Install libdnf to a temporary prefix +make install DESTDIR=`pwd`/libdnf-install -C libdnf-%{commit1}/build +# Cherry pick the shared library +mkdir -p $RPM_BUILD_ROOT%{_libdir}/PackageKit +cp -a libdnf-install%{_libdir}/libdnf*.so.* $RPM_BUILD_ROOT%{_libdir}/PackageKit +%endif + +rm -f $RPM_BUILD_ROOT%{_libdir}/libpackagekit*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/packagekit-plugin.la +rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/modules/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/libpackagekit-action-lookup.la + +# Create directories for downloaded appstream data +mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/app-info/{icons,xmls} + +touch $RPM_BUILD_ROOT%{_localstatedir}/cache/PackageKit/groups.sqlite + +# create a link that GStreamer will recognise +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 +# Remove leftover symlinks from /etc/systemd; the offline update service is +# instead now hooked into /usr/lib/systemd/system/system-update.target.wants +systemctl disable packagekit-offline-update.service > /dev/null 2>&1 || : + +%files -f %{name}.lang +%license COPYING +%doc README AUTHORS NEWS +%dir %{_datadir}/PackageKit +%dir %{_datadir}/PackageKit/helpers +%dir %{_sysconfdir}/PackageKit +%dir %{_localstatedir}/lib/PackageKit +%dir %{_localstatedir}/cache/app-info +%dir %{_localstatedir}/cache/app-info/icons +%dir %{_localstatedir}/cache/app-info/xmls +%dir %{_localstatedir}/cache/PackageKit +%ghost %verify(not md5 size mtime) %{_localstatedir}/cache/PackageKit/groups.sqlite +%{_datadir}/bash-completion/completions/pkcon +%dir %{_libdir}/packagekit-backend +%config(noreplace) %{_sysconfdir}/PackageKit/PackageKit.conf +%config(noreplace) %{_sysconfdir}/PackageKit/Vendor.conf +%config %{_sysconfdir}/dbus-1/system.d/* +%dir %{_datadir}/PackageKit/helpers/test_spawn +%{_datadir}/PackageKit/icons +%{_datadir}/PackageKit/helpers/test_spawn/* +%{_datadir}/man/man1/pkcon.1.gz +%{_datadir}/man/man1/pkmon.1.gz +%{_datadir}/polkit-1/actions/*.policy +%{_datadir}/polkit-1/rules.d/* +%{_datadir}/PackageKit/pk-upgrade-distro.sh +%{_libexecdir}/packagekitd +%{_libexecdir}/packagekit-direct +%{_bindir}/pkmon +%{_bindir}/pkcon +%exclude %{_libdir}/libpackagekit*.so.* +%{_libdir}/packagekit-backend/libpk_backend_dummy.so +%{_libdir}/packagekit-backend/libpk_backend_test_*.so +%if 0%{?bundled_libdnf} +%{_libdir}/PackageKit/ +%endif +%ghost %verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db +%{_datadir}/dbus-1/system-services/*.service +%{_datadir}/dbus-1/interfaces/*.xml +%{_unitdir}/packagekit-offline-update.service +%{_unitdir}/packagekit.service +%{_unitdir}/system-update.target.wants/ +%{_libexecdir}/pk-*offline-update +%{_libdir}/packagekit-backend/libpk_backend_dnf.so + +%files glib +%{_libdir}/*packagekit-glib2.so.* +%{_libdir}/girepository-1.0/PackageKitGlib-1.0.typelib + +%files cron +%config %{_sysconfdir}/cron.daily/packagekit-background.cron +%config(noreplace) %{_sysconfdir}/sysconfig/packagekit-background + +%files gstreamer-plugin +%{_libexecdir}/pk-gstreamer-install +%{_libexecdir}/gst-install-plugins-helper + +%files gtk3-module +%{_libdir}/gtk-2.0/modules/*.so +%{_libdir}/gtk-3.0/modules/*.so +%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/*.desktop + +%files command-not-found +%{_sysconfdir}/profile.d/* +%{_libexecdir}/pk-command-not-found +%config(noreplace) %{_sysconfdir}/PackageKit/CommandNotFound.conf + +%files glib-devel +%{_libdir}/libpackagekit-glib2.so +%{_libdir}/pkgconfig/packagekit-glib2.pc +%dir %{_includedir}/PackageKit +%dir %{_includedir}/PackageKit/packagekit-glib2 +%{_includedir}/PackageKit/packagekit-glib*/*.h +%{_datadir}/gir-1.0/PackageKitGlib-1.0.gir +%{_datadir}/gtk-doc/html/PackageKit +%{_datadir}/vala/vapi/packagekit-glib2.vapi + +%changelog +* Fri May 22 2020 Michael Catanzaro - 1.1.12-6 +- Fix documentation links in Vendor.conf +- Resolves: #1837648 + +* Tue May 19 2020 Michael Catanzaro - 1.1.12-5 +- Do not shutdown the daemon on idle +- Resolves: #1814820 + +* Mon Nov 25 2019 Richard Hughes - 1.1.12-4 +- Do not use a bash regex to fix CNF on shells other than bash +- Resolves: #1728855 + +* Wed May 29 2019 Kalev Lember - 1.1.12-3 +- Backport a patch to improve release_ver handling (#1714439) + +* Tue Dec 18 2018 Kalev Lember - 1.1.12-2 +- Invalidate the sack cache after downloading new metadata + +* Wed Nov 28 2018 Kalev Lember - 1.1.12-1 +- Update to 1.1.12 + +* Wed Oct 24 2018 Richard Hughes - 1.1.10-6 +- Backport a patch to fix modularity. +- Resolves: #1641091 + +* Tue Oct 09 2018 Richard Hughes - 1.1.10-5 +- Backport a patch to poke subscription manager when required +- Resolves: #1633244 + +* Thu Jul 12 2018 Richard Hughes - 1.1.10-4 +- Enable the DNF backend + +* Wed Jul 11 2018 Charalampos Stratakis - 1.1.10-3 +- Replace gnome-doc-utils with yelp-tools for the docs + +* Thu Jun 14 2018 Richard Hughes - 1.1.10-2 +- Don't depend on a dead package for gnome-packagekit + +* Mon Apr 23 2018 Richard Hughes - 1.1.10-1 +- New upstream release +- This release fixes CVE-2018-1106 which is a moderate security issue. + +* Tue Mar 27 2018 Kalev Lember - 1.1.9-4 +- Remove ldconfig scriptlets + +* Thu Mar 22 2018 Kalev Lember - 1.1.9-3 +- Create /var/cache/app-info/{icons,xmls} directories + +* Mon Mar 12 2018 Kalev Lember - 1.1.9-2 +- Don't abort on daemon startup for invalid .repo files + +* Mon Mar 05 2018 Kalev Lember - 1.1.9-1 +- Update to 1.1.9 + +* Wed Feb 07 2018 Fedora Release Engineering - 1.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Jan 09 2018 Kalev Lember - 1.1.8-1 +- Update to 1.1.8 + +* Mon Sep 11 2017 Richard Hughes - 1.1.7-1 +- New upstream release +- Add fedora-cisco-openh264 repos to supported repos list +- Add missing context pushes and pops in appstream-glib +- Add the ability to install updates on reboot in PackageKit-cron +- Effectively check for previous proxy entries +- Fix an inverted condition that led to frequent crashes +- Show a different progress message for system upgrades + +* Fri Aug 11 2017 Igor Gnatenko - 1.1.6-7 +- Rebuilt after RPM update (№ 3) + +* Thu Aug 10 2017 Igor Gnatenko - 1.1.6-6 +- Rebuilt for RPM soname bump + +* Thu Aug 10 2017 Igor Gnatenko - 1.1.6-5 +- Rebuilt for RPM soname bump + +* Wed Aug 02 2017 Fedora Release Engineering - 1.1.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.1.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jun 15 2017 Richard Hughes - 1.1.6-2 +- Fix a crash when refreshing the metadata cache +- Resolves: #1460825 + +* Wed Jun 07 2017 Richard Hughes - 1.1.6-1 +- New upstream release +- Ensure AppStream is deployed when the repo is updated + +* Fri Mar 24 2017 Kalev Lember - 1.1.5-4 +- Fix the offline updater to work with latest systemd (#1430920) + +* Fri Mar 17 2017 Kalev Lember - 1.1.5-3 +- Build with system libdnf + +* Fri Feb 10 2017 Fedora Release Engineering - 1.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jan 17 2017 Kalev Lember - 1.1.5-1 +- Update to 1.1.5 +- Update to latest libdnf git snapshot (#1398429) + +* Wed Dec 21 2016 Kalev Lember - 1.1.5-0.1.20161221 +- Update to latest git snapshot + +* Mon Dec 19 2016 Kalev Lember - 1.1.4-3 +- Adapt for libhif->libdnf git repo rename + +* Fri Dec 16 2016 Kalev Lember - 1.1.4-2 +- Update to latest libdnf git snapshot (#1383819) + +* Mon Sep 19 2016 Richard Hughes - 1.1.4-1 +- New upstream release +- Change the configuration of the cron script to a sysconfig-like config +- Don't crash when emitting PropertiesChanged for NULL values +- Fix several small memory leaks +- Look for command-not-found dbus socket in /run instead of /var/run +- Use GetFilesLocal in pkcon get-files if argument is a file + +* Thu Sep 08 2016 Kalev Lember - 1.1.4-0.4.20160901 +- Update to latest libdnf git snapshot (#1344643) + +* Thu Sep 01 2016 Kalev Lember - 1.1.4-0.3.20160901 +- Update to latest git snapshot + +* Wed Aug 31 2016 Kalev Lember - 1.1.4-0.2.20160825 +- Update to latest git snapshot + +* Fri Aug 05 2016 Kalev Lember - 1.1.4-0.1.20160805 +- Update to today's git snapshot +- Switch to new libdnf based backend + +* Wed Jul 27 2016 Kalev Lember - 1.1.3-2 +- engine: Don't crash when emitting PropertiesChanged for NULL values + (#1359479) + +* Thu Jul 14 2016 Kalev Lember - 1.1.3-1 +- Update to 1.1.3 + +* Tue Jul 12 2016 Kalev Lember - 1.1.2-1 +- Update to 1.1.2 +- Set minimum required glib2 and libhif versions + +* Tue Jun 07 2016 Kalev Lember - 1.1.1-3 +- Match unavailable packages for the what-provides query + +* Sat May 28 2016 Kalev Lember - 1.1.1-2 +- Require admin authorisation to trigger a distro upgrade (#1335458) + +* Wed Apr 20 2016 Richard Hughes - 1.1.1-1 +- New upstream release +- Add TriggerUpgrade DBus method handling +- Emit UpdatesChanges when installing packages +- Fix GIR annotations for progress callbacks +- Increase the number of packages that can be resolved +- Point offline update/upgrade trigger to the prepared update +- Set ALLOW_DOWNGRADE flag for all transactions + +* Fri Feb 12 2016 Richard Hughes - 1.1.0-1 +- New upstream release +- Add support for UpgradeSystem +- Correctly store file descriptor from logind +- Do not crash on GetPrepared when there are no offline updates +- Do not crash on transaction database corruption +- Do not crash when parsing a very broken transaction log +- Port to g_autoptr() +- Relax validation performed on input strings passed to backends +- Remove the PackageKit browser plugin +- Use the GLib network monitoring support + +* Wed Feb 03 2016 Fedora Release Engineering - 1.0.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Nov 27 2015 Richard Hughes - 1.0.11-1 +- Add support for HTTP proxy +- Allow the use of variadic functions in vala +- By popular demand, reintroduce the UpgradeSystem method +- Improve RefreshCache progress updates +- New upstream release + +* Mon Oct 19 2015 Kalev Lember - 1.0.10-2 +- Remove PackageKit-cached-metadata subpackage + +* Mon Sep 21 2015 Richard Hughes - 1.0.10-1 +- Update to 1.0.10 to fix a couple of bugs in the offline updater + +* Tue Sep 15 2015 Richard Hughes - 1.0.9-1 +- New upstream release +- Check the offline action trigger before performing the update +- Fix a race with the backend job thread creation + +* Sat Sep 05 2015 Kalev Lember - 1.0.8-3 +- Rebuilt for librpm soname bump + +* Thu Aug 20 2015 Kalev Lember - 1.0.8-2 +- Revert "Correctly register enum properties" as this broke offline updates + +* Wed Aug 19 2015 Richard Hughes - 1.0.8-1 +- New upstream release +- Exit quietly if we didn't prepare the offline update +- Record the UID of the session user in the yumdb + +* Fri Aug 14 2015 Kalev Lember - 1.0.7-3 +- Rebuild for new libappstream-glib + +* Sun Jul 26 2015 Kevin Fenzi 1.0.7-2 +- Rebuild for new librpm + +* Mon Jul 13 2015 Richard Hughes - 1.0.7-1 +- New upstream release +- Correct punctuation while applying offline updates +- Define command_not_found_handler for zsh +- Port GTK+ module to org.freedesktop.PackageKit.Modify2 +- Return the correct return codes for syntax errors + +* Tue Jun 16 2015 Fedora Release Engineering - 1.0.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jun 08 2015 Kalev Lember - 1.0.6-6 +- Actually apply the patches + +* Mon Jun 08 2015 Kalev Lember - 1.0.6-5 +- Backport a few more upstream patches: +- Add missing locking when accessing sack cache (#1146734) +- Improve parallel kernel installation (#1205649) + +* Wed May 20 2015 Kalev Lember - 1.0.6-4 +- Update cached metadata in preparation for F22 release + +* Fri May 15 2015 Kalev Lember - 1.0.6-3 +- Revert a commit that inadvertantly changed the default value for the + TriggerAction DBus property + +* Mon May 11 2015 Kalev Lember - 1.0.6-2 +- Update cached metadata + +* Tue Apr 07 2015 Richard Hughes - 1.0.6-1 +- New upstream release +- Add dbus method for returning prepared packages +- Don't recursive lock the debug mutex when using --verbose without a tty +- Make "reboot" the default action for no action file + +* Sat Mar 28 2015 Kalev Lember - 1.0.5-2 +- Backport a crash fix from upstream (#1185544) +- Update cached metadata +- Use license macro for the COPYING file + +* Sat Feb 21 2015 Kalev Lember - 1.0.5-1 +- Update to 1.0.5 +- Backport new missing gstreamer codecs API + +* Fri Feb 06 2015 Richard Hughes - 1.0.4-2 +- Adapt to the new hawkey API. + +* Mon Jan 19 2015 Richard Hughes - 1.0.4-1 +- New upstream release +- Actually inhibit logind when the transaction can't be cancelled +- Add 'quit' command to pkcon +- Automatically import metadata public keys when safe to do so +- Automatically install AppStream metadata +- Do not attempt to run command-not-found for anything prefixed with '.' +- Don't use PkBackendSpawn helpers in compiled backends +- Fix a hard-to-debug crash when cancelling a task that has never been run +- Look for unavailable packages during resolve +- Make pk_backend_job_call_vfunc() threadsafe +- Make pk_backend_repo_list_changed() threadsafe +- Return 'unavailable' packages for metadata-only repos +- Use a thread-local HifTransaction to avoid db3 index corruption + +* Mon Nov 17 2014 Kalev Lember - 1.0.3-2 +- Update cached metadata in preparation for F21 release + +* Mon Nov 10 2014 Richard Hughes - 1.0.3-1 +- New upstream release +- Add support for reinstallation and downgrades +- Be smarter when using the vendor cache + +* Tue Oct 21 2014 Richard Hughes - 1.0.1-1 +- New upstream release +- Add a KeepCache config parameter +- Do not install the python helpers +- Invalidate offline updates when the rpmdb changes +- Never allow cancelling a transaction twice + +* Wed Oct 15 2014 Kalev Lember - 1.0.1-0.1.20141015 +- Update to today's git snapshot + +* Tue Sep 16 2014 Richard Hughes - 1.0.0-2 +- Add a new subpackage designed for the workstation spin. +- See http://blogs.gnome.org/hughsie/2014/08/29/ for details. + +* Fri Sep 12 2014 Richard Hughes - 1.0.0-1 +- New upstream release +- Add a D-Bus interface and helpers for offline support +- Do not shutdown the daemon on idle by default +- Refresh the NetworkManager state when the daemon starts +- Remove pk-debuginfo-install +- Remove the events/pre-transaction.d functionality +- Remove the pkexec systemd helpers +- Remove the plugin interface +- Remove various options from the config file