rpms/ulogd/devel ulogd.spec,1.6,1.7
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Sat Mar 5 19:55:56 UTC 2005
Author: thias
Update of /cvs/extras/rpms/ulogd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8058/ulogd/devel
Modified Files:
ulogd.spec
Log Message:
Mass letter "u", "v" and "w" update, one or more apply :
- Drop epoch: 0
- Remove %{epoch} requirements in sub-packages
- Remove trailing white spaces
- Keep consistent between spaces and tabs
Index: ulogd.spec
===================================================================
RCS file: /cvs/extras/rpms/ulogd/devel/ulogd.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ulogd.spec 28 Feb 2005 21:12:57 -0000 1.6
+++ ulogd.spec 5 Mar 2005 19:55:54 -0000 1.7
@@ -12,12 +12,12 @@
Patch2: ulogd-1.02-init.patch
Patch3: ulogd-1.02-pgsql.patch
Patch4: ulogd-1.21-x86_64.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires(post): initscripts, chkconfig
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires(post): initscripts, chkconfig
Requires(postun): initscripts, chkconfig
BuildRequires: mysql-devel
BuildRequires: postgresql-devel
-#BuildRequires: libpcap-devel
+#BuildRequires: libpcap-devel
%description
Ulogd is an universal logging daemon for the ULOG target of netfilter, the
@@ -53,7 +53,7 @@
%build
%configure --with-mysql --with-pgsql
# Does not support parallel builds
-make
+make
%install
rm -rf $RPM_BUILD_ROOT
@@ -78,14 +78,14 @@
%post
/sbin/chkconfig --add ulogd
-%preun
-if [ "$1" = 0 ]; then
+%preun
+if [ $1 -eq 0 ]; then
/sbin/service ulogd stop > /dev/null 2>&1 ||:
- /sbin/chkconfig --del ulogd
+ /sbin/chkconfig --del ulogd
fi
-%postun
-if [ "$1" -ge "1" ]; then
+%postun
+if [ $1 -ge 1 ]; then
/sbin/service ulogd reload > /dev/null 2>&1 ||:
fi
More information about the scm-commits
mailing list