packages: PackageKit/PackageKit.spec, PackageKit/smart-at-fix.patch (NEW) -...

glen glen at pld-linux.org
Thu Mar 24 14:18:02 CET 2011


Author: glen                         Date: Thu Mar 24 13:18:02 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- @ is poor choice for separating NVR and A

---- Files affected:
packages/PackageKit:
   PackageKit.spec (1.70 -> 1.71) , smart-at-fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/PackageKit/PackageKit.spec
diff -u packages/PackageKit/PackageKit.spec:1.70 packages/PackageKit/PackageKit.spec:1.71
--- packages/PackageKit/PackageKit.spec:1.70	Thu Mar 24 14:16:26 2011
+++ packages/PackageKit/PackageKit.spec	Thu Mar 24 14:17:57 2011
@@ -26,6 +26,7 @@
 # Source0-md5:	afc7cfa2674e81511784af46f71f1142
 Patch1:		%{name}-PLD.patch
 Patch2:		bashism.patch
+Patch3:		smart-at-fix.patch
 URL:		http://www.packagekit.org/
 BuildRequires:	NetworkManager-devel >= 0.6.5
 %if %{with qt}
@@ -321,6 +322,7 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %if %{with doc}
@@ -560,6 +562,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71  2011/03/24 13:17:57  glen
+- @ is poor choice for separating NVR and A
+
 Revision 1.70  2011/03/24 13:16:26  glen
 - executable backend
 

================================================================
Index: packages/PackageKit/smart-at-fix.patch
diff -u /dev/null packages/PackageKit/smart-at-fix.patch:1.1
--- /dev/null	Thu Mar 24 14:18:02 2011
+++ packages/PackageKit/smart-at-fix.patch	Thu Mar 24 14:17:57 2011
@@ -0,0 +1,12 @@
+--- PackageKit/../BUILD.x86_64-linux/PackageKit-0.6.13/backends/smart/smartBackend.py~	2010-12-11 23:55:29.000000000 +0200
++++ PackageKit/../BUILD.x86_64-linux/PackageKit-0.6.13/backends/smart/smartBackend.py	2011-03-24 15:17:09.636228396 +0200
+@@ -962,7 +962,8 @@
+         #if isinstance(package, RPMPackage):
+         if package.__class__.__name__ == 'RPMPackage':
+             name = package.name
+-            version, arch = package.version.split('@')
++            # in PLD Linux, there is '@' in kernel related package Release tag
++            version, arch = package.version.rsplit('@', 1)
+         elif isinstance(package, DebPackage):
+             name = package.name
+             version, arch = package.version, smart.backends.deb.base.DEBARCH
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/PackageKit/PackageKit.spec?r1=1.70&r2=1.71&f=u



More information about the pld-cvs-commit mailing list