packages: vzctl/vzctl.spec - add bash-completion subpackage
glen
glen at pld-linux.org
Mon Oct 24 20:25:58 CEST 2011
Author: glen Date: Mon Oct 24 18:25:58 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- add bash-completion subpackage
---- Files affected:
packages/vzctl:
vzctl.spec (1.24 -> 1.25)
---- Diffs:
================================================================
Index: packages/vzctl/vzctl.spec
diff -u packages/vzctl/vzctl.spec:1.24 packages/vzctl/vzctl.spec:1.25
--- packages/vzctl/vzctl.spec:1.24 Fri Sep 30 20:26:24 2011
+++ packages/vzctl/vzctl.spec Mon Oct 24 20:25:53 2011
@@ -57,6 +57,18 @@
%description lib
OpenVZ containers control API library.
+%package -n bash-completion-%{name}
+Summary: bash-completion for vzctl
+Summary(pl.UTF-8): bashowe uzupełnianie nazw dla vzctl
+Group: Applications/Shells
+Requires: bash-completion
+
+%description -n bash-completion-%{name}
+This package provides bash-completion for vzctl.
+
+%description -n bash-completion-%{name} -l pl.UTF-8
+Pakiet ten dostarcza bashowe uzupełnianie nazw dla vzctl.
+
%prep
%setup -q
%patch0 -p1
@@ -111,7 +123,7 @@
%service vzeventd restart "vzeventd service"
%preun
-if [ $1 = 0 ]; then
+if [ "$1" = 0 ]; then
/sbin/chkconfig --del vz
/sbin/chkconfig --del vzeventd
fi
@@ -121,7 +133,6 @@
%files
%defattr(644,root,root,755)
%doc ChangeLog
-%config(noreplace) /etc/bash_completion.d/%{name}.sh
%attr(640,root,root) %ghost /etc/cron.d/vz
%attr(754,root,root) /etc/rc.d/init.d/vz*
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
@@ -157,12 +168,19 @@
%attr(755,root,root) %{_libdir}/libvzctl-*.so
%attr(755,root,root) %{_libdir}/vzctl
+%files -n bash-completion-%{name}
+%defattr(644,root,root,755)
+/etc/bash_completion.d/%{name}.sh
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.25 2011/10/24 18:25:53 glen
+- add bash-completion subpackage
+
Revision 1.24 2011/09/30 18:26:24 brushek
- up to 3.0.29.3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vzctl/vzctl.spec?r1=1.24&r2=1.25&f=u
More information about the pld-cvs-commit
mailing list