[packages/qemu] - useadd/groupadd BRs, Rs, Ps

adamg adamg at pld-linux.org
Wed Jan 2 23:54:58 CET 2013


commit 14b9f266fe8933eae320138431aa9112c46b0c2f
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Wed Jan 2 23:54:55 2013 +0100

    - useadd/groupadd BRs, Rs, Ps

 qemu.spec | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/qemu.spec b/qemu.spec
index 2f53a50..2f1a7d2 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -64,6 +64,7 @@ BuildRequires:	perl-Encode
 BuildRequires:	perl-tools-pod
 BuildRequires:	pkgconfig
 %{?with_pulseaudio:BuildRequires:	pulseaudio-devel}
+BuildRequires:	rpmbuild(macros) >= 1.202
 BuildRequires:	sed >= 4.0
 %if %{with spice}
 BuildRequires:	spice-protocol >= 0.12.0
@@ -140,6 +141,14 @@ Summary:	QEMU common files needed by all QEMU targets
 Summary(pl.UTF-8):	Wspólne pliki QEMU wymagane przez wszystkie środowiska QEMU
 Group:		Development/Tools
 Requires:	glib2 >= 1:2.12
+Requires(postun):	/usr/sbin/groupdel
+Requires(postun):	/usr/sbin/userdel
+Requires(pre):	/bin/id
+Requires(pre):	/usr/bin/getgid
+Requires(pre):	/usr/sbin/groupadd
+Requires(pre):	/usr/sbin/useradd
+Provides:	group(qemu)
+Provides:	user(qemu)
 Conflicts:	qemu < 1.0-2
 
 %description common
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qemu.git/commitdiff/14b9f266fe8933eae320138431aa9112c46b0c2f



More information about the pld-cvs-commit mailing list