Summary(pl): Modu³ Apache'a: stawanie siê kim¶
Name: apache1-mod_%{mod_name}
Version: 1.3
-Release: 2
+Release: 3
License: ?
Group: Networking/Daemons
Source0: http://www.snert.com/Software/mod_become/mod_become103.tgz
# Source0-md5: 7bb1607587687dabc711b3b1903947e5
URL: http://www.snert.com/Software/mod_become/
-BuildRequires: apache1-devel >= 1.3.33-2
BuildRequires: %{apxs}
+BuildRequires: apache1-devel >= 1.3.33-2
+BuildRequires: rpmbuild(macros) >= 1.268
Requires(triggerpostun): %{apxs}
-Requires: apache1 >= 1.3.33-2
-Obsoletes: apache-mod_%{mod_name} <= %{version}
+Requires: apache1(EAPI)
+Obsoletes: apache-mod_become <= 1.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _pkglibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
%postun
if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/apache ]; then
- /etc/rc.d/init.d/apache restart 1>&2
- fi
+ %service -q apache restart
fi
%triggerpostun -- apache1-mod_%{mod_name} < 1.3-1.1
%files
%defattr(644,root,root,755)
%doc CHANGES.txt LICENSE.txt SECURITY.txt index.shtml notes-conf.txt
-%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}/*