packages: rpmlint/pythonpath.patch (NEW) - import from python modules

glen glen at pld-linux.org
Sun Jan 9 18:48:34 CET 2011


Author: glen                         Date: Sun Jan  9 17:48:34 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- import from python modules

---- Files affected:
packages/rpmlint:
   pythonpath.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/rpmlint/pythonpath.patch
diff -u /dev/null packages/rpmlint/pythonpath.patch:1.1
--- /dev/null	Sun Jan  9 18:48:34 2011
+++ packages/rpmlint/pythonpath.patch	Sun Jan  9 18:48:29 2011
@@ -0,0 +1,13 @@
+--- rpmlint-1.0/rpmdiff~	2009-11-03 21:21:48.000000000 +0200
++++ rpmlint-1.0/rpmdiff	2011-01-09 19:35:20.929627311 +0200
+@@ -27,9 +27,7 @@
+ 
+ import rpm
+ 
+-if os.path.isdir("/usr/share/rpmlint"):
+-    site.addsitedir("/usr/share/rpmlint")
+-import Pkg
++from rpmlint.Pkg import Pkg
+ 
+ 
+ class Rpmdiff:
================================================================


More information about the pld-cvs-commit mailing list