]> git.pld-linux.org Git - packages/apache1-mod_antihak.git/blobdiff - apache1-mod_antihak.spec
- adapterized (sorted %verify attrs)
[packages/apache1-mod_antihak.git] / apache1-mod_antihak.spec
index 1c67791f293c80e95bffd563043c927eb93bea0a..11709292a02e720d4644152795a5012b857cdf80 100644 (file)
@@ -5,7 +5,7 @@ Summary(pl):    Modu
 Name:          apache1-mod_%{mod_name}
 %define                tar_ver 0.3.1-beta
 Version:       0.3.1beta
-Release:       3.2
+Release:       3.3
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/apantihak/mod_antihak-%{tar_ver}.tar.gz
@@ -14,12 +14,12 @@ Patch0:             %{name}-iptables.patch
 Patch1:                %{name}-am.patch
 Patch2:                %{name}-mysql-API.patch
 URL:           http://sourceforge.net/projects/apantihak/
-BuildRequires: automake
-BuildRequires: autoconf
+BuildRequires: %{apxs}
 BuildRequires: apache1-devel >= 1.3.33-2
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: mysql-devel
-BuildRequires: %{apxs}
 Requires(post,preun):  grep
 Requires(preun):       sed >= 4.0
 Requires:      apache1 >= 1.3.33-2
@@ -87,7 +87,7 @@ else
        echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
 fi
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
        if grep -qF "^http ALL= NOPASSWD: /sbin/iptables" /etc/sudoers ; then
                sed -i -e '/^http ALL= NOPASSWD: /sbin/iptables$/d' /etc/sudoers
@@ -101,5 +101,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS INSTALL ChangeLog NEWS TODO
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/*
This page took 0.10709 seconds and 4 git commands to generate.