[packages/yum: 5/6] split bash-completions package; rel 3

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


commit 40116bf64395ef4a5f2d403f9d6652c78416c502
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Apr 15 10:13:52 2013 +0300

    split bash-completions package; rel 3

 yum.spec | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/yum.spec b/yum.spec
index 13bee73..0573887 100644
--- a/yum.spec
+++ b/yum.spec
@@ -8,7 +8,7 @@ Summary:	RPM installer/updater
 Summary(pl.UTF-8):	Narzędzie do instalowania/uaktualniania pakietów RPM
 Name:		yum
 Version:	3.4.3
-Release:	2.3
+Release:	3
 License:	GPL v2+
 Group:		Applications/System
 Source0:	http://yum.baseurl.org/download/3.4/%{name}-%{version}.tar.gz
@@ -74,6 +74,15 @@ Yum to narzędzie sprawdzające i automatycznie ściągające i instalujące
 uaktualnione pakiety RPM. Zależności są ściągane automatycznie po
 zapytaniu użytkownika w razie potrzeby.
 
+%package -n bash-completion-%{name}
+Summary:	bash-completion for Yum
+Group:		Applications/Shells
+Requires:	%{name}
+Requires:	bash-completion >= 2.0
+
+%description -n bash-completion-%{name}
+bash-completion for Yum.
+
 %prep
 %setup -q
 # fc
@@ -224,6 +233,7 @@ fi
 %dir /var/lib/yum/yumdb
 %ghost /var/lib/yum/uuid
 
-# bash-completion subpackage
+%files -n bash-completion-%{name}
+%defattr(644,root,root,755)
 %{_datadir}/bash-completion/completions/yum
 %{_datadir}/bash-completion/completions/yummain.py
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list