[packages/yum] ensure local yum is used, not imported from system

glen glen at pld-linux.org
Sat Mar 2 20:54:08 CET 2013


commit d7d077ca80a96a7675775502a84a7a3dbd92d0c8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Mar 2 21:53:49 2013 +0200

    ensure local yum is used, not imported from system

 tests.patch | 12 ++++++++++++
 yum.spec    |  2 ++
 2 files changed, 14 insertions(+)
---
diff --git a/yum.spec b/yum.spec
index 2206ba4..dc0f357 100644
--- a/yum.spec
+++ b/yum.spec
@@ -29,6 +29,7 @@ Patch4:		%{name}-amd64.patch
 Patch5:		%{name}-config.patch
 Patch6:		nosetests.patch
 Patch7:		rpm5.patch
+Patch8:		tests.patch
 # fc
 Patch10:	installonlyn-enable.patch
 Patch11:	%{name}-mirror-priority.patch
@@ -89,6 +90,7 @@ zapytaniu użytkownika w razie potrzeby.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 %{__make}
diff --git a/tests.patch b/tests.patch
new file mode 100644
index 0000000..c7bec40
--- /dev/null
+++ b/tests.patch
@@ -0,0 +1,12 @@
+--- yum-3.4.3/test/check-po-yes-no.py~	2013-03-02 21:52:33.000000000 +0200
++++ yum-3.4.3/test/check-po-yes-no.py	2013-03-02 21:52:41.303006222 +0200
+@@ -5,7 +5,8 @@
+ 
+ import sys
+ import glob
+-
++import unittest
++from testbase import *
+ from yum.misc import to_utf8
+ 
+ def trans(msg, default):
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yum.git/commitdiff/d7d077ca80a96a7675775502a84a7a3dbd92d0c8



More information about the pld-cvs-commit mailing list