[packages/unbound] - add useradd/userremove deps

arekm arekm at pld-linux.org
Wed Jan 22 14:58:52 CET 2014


commit 5946fd51b3047aeb1ec6885135784447062ba664
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jan 22 14:58:50 2014 +0100

    - add useradd/userremove deps

 unbound.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/unbound.spec b/unbound.spec
index 1e235d1..0e7ee04 100644
--- a/unbound.spec
+++ b/unbound.spec
@@ -23,6 +23,11 @@ BuildRequires:	python-devel >= 1:2.4.0
 BuildRequires:	swig-python
 %endif
 Requires(post,preun):	/sbin/chkconfig
+BuildRequires:  rpmbuild(macros) >= 1.202
+Provides:	user(unbound)
+Requires(postun):	/usr/sbin/userdel
+Requires(pre):	/bin/id
+Requires(pre):	/usr/sbin/useradd
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/unbound.git/commitdiff/5946fd51b3047aeb1ec6885135784447062ba664



More information about the pld-cvs-commit mailing list