Fix yum backend.
This commit is contained in:
parent
795ac7014b
commit
cad1c963c0
@ -8,7 +8,7 @@
|
||||
Summary: System daemon that is a DBUS abstraction layer for package management
|
||||
Name: PackageKit
|
||||
Version: 0.1.7
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://packagekit.freedesktop.org
|
||||
@ -40,6 +40,17 @@ 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 -n yum-packagekit
|
||||
Summary: Tell PackageKit to check for updates when yum exits
|
||||
Group: System Environment/Base
|
||||
Requires: yum >= 3.0
|
||||
Requires: PackageKit
|
||||
|
||||
%description -n yum-packagekit
|
||||
yum-packagekit 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 libs
|
||||
Summary: Libraries for accessing PackageKit
|
||||
Group: Development/Libraries
|
||||
@ -64,12 +75,7 @@ Headers and libraries for PackageKit.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --with-default-backend=yum
|
||||
|
||||
# the 'make clean' is to clean up the blank file
|
||||
# docs/spec/pk-reference.html in the upstream tarball.
|
||||
# According to hughsie, this is because xmlto is broken in F8
|
||||
#make clean
|
||||
%configure --enable-yum --with-default-backend=yum
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -125,6 +131,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pm-utils/sleep.d/95packagekit
|
||||
%{_libexecdir}/*py*
|
||||
|
||||
%files -n yum-packagekit
|
||||
%defattr(-, root, root)
|
||||
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/refresh-packagekit.conf
|
||||
/usr/lib/yum-plugins/refresh-packagekit.*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%doc README AUTHORS NEWS COPYING
|
||||
@ -141,6 +152,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 18 2008 Robin Norwood <rnorwood@redhat.com> - 0.1.7-2
|
||||
- Fix the yum backend.
|
||||
|
||||
* Thu Feb 14 2008 Robin Norwood <rnorwood@redhat.com> - 0.1.7-1
|
||||
- Update to latest upstream version: 0.1.7
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user