- update smart-at patch
authorJan Wideł <jasw@pld-linux.org>
Sat, 9 Apr 2011 15:03:14 +0000 (15:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PackageKit.spec -> 1.72
    smart-at-fix.patch -> 1.2

PackageKit.spec
smart-at-fix.patch

index bf7bcea..6b969e8 100644 (file)
@@ -18,7 +18,7 @@ Summary:      System daemon that is a D-Bus abstraction layer for package management
 Summary(pl.UTF-8):     Demon systemowy będący warstwą abstrakcji D-Bus do zarządzania pakietami
 Name:          PackageKit
 Version:       0.6.13
-Release:       0.1
+Release:       0.2
 License:       GPL v2+
 Group:         Applications/System
 Source0:       http://www.packagekit.org/releases/%{name}-%{version}.tar.bz2
@@ -321,7 +321,7 @@ Wtyczka PackageKit do przeglądarek WWW.
 %setup -q
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
+%patch3 -p0
 
 %build
 %if %{with doc}
index eac37ca..5448dfd 100644 (file)
@@ -1,12 +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
+--- backends/smart/smartBackend.py     2011-04-09 16:51:19.060314527 +0200
++++ backends/smart/smartBackend.py~    2011-04-09 16:52:21.816641214 +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)
++          version, arch = package.version.split('@',1)
          elif isinstance(package, DebPackage):
              name = package.name
              version, arch = package.version, smart.backends.deb.base.DEBARCH
This page took 0.038249 seconds and 4 git commands to generate.