rpms/PackageKit/devel PackageKit.spec,1.11,1.12

Robin Norwood (rnorwood) fedora-extras-commits at redhat.com
Mon Feb 18 23:46:26 UTC 2008


Author: rnorwood

Update of /cvs/pkgs/rpms/PackageKit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27194

Modified Files:
	PackageKit.spec 
Log Message:
Fix yum backend.


Index: PackageKit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/PackageKit/devel/PackageKit.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- PackageKit.spec	15 Feb 2008 20:15:19 -0000	1.11
+++ PackageKit.spec	18 Feb 2008 23:45:45 -0000	1.12
@@ -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 @@
 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 @@
 %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 @@
 %{_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 @@
 
 
 %changelog
+* Mon Feb 18 2008 Robin Norwood <rnorwood at redhat.com> - 0.1.7-2
+- Fix the yum backend.
+
 * Thu Feb 14 2008 Robin Norwood <rnorwood at redhat.com> - 0.1.7-1
 - Update to latest upstream version: 0.1.7
 




More information about the fedora-extras-commits mailing list