Changed files:
tcpdump.spec -> 1.89
Summary(uk.UTF-8): Інструмент для моніторингу мережевого трафіку
Name: tcpdump
Version: 4.2.0
-Release: 1
+Release: 2
Epoch: 1
License: BSD
Group: Networking/Utilities
CFLAGS="-I. %{rpmcflags} %{rpmcppflags}" \
%{?with_smi:--with-smi} \
--enable-ipv6 \
+ --with-user=tcpdump \
--with-chroot=/usr/share/empty
%{__make}
rm $RPM_BUILD_ROOT%{_sbindir}/tcpdump.%{version}
+%pre
+%useradd -u 273 -r -d /usr/share/empty -s /bin/false -c "tcpdump User" -g nobody tcpdump
+
+%postun
+if [ "$1" = "0" ]; then
+ %userremove tcpdump
+fi
+
+
%clean
rm -rf $RPM_BUILD_ROOT