rpms/tcpdump/devel tcpdump.spec,1.57,1.58

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Dec 12 15:24:32 UTC 2006


Author: mlichvar

Update of /cvs/dist/rpms/tcpdump/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv1046

Modified Files:
	tcpdump.spec 
Log Message:
- use tcpdump user, fix scriptlet (#219268)
Resolves: #219268



Index: tcpdump.spec
===================================================================
RCS file: /cvs/dist/rpms/tcpdump/devel/tcpdump.spec,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- tcpdump.spec	29 Nov 2006 12:36:46 -0000	1.57
+++ tcpdump.spec	12 Dec 2006 15:24:30 -0000	1.58
@@ -2,7 +2,7 @@
 Name: tcpdump
 Epoch: 14
 Version: 3.9.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 URL: http://www.tcpdump.org
 Group: Applications/Internet
@@ -45,7 +45,7 @@
 make
 popd
 
-%configure --with-user=pcap
+%configure --with-user=tcpdump
 make %{?_smp_mflags}
 
 %install
@@ -66,9 +66,9 @@
 rm -rf ${RPM_BUILD_ROOT}
 
 %pre
-/usr/sbin/groupadd -g %{PCAP_GID} pcap  2> /dev/null
-/usr/sbin/useradd -u %{PCAP_UID} -g %{PCAP_GID} -s /sbin/nologin -M -r \
-	-d %{_vararpwatch} pcap 2> /dev/null
+/usr/sbin/groupadd -g 72 tcpdump 2> /dev/null
+/usr/sbin/useradd -u 72 -g 72 -s /sbin/nologin -M -r \
+	-d / tcpdump 2> /dev/null
 exit 0
 
 %files
@@ -80,6 +80,9 @@
 %{_mandir}/man8/tcpdump.8*
 
 %changelog
+* Tue Dec 12 2006 Miroslav Lichvar <mlichvar at redhat.com> - 14:3.9.5-2
+- use tcpdump user, fix scriptlet (#219268)
+
 * Wed Nov 29 2006 Miroslav Lichvar <mlichvar at redhat.com> - 14:3.9.5-1
 - split off libpcap and arpwatch (#193657)
 - update to 3.9.5




More information about the fedora-cvs-commits mailing list