]> git.pld-linux.org Git - packages/apport.git/commitdiff
- fix rpm behavior
authorPatryk Zawadzki <patrys@room-303.com>
Sun, 6 Apr 2008 19:58:04 +0000 (19:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apport-rpm-deps.patch -> 1.1
    apport-rpm-platform.patch -> 1.1

apport-rpm-deps.patch [new file with mode: 0644]
apport-rpm-platform.patch [new file with mode: 0644]

diff --git a/apport-rpm-deps.patch b/apport-rpm-deps.patch
new file mode 100644 (file)
index 0000000..6d47d28
--- /dev/null
@@ -0,0 +1,11 @@
+--- ubuntu/backends/packaging_rpm.py~  2008-04-06 21:05:21.000000000 +0200
++++ ubuntu/backends/packaging_rpm.py   2008-04-06 21:15:26.310825923 +0200
+@@ -52,7 +52,7 @@
+         # parse this package's Requires
+         reqs=[]
+         for r in hdr['requires']:
+-            if r.startswith('rpmlib'):
++            if r.startswith('rpmlib') or r.startswith('uname('):
+                 continue # we've got rpmlib, thanks
+             if r[0] == '/': # file requires
+                 req_heads = self._get_headers_by_tag('basenames',r)
diff --git a/apport-rpm-platform.patch b/apport-rpm-platform.patch
new file mode 100644 (file)
index 0000000..d11d67f
--- /dev/null
@@ -0,0 +1,11 @@
+--- ubuntu/backends/packaging_rpm.py~  2007-07-14 16:59:17.000000000 +0200
++++ ubuntu/backends/packaging_rpm.py   2008-04-06 20:39:31.675388970 +0200
+@@ -145,6 +145,8 @@
+         # XXX is there an rpmlib method for this?
+         f = open('/etc/rpm/platform')
+         line = f.readline()
++        while line == '' or line[0] == '#':
++            line = f.readline()
+         f.close()
+         (arch,vendor,os) = line.split('-')
+         return arch 
This page took 0.090607 seconds and 4 git commands to generate.