ngompa / rpms / PackageKit

Forked from rpms/PackageKit 4 years ago
Clone

Blame SPECS/PackageKit.spec

fdc9ea
%global _changelog_trimtime %(date +%s -d "1 year ago")
fdc9ea
fdc9ea
%global gitdate 20161221
fdc9ea
%global bundled_libdnf 0
fdc9ea
fdc9ea
%global glib2_version 2.54.0
fdc9ea
%global libdnf_version 0.22.0
fdc9ea
fdc9ea
%if 0%{?bundled_libdnf}
fdc9ea
%global commit1 fe5a08bca7e2599798af7778917da2cc31f1460e
fdc9ea
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
fdc9ea
%endif
fdc9ea
fdc9ea
Summary:   Package management service
fdc9ea
Name:      PackageKit
fdc9ea
Version:   1.1.12
065ece
Release:   3%{?dist}
fdc9ea
License:   GPLv2+ and LGPLv2+
fdc9ea
URL:       http://www.freedesktop.org/software/PackageKit/
fdc9ea
Source0:   http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz
fdc9ea
fdc9ea
%if 0%{?bundled_libdnf}
fdc9ea
# https://github.com/rpm-software-management/libdnf
fdc9ea
# Bundled because the library is API/ABI unstable, and we're trying to
fdc9ea
# avoid being version locked with rpm-ostree/dnf right now.
fdc9ea
Source1: https://github.com/rpm-software-management/libdnf/archive/%{commit1}/libdnf-%{shortcommit1}.tar.gz
fdc9ea
Provides: bundled(libdnf) = 0.7.0
fdc9ea
%endif
fdc9ea
fdc9ea
# Fedora-specific: set Vendor.conf up for Fedora.
fdc9ea
Patch0:    PackageKit-0.3.8-Fedora-Vendor.conf.patch
fdc9ea
fdc9ea
# Backported from upstream
fdc9ea
Patch1:    0001-dnf-Invalidate-the-sack-cache-after-downloading-new-.patch
065ece
Patch2:    0001-dnf-Don-t-override-DnfContext-s-release_ver-for-the-.patch
fdc9ea
fdc9ea
BuildRequires: glib2-devel >= %{glib2_version}
fdc9ea
BuildRequires: xmlto
fdc9ea
BuildRequires: gtk-doc
fdc9ea
BuildRequires: sqlite-devel
fdc9ea
BuildRequires: polkit-devel >= 0.92
fdc9ea
BuildRequires: libtool
fdc9ea
BuildRequires: gtk2-devel
fdc9ea
BuildRequires: gtk3-devel
fdc9ea
BuildRequires: docbook-utils
fdc9ea
BuildRequires: yelp-tools
fdc9ea
BuildRequires: intltool
fdc9ea
BuildRequires: gettext
fdc9ea
BuildRequires: vala-tools
fdc9ea
BuildRequires: gstreamer1-devel
fdc9ea
BuildRequires: gstreamer1-plugins-base-devel
fdc9ea
BuildRequires: pango-devel
fdc9ea
BuildRequires: fontconfig-devel
fdc9ea
BuildRequires: libappstream-glib-devel
fdc9ea
%if 0%{?bundled_libdnf}
fdc9ea
BuildRequires: check-devel
fdc9ea
BuildRequires: cmake
fdc9ea
BuildRequires: librepo-devel
fdc9ea
BuildRequires: libsolv-devel
fdc9ea
BuildRequires: python2-devel
fdc9ea
BuildRequires: python2-nose
fdc9ea
BuildRequires: python2-sphinx
fdc9ea
BuildRequires: rpm-devel
fdc9ea
%else
fdc9ea
BuildRequires: libdnf-devel >= %{libdnf_version}
fdc9ea
%endif
fdc9ea
BuildRequires: systemd-devel
fdc9ea
BuildRequires: gobject-introspection-devel
fdc9ea
BuildRequires: bash-completion
fdc9ea
BuildRequires: python3-devel
fdc9ea
fdc9ea
%if 0%{?bundled_libdnf}
fdc9ea
# Filter private libraries
fdc9ea
%global __provides_exclude ^libdnf[.]so[.].*$
fdc9ea
%global __requires_exclude ^libdnf[.]so[.].*$
fdc9ea
%endif
fdc9ea
fdc9ea
Requires: %{name}-glib%{?_isa} = %{version}-%{release}
fdc9ea
Requires: glib2%{?_isa} >= %{glib2_version}
fdc9ea
%if ! 0%{?bundled_libdnf}
fdc9ea
Requires: libdnf%{?_isa} >= %{libdnf_version}
fdc9ea
%endif
fdc9ea
Requires: shared-mime-info
fdc9ea
Requires: systemd
fdc9ea
fdc9ea
# functionality moved to udev itself
fdc9ea
Obsoletes: PackageKit-udev-helper < %{version}-%{release}
fdc9ea
Obsoletes: udev-packagekit < %{version}-%{release}
fdc9ea
fdc9ea
# No more GTK+-2 plugin
fdc9ea
Obsoletes: PackageKit-gtk-module < %{version}-%{release}
fdc9ea
fdc9ea
# No more zif, smart or yum in Fedora
fdc9ea
Obsoletes: PackageKit-smart < %{version}-%{release}
fdc9ea
Obsoletes: PackageKit-yum < 0.9.1
fdc9ea
Obsoletes: PackageKit-yum-plugin < 0.9.1
fdc9ea
Obsoletes: PackageKit-zif < 0.8.13-2
fdc9ea
fdc9ea
# Removed in F23
fdc9ea
Obsoletes: PackageKit-cached-metadata < 1.0.10-2
fdc9ea
fdc9ea
# Removed in F24
fdc9ea
Obsoletes: PackageKit-browser-plugin < 1.0.11-3
fdc9ea
fdc9ea
# components now built-in
fdc9ea
Obsoletes: PackageKit-debug-install < 0.9.1
fdc9ea
Obsoletes: PackageKit-hawkey < 0.9.1
fdc9ea
Obsoletes: PackageKit-backend-devel < 0.9.6
fdc9ea
fdc9ea
# Udev no longer provides this functionality
fdc9ea
Obsoletes: PackageKit-device-rebind < 0.8.13-2
fdc9ea
fdc9ea
# remove F22
fdc9ea
Provides: PackageKit-debug-install = %{version}-%{release}
fdc9ea
Provides: PackageKit-device-rebind = %{version}-%{release}
fdc9ea
Provides: PackageKit-hawkey = %{version}-%{release}
fdc9ea
Provides: PackageKit-yum = %{version}-%{release}
fdc9ea
Provides: PackageKit-yum-plugin = %{version}-%{release}
fdc9ea
Provides: PackageKit-zif = %{version}-%{release}
fdc9ea
fdc9ea
%description
fdc9ea
PackageKit is a D-Bus abstraction layer that allows the session user
fdc9ea
to manage packages in a secure way using a cross-distro,
fdc9ea
cross-architecture API.
fdc9ea
fdc9ea
%package glib
fdc9ea
Summary: GLib libraries for accessing PackageKit
fdc9ea
Requires: dbus >= 1.1.1
fdc9ea
Requires: gobject-introspection
fdc9ea
Obsoletes: PackageKit-libs < %{version}-%{release}
fdc9ea
Provides: PackageKit-libs = %{version}-%{release}
fdc9ea
fdc9ea
%description glib
fdc9ea
GLib libraries for accessing PackageKit.
fdc9ea
fdc9ea
%package cron
fdc9ea
Summary: Cron job and related utilities for PackageKit
fdc9ea
Requires: crontabs
fdc9ea
Requires: %{name}%{?_isa} = %{version}-%{release}
fdc9ea
fdc9ea
%description cron
fdc9ea
Crontab and utilities for running PackageKit as a cron job.
fdc9ea
fdc9ea
%package glib-devel
fdc9ea
Summary: GLib Libraries and headers for PackageKit
fdc9ea
Requires: %{name}-glib%{?_isa} = %{version}-%{release}
fdc9ea
Requires: dbus-devel%{?_isa} >= 1.1.1
fdc9ea
Requires: sqlite-devel%{?_isa}
fdc9ea
Obsoletes: PackageKit-devel < %{version}-%{release}
fdc9ea
Provides: PackageKit-devel = %{version}-%{release}
fdc9ea
Obsoletes: PackageKit-docs < %{version}-%{release}
fdc9ea
Provides: PackageKit-docs = %{version}-%{release}
fdc9ea
fdc9ea
%description glib-devel
fdc9ea
GLib headers and libraries for PackageKit.
fdc9ea
fdc9ea
%package gstreamer-plugin
fdc9ea
Summary: Install GStreamer codecs using PackageKit
fdc9ea
Requires: %{name}-glib%{?_isa} = %{version}-%{release}
fdc9ea
Obsoletes: codeina < 0.10.1-10
fdc9ea
Provides: codeina = 0.10.1-10
fdc9ea
fdc9ea
%description gstreamer-plugin
fdc9ea
The PackageKit GStreamer plugin allows any Gstreamer application to install
fdc9ea
codecs from configured repositories using PackageKit.
fdc9ea
fdc9ea
%package gtk3-module
fdc9ea
Summary: Install fonts automatically using PackageKit
fdc9ea
Requires: pango
fdc9ea
Requires: %{name}-glib%{?_isa} = %{version}-%{release}
fdc9ea
fdc9ea
%description gtk3-module
fdc9ea
The PackageKit GTK3+ module allows any Pango application to install
fdc9ea
fonts from configured repositories using PackageKit.
fdc9ea
fdc9ea
%package command-not-found
fdc9ea
Summary: Ask the user to install command line programs automatically
fdc9ea
Requires: bash
fdc9ea
Requires: %{name} = %{version}-%{release}
fdc9ea
Requires: %{name}-glib%{?_isa} = %{version}-%{release}
fdc9ea
fdc9ea
%description command-not-found
fdc9ea
A simple helper that offers to install new packages on the command line
fdc9ea
using PackageKit.
fdc9ea
fdc9ea
%prep
fdc9ea
%autosetup -p1
fdc9ea
fdc9ea
%if 0%{?bundled_libdnf}
fdc9ea
# Extract libdnf archive
fdc9ea
tar -xf %{S:1}
fdc9ea
%endif
fdc9ea
fdc9ea
%build
fdc9ea
%if 0%{?bundled_libdnf}
fdc9ea
mkdir -p libdnf-%{commit1}/build
fdc9ea
pushd libdnf-%{commit1}/build
fdc9ea
%cmake \
fdc9ea
  -DCMAKE_BUILD_TYPE=Release \
