[packages/yum: 4/6] handle compiled py in bash-completion

glen glen at pld-linux.org
Mon Apr 15 11:31:39 CEST 2013


commit 655b08f75cdcf9433f23ee0750429e9e165811ed
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Apr 15 10:05:02 2013 +0300

    handle compiled py in bash-completion

 cli-pyc.patch | 11 +++++++++++
 yum.spec      |  9 +++++----
 2 files changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/yum.spec b/yum.spec
index 776eee8..13bee73 100644
--- a/yum.spec
+++ b/yum.spec
@@ -8,16 +8,17 @@ Summary:	RPM installer/updater
 Summary(pl.UTF-8):	Narzędzie do instalowania/uaktualniania pakietów RPM
 Name:		yum
 Version:	3.4.3
-Release:	2.2
+Release:	2.3
 License:	GPL v2+
 Group:		Applications/System
 Source0:	http://yum.baseurl.org/download/3.4/%{name}-%{version}.tar.gz
 # Source0-md5:	7c8ea8beba5b4e7fe0c215e4ebaa26ed
 Source1:	%{name}-pld-source.repo
 Source2:	%{name}-pld-ti-source.repo
-Patch1:		%{name}-obsoletes.patch
 # from util-vserver-*/contrib/
-#Patch2:		%{name}-chroot.patch # disabled for now. broken or not needed
+#Patch:		%{name}-chroot.patch # disabled for now. broken or not needed
+Patch1:		%{name}-obsoletes.patch
+Patch2:		cli-pyc.patch
 Patch3:		%{name}-pld.patch
 Patch4:		%{name}-amd64.patch
 Patch5:		%{name}-config.patch
@@ -84,7 +85,7 @@ zapytaniu użytkownika w razie potrzeby.
 %patch15 -p1
 # pld
 %patch1 -p1
-#%patch2 -p1
+%patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
diff --git a/cli-pyc.patch b/cli-pyc.patch
new file mode 100644
index 0000000..7193e39
--- /dev/null
+++ b/cli-pyc.patch
@@ -0,0 +1,11 @@
+--- yum-3.4.3/etc/yum.bash~	2013-04-15 09:52:35.000000000 +0300
++++ yum-3.4.3/etc/yum.bash	2013-04-15 10:03:20.014705073 +0300
+@@ -12,7 +12,7 @@
+         return
+     fi
+     COMPREPLY+=( $(
+-        /usr/share/yum-cli/completion-helper.py -d 0 -C "$@" 2>/dev/null ) )
++        python /usr/share/yum-cli/completion-helper.pyc -d 0 -C "$@" 2>/dev/null ) )
+ }
+ 
+ _yum_list()
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list