[packages/firejail] bash completion subpackage

glen glen at pld-linux.org
Tue Jul 12 13:09:27 CEST 2016


commit f42926f0a60d2a3d963a128a44ecc7866ff532ea
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jul 12 14:09:17 2016 +0300

    bash completion subpackage

 firejail.spec | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/firejail.spec b/firejail.spec
index 2c05b13..3a957f9 100644
--- a/firejail.spec
+++ b/firejail.spec
@@ -17,6 +17,22 @@ process and all its descendants to have their own private view of the
 globally shared kernel resources, such as the network stack, process
 table, and mount table.
 
+%package -n bash-completion-%{name}
+Summary:	bash-completion for firejail
+Summary(pl.UTF-8):	bashowe uzupełnianie nazw dla firejail
+Group:		Applications/Shells
+Requires:	%{name}
+Requires:	bash-completion >= 2.0
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
+
+%description -n bash-completion-%{name}
+bash-completion for firejail.
+
+%description -n bash-completion-%{name} -l pl.UTF-8
+bashowe uzupełnianie nazw dla firejail.
+
 %prep
 %setup -qn %{name}-%{version}
 
@@ -67,7 +83,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/%{name}/libtracelog.so
 %attr(755,root,root) %{_libdir}/%{name}/firecfg.config
 
-# bash-completions
+%files bash-completion-%{name}
+%defattr(644,root,root,755)
 %{bash_compdir}/firejail
 %{bash_compdir}/firemon
 %{bash_compdir}/firecfg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firejail.git/commitdiff/f42926f0a60d2a3d963a128a44ecc7866ff532ea



More information about the pld-cvs-commit mailing list