fdc9ea
  ..
fdc9ea
%make_build
fdc9ea
popd
fdc9ea
fdc9ea
export DNF_CFLAGS="-I`pwd`/libdnf-%{commit1} `pkg-config --cflags appstream-glib`"
fdc9ea
export DNF_LIBS="-L`pwd`/libdnf-%{commit1}/build/libdnf -ldnf -Wl,-rpath=%{_libdir}/PackageKit `pkg-config --libs appstream-glib`"
fdc9ea
%endif
fdc9ea
%configure \
fdc9ea
        --disable-static \
fdc9ea
        --enable-dnf \
fdc9ea
        --enable-introspection \
fdc9ea
        --enable-bash-completion \
fdc9ea
        --disable-local \
fdc9ea
        --disable-silent-rules
fdc9ea
fdc9ea
make %{?_smp_mflags} V=1
fdc9ea
fdc9ea
%install
fdc9ea
make install DESTDIR=$RPM_BUILD_ROOT
fdc9ea
fdc9ea
%if 0%{?bundled_libdnf}
fdc9ea
# Install libdnf to a temporary prefix
fdc9ea
make install DESTDIR=`pwd`/libdnf-install -C libdnf-%{commit1}/build
fdc9ea
# Cherry pick the shared library
fdc9ea
mkdir -p $RPM_BUILD_ROOT%{_libdir}/PackageKit
fdc9ea
cp -a libdnf-install%{_libdir}/libdnf*.so.* $RPM_BUILD_ROOT%{_libdir}/PackageKit
fdc9ea
%endif
fdc9ea
fdc9ea
rm -f $RPM_BUILD_ROOT%{_libdir}/libpackagekit*.la
fdc9ea
rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.la
fdc9ea
rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/packagekit-plugin.la
fdc9ea
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.la
fdc9ea
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/modules/*.la
fdc9ea
rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/libpackagekit-action-lookup.la
fdc9ea
fdc9ea
# Create directories for downloaded appstream data
fdc9ea
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/app-info/{icons,xmls}
fdc9ea
fdc9ea
touch $RPM_BUILD_ROOT%{_localstatedir}/cache/PackageKit/groups.sqlite
fdc9ea
fdc9ea
# create a link that GStreamer will recognise
fdc9ea
pushd ${RPM_BUILD_ROOT}%{_libexecdir} > /dev/null
fdc9ea
ln -s pk-gstreamer-install gst-install-plugins-helper
fdc9ea
popd > /dev/null
fdc9ea
fdc9ea
# create a link that from the comps icons to PK, as PackageKit frontends
fdc9ea
# cannot add /usr/share/pixmaps/comps to the icon search path as some distros
fdc9ea
# do not use comps. Patching this in the frontend is not a good idea, as there
fdc9ea
# are multiple frontends in multiple programming languages.
fdc9ea
pushd ${RPM_BUILD_ROOT}%{_datadir}/PackageKit > /dev/null
fdc9ea
ln -s ../pixmaps/comps icons
fdc9ea
popd > /dev/null
fdc9ea
fdc9ea
%find_lang %name
fdc9ea
fdc9ea
%post
fdc9ea
# Remove leftover symlinks from /etc/systemd; the offline update service is
fdc9ea
# instead now hooked into /usr/lib/systemd/system/system-update.target.wants
fdc9ea
systemctl disable packagekit-offline-update.service > /dev/null 2>&1 || :
fdc9ea
fdc9ea
%files -f %{name}.lang
fdc9ea
%license COPYING
fdc9ea
%doc README AUTHORS NEWS
fdc9ea
%dir %{_datadir}/PackageKit
fdc9ea
%dir %{_datadir}/PackageKit/helpers
fdc9ea
%dir %{_sysconfdir}/PackageKit
fdc9ea
%dir %{_localstatedir}/lib/PackageKit
fdc9ea
%dir %{_localstatedir}/cache/app-info
fdc9ea
%dir %{_localstatedir}/cache/app-info/icons
fdc9ea
%dir %{_localstatedir}/cache/app-info/xmls
fdc9ea
%dir %{_localstatedir}/cache/PackageKit
fdc9ea
%ghost %verify(not md5 size mtime) %{_localstatedir}/cache/PackageKit/groups.sqlite
fdc9ea
%{_datadir}/bash-completion/completions/pkcon
fdc9ea
%dir %{_libdir}/packagekit-backend
fdc9ea
%config(noreplace) %{_sysconfdir}/PackageKit/PackageKit.conf
fdc9ea
%config(noreplace) %{_sysconfdir}/PackageKit/Vendor.conf
fdc9ea
%config %{_sysconfdir}/dbus-1/system.d/*
fdc9ea
%dir %{_datadir}/PackageKit/helpers/test_spawn
fdc9ea
%{_datadir}/PackageKit/icons
fdc9ea
%{_datadir}/PackageKit/helpers/test_spawn/*
fdc9ea
%{_datadir}/man/man1/pkcon.1.gz
fdc9ea
%{_datadir}/man/man1/pkmon.1.gz
fdc9ea
%{_datadir}/polkit-1/actions/*.policy
fdc9ea
%{_datadir}/polkit-1/rules.d/*
fdc9ea
%{_datadir}/PackageKit/pk-upgrade-distro.sh
fdc9ea
%{_libexecdir}/packagekitd
fdc9ea
%{_libexecdir}/packagekit-direct
fdc9ea
%{_bindir}/pkmon
fdc9ea
%{_bindir}/pkcon
fdc9ea
%exclude %{_libdir}/libpackagekit*.so.*
fdc9ea
%{_libdir}/packagekit-backend/libpk_backend_dummy.so
fdc9ea
%{_libdir}/packagekit-backend/libpk_backend_test_*.so
fdc9ea
%if 0%{?bundled_libdnf}
fdc9ea
%{_libdir}/PackageKit/
fdc9ea
%endif
fdc9ea
%ghost %verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db
fdc9ea
%{_datadir}/dbus-1/system-services/*.service
fdc9ea
%{_datadir}/dbus-1/interfaces/*.xml
fdc9ea
%{_unitdir}/packagekit-offline-update.service
fdc9ea
%{_unitdir}/packagekit.service
fdc9ea
%{_unitdir}/system-update.target.wants/
fdc9ea
%{_libexecdir}/pk-*offline-update
fdc9ea
%{_libdir}/packagekit-backend/libpk_backend_dnf.so
fdc9ea
fdc9ea
%files glib
fdc9ea
%{_libdir}/*packagekit-glib2.so.*
fdc9ea
%{_libdir}/girepository-1.0/PackageKitGlib-1.0.typelib
fdc9ea
fdc9ea
%files cron
fdc9ea
%config %{_sysconfdir}/cron.daily/packagekit-background.cron
fdc9ea
%config(noreplace) %{_sysconfdir}/sysconfig/packagekit-background
fdc9ea
fdc9ea
%files gstreamer-plugin
fdc9ea
%{_libexecdir}/pk-gstreamer-install
fdc9ea
%{_libexecdir}/gst-install-plugins-helper
fdc9ea
fdc9ea
%files gtk3-module
fdc9ea
%{_libdir}/gtk-2.0/modules/*.so
fdc9ea
%{_libdir}/gtk-3.0/modules/*.so
fdc9ea
%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/*.desktop
fdc9ea
fdc9ea
%files command-not-found
fdc9ea
%{_sysconfdir}/profile.d/*
fdc9ea
%{_libexecdir}/pk-command-not-found
fdc9ea
%config(noreplace) %{_sysconfdir}/PackageKit/CommandNotFound.conf
fdc9ea
fdc9ea
%files glib-devel
fdc9ea
%{_libdir}/libpackagekit-glib2.so
fdc9ea
%{_libdir}/pkgconfig/packagekit-glib2.pc
fdc9ea
%dir %{_includedir}/PackageKit
fdc9ea
%dir %{_includedir}/PackageKit/packagekit-glib2
fdc9ea
%{_includedir}/PackageKit/packagekit-glib*/*.h
fdc9ea
%{_datadir}/gir-1.0/PackageKitGlib-1.0.gir
fdc9ea
%{_datadir}/gtk-doc/html/PackageKit
fdc9ea
%{_datadir}/vala/vapi/packagekit-glib2.vapi
fdc9ea
fdc9ea
%changelog
06cc2e
* Tue Nov 05 2019 CentOS Sources <bugs@centos.org> - 1.1.12-3.el8.centos
06cc2e
- Apply debranding changes
06cc2e
065ece
* Wed May 29 2019 Kalev Lember <klember@redhat.com> - 1.1.12-3
065ece
- Backport a patch to improve release_ver handling (#1714439)
72f04e
fdc9ea
* Tue Dec 18 2018 Kalev Lember <klember@redhat.com> - 1.1.12-2
fdc9ea
- Invalidate the sack cache after downloading new metadata
fdc9ea
fdc9ea
* Wed Nov 28 2018 Kalev Lember <klember@redhat.com> - 1.1.12-1
fdc9ea
- Update to 1.1.12
fdc9ea
fdc9ea
* Wed Oct 24 2018 Richard Hughes <rhughes@redhat.com> - 1.1.10-6
fdc9ea
- Backport a patch to fix modularity.
fdc9ea
- Resolves: #1641091
fdc9ea
fdc9ea
* Tue Oct 09 2018 Richard Hughes <rhughes@redhat.com> - 1.1.10-5
fdc9ea
- Backport a patch to poke subscription manager when required
fdc9ea
- Resolves: #1633244
fdc9ea
fdc9ea
* Thu Jul 12 2018 Richard Hughes <rhughes@redhat.com> - 1.1.10-4
fdc9ea
- Enable the DNF backend
fdc9ea
fdc9ea
* Wed Jul 11 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.1.10-3
fdc9ea
- Replace gnome-doc-utils with yelp-tools for the docs
fdc9ea
fdc9ea
* Thu Jun 14 2018 Richard Hughes <rhughes@redhat.com> - 1.1.10-2
fdc9ea
- Don't depend on a dead package for gnome-packagekit
fdc9ea
fdc9ea
* Mon Apr 23 2018 Richard Hughes <rhughes@redhat.com> - 1.1.10-1
fdc9ea
- New upstream release
fdc9ea
- This release fixes CVE-2018-1106 which is a moderate security issue.
fdc9ea
fdc9ea
* Tue Mar 27 2018 Kalev Lember <klember@redhat.com> - 1.1.9-4
fdc9ea
- Remove ldconfig scriptlets
fdc9ea
fdc9ea
* Thu Mar 22 2018 Kalev Lember <klember@redhat.com> - 1.1.9-3
fdc9ea
- Create /var/cache/app-info/{icons,xmls} directories
fdc9ea
fdc9ea
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 1.1.9-2
fdc9ea
- Don't abort on daemon startup for invalid .repo files
fdc9ea
fdc9ea
* Mon Mar 05 2018 Kalev Lember <klember@redhat.com> - 1.1.9-1
fdc9ea
- Update to 1.1.9
fdc9ea
fdc9ea
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.8-2
fdc9ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fdc9ea
fdc9ea
* Tue Jan 09 2018 Kalev Lember <klember@redhat.com> - 1.1.8-1
fdc9ea
- Update to 1.1.8
fdc9ea
fdc9ea
* Mon Sep 11 2017 Richard Hughes <rhughes@redhat.com> - 1.1.7-1
fdc9ea
- New upstream release
fdc9ea
- Add fedora-cisco-openh264 repos to supported repos list
fdc9ea
- Add missing context pushes and pops in appstream-glib
fdc9ea
- Add the ability to install updates on reboot in PackageKit-cron
fdc9ea
- Effectively check for previous proxy entries
fdc9ea
- Fix an inverted condition that led to frequent crashes
fdc9ea
- Show a different progress message for system upgrades
fdc9ea
fdc9ea
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.1.6-7
fdc9ea
- Rebuilt after RPM update (â„– 3)
fdc9ea
fdc9ea
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.1.6-6
fdc9ea
- Rebuilt for RPM soname bump
fdc9ea
fdc9ea
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.1.6-5
fdc9ea
- Rebuilt for RPM soname bump
fdc9ea
fdc9ea
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-4
fdc9ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
fdc9ea
fdc9ea
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-3
fdc9ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fdc9ea
fdc9ea
* Thu Jun 15 2017 Richard Hughes <rhughes@redhat.com> - 1.1.6-2
fdc9ea
- Fix a crash when refreshing the metadata cache
fdc9ea
- Resolves: #1460825
fdc9ea
fdc9ea
* Wed Jun 07 2017 Richard Hughes <rhughes@redhat.com> - 1.1.6-1
fdc9ea
- New upstream release
fdc9ea
- Ensure AppStream is deployed when the repo is updated
fdc9ea
fdc9ea
* Fri Mar 24 2017 Kalev Lember <klember@redhat.com> - 1.1.5-4
fdc9ea
- Fix the offline updater to work with latest systemd (#1430920)
fdc9ea
fdc9ea
* Fri Mar 17 2017 Kalev Lember <klember@redhat.com> - 1.1.5-3
fdc9ea
- Build with system libdnf
fdc9ea
fdc9ea
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
fdc9ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fdc9ea
fdc9ea
* Tue Jan 17 2017 Kalev Lember <klember@redhat.com> - 1.1.5-1
fdc9ea
- Update to 1.1.5
fdc9ea
- Update to latest libdnf git snapshot (#1398429)
fdc9ea
fdc9ea
* Wed Dec 21 2016 Kalev Lember <klember@redhat.com> - 1.1.5-0.1.20161221
fdc9ea
- Update to latest git snapshot
fdc9ea
fdc9ea
* Mon Dec 19 2016 Kalev Lember <klember@redhat.com> - 1.1.4-3
fdc9ea
- Adapt for libhif->libdnf git repo rename
fdc9ea
fdc9ea
* Fri Dec 16 2016 Kalev Lember <klember@redhat.com> - 1.1.4-2
fdc9ea
- Update to latest libdnf git snapshot (#1383819)
fdc9ea
fdc9ea
* Mon Sep 19 2016 Richard Hughes <rhughes@redhat.com> - 1.1.4-1
fdc9ea
- New upstream release
fdc9ea
- Change the configuration of the cron script to a sysconfig-like config
fdc9ea
- Don't crash when emitting PropertiesChanged for NULL values
fdc9ea
- Fix several small memory leaks
fdc9ea
- Look for command-not-found dbus socket in /run instead of /var/run
fdc9ea
- Use GetFilesLocal in pkcon get-files if argument is a file
fdc9ea
fdc9ea
* Thu Sep 08 2016 Kalev Lember <klember@redhat.com> - 1.1.4-0.4.20160901
fdc9ea
- Update to latest libdnf git snapshot (#1344643)
fdc9ea
fdc9ea
* Thu Sep 01 2016 Kalev Lember <klember@redhat.com> - 1.1.4-0.3.20160901
fdc9ea
- Update to latest git snapshot
fdc9ea
fdc9ea
* Wed Aug 31 2016 Kalev Lember <klember@redhat.com> - 1.1.4-0.2.20160825
fdc9ea
- Update to latest git snapshot
fdc9ea
fdc9ea
* Fri Aug 05 2016 Kalev Lember <klember@redhat.com> - 1.1.4-0.1.20160805
fdc9ea
- Update to today's git snapshot
fdc9ea
- Switch to new libdnf based backend
fdc9ea
fdc9ea
* Wed Jul 27 2016 Kalev Lember <klember@redhat.com> - 1.1.3-2
fdc9ea
- engine: Don't crash when emitting PropertiesChanged for NULL values
fdc9ea
  (#1359479)
fdc9ea
fdc9ea
* Thu Jul 14 2016 Kalev Lember <klember@redhat.com> - 1.1.3-1
fdc9ea
- Update to 1.1.3
fdc9ea
fdc9ea
* Tue Jul 12 2016 Kalev Lember <klember@redhat.com> - 1.1.2-1
fdc9ea
- Update to 1.1.2
fdc9ea
- Set minimum required glib2 and libhif versions
fdc9ea
fdc9ea
* Tue Jun 07 2016 Kalev Lember <klember@redhat.com> - 1.1.1-3
fdc9ea
- Match unavailable packages for the what-provides query
fdc9ea
fdc9ea
* Sat May 28 2016 Kalev Lember <klember@redhat.com> - 1.1.1-2
fdc9ea
- Require admin authorisation to trigger a distro upgrade (#1335458)
fdc9ea
fdc9ea
* Wed Apr 20 2016 Richard Hughes <rhughes@redhat.com> - 1.1.1-1
fdc9ea
- New upstream release
fdc9ea
- Add TriggerUpgrade DBus method handling
fdc9ea
- Emit UpdatesChanges when installing packages
fdc9ea
- Fix GIR annotations for progress callbacks
fdc9ea
- Increase the number of packages that can be resolved
fdc9ea
- Point offline update/upgrade trigger to the prepared update
fdc9ea
- Set ALLOW_DOWNGRADE flag for all transactions
fdc9ea
fdc9ea
* Fri Feb 12 2016 Richard Hughes <rhughes@redhat.com> - 1.1.0-1
fdc9ea
- New upstream release
fdc9ea
- Add support for UpgradeSystem
fdc9ea
- Correctly store file descriptor from logind
fdc9ea
- Do not crash on GetPrepared when there are no offline updates
fdc9ea
- Do not crash on transaction database corruption
fdc9ea
- Do not crash when parsing a very broken transaction log
fdc9ea
- Port to g_autoptr()
fdc9ea
- Relax validation performed on input strings passed to backends
fdc9ea
- Remove the PackageKit browser plugin
fdc9ea
- Use the GLib network monitoring support
fdc9ea
fdc9ea
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-2
fdc9ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fdc9ea
fdc9ea
* Fri Nov 27 2015 Richard Hughes <rhughes@redhat.com> - 1.0.11-1
fdc9ea
- Add support for HTTP proxy
fdc9ea
- Allow the use of variadic functions in vala
fdc9ea
- By popular demand, reintroduce the UpgradeSystem method
fdc9ea
- Improve RefreshCache progress updates
fdc9ea
- New upstream release
fdc9ea
fdc9ea
* Mon Oct 19 2015 Kalev Lember <klember@redhat.com> - 1.0.10-2
fdc9ea
- Remove PackageKit-cached-metadata subpackage
fdc9ea
fdc9ea
* Mon Sep 21 2015 Richard Hughes <rhughes@redhat.com> - 1.0.10-1
fdc9ea
- Update to 1.0.10 to fix a couple of bugs in the offline updater
fdc9ea
fdc9ea
* Tue Sep 15 2015 Richard Hughes <rhughes@redhat.com> - 1.0.9-1
fdc9ea
- New upstream release
fdc9ea
- Check the offline action trigger before performing the update
fdc9ea
- Fix a race with the backend job thread creation
fdc9ea
fdc9ea
* Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 1.0.8-3
fdc9ea
- Rebuilt for librpm soname bump
fdc9ea
fdc9ea
* Thu Aug 20 2015 Kalev Lember <klember@redhat.com> - 1.0.8-2
fdc9ea
- Revert "Correctly register enum properties" as this broke offline updates
fdc9ea
fdc9ea
* Wed Aug 19 2015 Richard Hughes <rhughes@redhat.com> - 1.0.8-1
fdc9ea
- New upstream release
fdc9ea
- Exit quietly if we didn't prepare the offline update
fdc9ea
- Record the UID of the session user in the yumdb
fdc9ea
fdc9ea
* Fri Aug 14 2015 Kalev Lember <klember@redhat.com> - 1.0.7-3
fdc9ea
- Rebuild for new libappstream-glib
fdc9ea
fdc9ea
* Sun Jul 26 2015 Kevin Fenzi <kevin@scrye.com> 1.0.7-2
fdc9ea
- Rebuild for new librpm
fdc9ea
fdc9ea
* Mon Jul 13 2015 Richard Hughes <rhughes@redhat.com> - 1.0.7-1
fdc9ea
- New upstream release
fdc9ea
- Correct punctuation while applying offline updates
fdc9ea
- Define command_not_found_handler for zsh
fdc9ea
- Port GTK+ module to org.freedesktop.PackageKit.Modify2
fdc9ea
- Return the correct return codes for syntax errors
fdc9ea
fdc9ea
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-7
fdc9ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fdc9ea
fdc9ea
* Mon Jun 08 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.6-6
fdc9ea
- Actually apply the patches
fdc9ea
fdc9ea
* Mon Jun 08 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.6-5
fdc9ea
- Backport a few more upstream patches:
fdc9ea
- Add missing locking when accessing sack cache (#1146734)
fdc9ea
- Improve parallel kernel installation (#1205649)
fdc9ea
fdc9ea
* Wed May 20 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.6-4
fdc9ea
- Update cached metadata in preparation for F22 release
fdc9ea
fdc9ea
* Fri May 15 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.6-3
fdc9ea
- Revert a commit that inadvertantly changed the default value for the
fdc9ea
  TriggerAction DBus property
fdc9ea
fdc9ea
* Mon May 11 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.6-2
fdc9ea
- Update cached metadata
fdc9ea
fdc9ea
* Tue Apr 07 2015 Richard Hughes <rhughes@redhat.com> - 1.0.6-1
fdc9ea
- New upstream release
fdc9ea
- Add dbus method for returning prepared packages
fdc9ea
- Don't recursive lock the debug mutex when using --verbose without a tty
fdc9ea
- Make "reboot" the default action for no action file
fdc9ea
fdc9ea
* Sat Mar 28 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.5-2
fdc9ea
- Backport a crash fix from upstream (#1185544)
fdc9ea
- Update cached metadata
fdc9ea
- Use license macro for the COPYING file
fdc9ea
fdc9ea
* Sat Feb 21 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.5-1
fdc9ea
- Update to 1.0.5
fdc9ea
- Backport new missing gstreamer codecs API
fdc9ea
fdc9ea
* Fri Feb 06 2015 Richard Hughes <rhughes@redhat.com> - 1.0.4-2
fdc9ea
- Adapt to the new hawkey API.
fdc9ea
fdc9ea
* Mon Jan 19 2015 Richard Hughes <rhughes@redhat.com> - 1.0.4-1
fdc9ea
- New upstream release
fdc9ea
- Actually inhibit logind when the transaction can't be cancelled
fdc9ea
- Add 'quit' command to pkcon
fdc9ea
- Automatically import metadata public keys when safe to do so
fdc9ea
- Automatically install AppStream metadata
fdc9ea
- Do not attempt to run command-not-found for anything prefixed with '.'
fdc9ea
- Don't use PkBackendSpawn helpers in compiled backends
fdc9ea
- Fix a hard-to-debug crash when cancelling a task that has never been run
fdc9ea
- Look for unavailable packages during resolve
fdc9ea
- Make pk_backend_job_call_vfunc() threadsafe
fdc9ea
- Make pk_backend_repo_list_changed() threadsafe
fdc9ea
- Return 'unavailable' packages for metadata-only repos
fdc9ea
- Use a thread-local HifTransaction to avoid db3 index corruption
fdc9ea
fdc9ea
* Mon Nov 17 2014 Kalev Lember <kalevlember@gmail.com> - 1.0.3-2
fdc9ea
- Update cached metadata in preparation for F21 release
fdc9ea
fdc9ea
* Mon Nov 10 2014 Richard Hughes <rhughes@redhat.com> - 1.0.3-1
fdc9ea
- New upstream release
fdc9ea
- Add support for reinstallation and downgrades
fdc9ea
- Be smarter when using the vendor cache
fdc9ea
fdc9ea
* Tue Oct 21 2014 Richard Hughes <rhughes@redhat.com> - 1.0.1-1
fdc9ea
- New upstream release
fdc9ea
- Add a KeepCache config parameter
fdc9ea
- Do not install the python helpers
fdc9ea
- Invalidate offline updates when the rpmdb changes
fdc9ea
- Never allow cancelling a transaction twice
fdc9ea
fdc9ea
* Wed Oct 15 2014 Kalev Lember <kalevlember@gmail.com> - 1.0.1-0.1.20141015
fdc9ea
- Update to today's git snapshot
fdc9ea
fdc9ea
* Tue Sep 16 2014 Richard Hughes <rhughes@redhat.com> - 1.0.0-2
fdc9ea
- Add a new subpackage designed for the workstation spin.
fdc9ea
- See http://blogs.gnome.org/hughsie/2014/08/29/ for details.
fdc9ea
fdc9ea
* Fri Sep 12 2014 Richard Hughes <rhughes@redhat.com> - 1.0.0-1
fdc9ea
- New upstream release
fdc9ea
- Add a D-Bus interface and helpers for offline support
fdc9ea
- Do not shutdown the daemon on idle by default
fdc9ea
- Refresh the NetworkManager state when the daemon starts
fdc9ea
- Remove pk-debuginfo-install
fdc9ea
- Remove the events/pre-transaction.d functionality
fdc9ea
- Remove the pkexec systemd helpers
fdc9ea
- Remove the plugin interface
fdc9ea
- Remove various options from the config file