Do not build the yum backend, and obsolete the subpackages
This commit is contained in:
parent
0da38f6cdd
commit
4bed637068
@ -6,7 +6,7 @@
|
||||
Summary: Package management service
|
||||
Name: PackageKit
|
||||
Version: 0.8.15
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: http://www.packagekit.org
|
||||
Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
|
||||
@ -76,8 +76,10 @@ Obsoletes: udev-packagekit < %{version}-%{release}
|
||||
# No more GTK+-2 plugin
|
||||
Obsoletes: PackageKit-gtk-module < %{version}-%{release}
|
||||
|
||||
# No more smart in Fedora
|
||||
# No more smart or yum in Fedora
|
||||
Obsoletes: PackageKit-smart < %{version}-%{release}
|
||||
Obsoletes: PackageKit-yum < %{version}-%{release}
|
||||
Obsoletes: PackageKit-yum-plugin < %{version}-%{release}
|
||||
|
||||
# Udev no longer provides this functionality
|
||||
Provides: PackageKit-device-rebind = %{version}-%{release}
|
||||
@ -88,17 +90,6 @@ 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 yum
|
||||
Summary: PackageKit YUM backend
|
||||
Requires: yum >= 3.4.3-45
|
||||
# python(gio)
|
||||
Requires: pygobject2
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Provides: PackageKit-backend
|
||||
|
||||
%description yum
|
||||
A backend for PackageKit to enable yum functionality.
|
||||
|
||||
%if 0%{?rhel} == 0
|
||||
%package hawkey
|
||||
Summary: PackageKit Hawkey backend
|
||||
@ -118,18 +109,6 @@ BuildArch: noarch
|
||||
%description docs
|
||||
API docs for PackageKit.
|
||||
|
||||
%package yum-plugin
|
||||
Summary: Tell PackageKit to check for updates when yum exits
|
||||
Requires: yum >= 3.0
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: dbus-python
|
||||
Obsoletes: yum-packagekit < %{version}-%{release}
|
||||
|
||||
%description yum-plugin
|
||||
PackageKit-yum-plugin tells PackageKit to check for updates when yum exits.
|
||||
This way, if you run 'yum update' and install all available updates, puplet
|
||||
will almost instantly update itself to reflect this.
|
||||
|
||||
%package glib
|
||||
Summary: GLib libraries for accessing PackageKit
|
||||
Requires: dbus >= 1.1.1
|
||||
@ -226,7 +205,6 @@ NOCONFIGURE=1 ./autogen.sh
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-yum \
|
||||
%if 0%{?rhel} == 0
|
||||
--enable-hawkey \
|
||||
--enable-introspection \
|
||||
@ -330,23 +308,12 @@ systemctl enable packagekit-offline-update.service &> /dev/null || :
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/gtk-doc/html/PackageKit
|
||||
|
||||
%files yum
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/packagekit-backend/libpk_backend_yum.so
|
||||
%dir %{_datadir}/PackageKit/helpers/yum
|
||||
%{_datadir}/PackageKit/helpers/yum/*
|
||||
|
||||
%if 0%{?rhel} == 0
|
||||
%files hawkey
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/packagekit-backend/libpk_backend_hawkey.so
|
||||
%endif
|
||||
|
||||
%files yum-plugin
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/refresh-packagekit.conf
|
||||
/usr/lib/yum-plugins/refresh-packagekit.*
|
||||
|
||||
%files glib
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*packagekit-glib2.so.*
|
||||
@ -400,6 +367,9 @@ systemctl enable packagekit-offline-update.service &> /dev/null || :
|
||||
%{_libdir}/pkgconfig/packagekit-plugin.pc
|
||||
|
||||
%changelog
|
||||
* Thu Dec 19 2013 Richard Hughes <rhughes@redhat.com> - 0.8.15-2
|
||||
- Do not build the yum backend, and obsolete the subpackages.
|
||||
|
||||
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 0.8.15-1
|
||||
- New upstream release
|
||||
- Do not update the role when doing the test transaction
|
||||
|
||||
Loading…
Reference in New Issue
Block a user