Changed files:
apache-mod_cband.spec -> 1.13
URL: http://cband.linux.pl/
BuildRequires: %{apxs}
BuildRequires: apache-devel >= 2.0.0
URL: http://cband.linux.pl/
BuildRequires: %{apxs}
BuildRequires: apache-devel >= 2.0.0
+BuildRequires: rpmbuild(macros) >= 1.268
Requires: apache(modules-api) = %apache_modules_api
Requires: crondaemon
Requires: procps
Requires: apache(modules-api) = %apache_modules_api
Requires: crondaemon
Requires: procps
rm -rf $RPM_BUILD_ROOT
%post
rm -rf $RPM_BUILD_ROOT
%post
-if [ -f /var/lock/subsys/httpd ]; then
- /etc/rc.d/init.d/httpd restart 1>&2
-fi
+%service -q httpd restart
%preun
if [ "$1" = "0" ]; then
%preun
if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/httpd ]; then
- /etc/rc.d/init.d/httpd restart 1>&2
- fi
+ %service -q httpd restart