]> git.pld-linux.org Git - packages/apache-mod_suphp.git/commitdiff
- BR: ac,am
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 11 Nov 2003 02:06:29 +0000 (02:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_suphp.spec -> 1.6

apache-mod_suphp.spec

index 1c7f062232ca8e97be7b5867af560d72d2564947..ed542cd23a5a3e9349e5de5d7383004af69c2f4e 100644 (file)
@@ -4,7 +4,6 @@
 #                        of the vhost; you want to set it ie. if you use symlinks to directories 
 #                        that lay outside vhost DOCUMENT_ROOT
 #
-#
 %define                mod_name        suphp
 %define        apxs            /usr/sbin/apxs
 Summary:       Apache module: suPHP - execute PHP scripts with the permissions of their owners
@@ -20,6 +19,8 @@ Source1:      apache-mod_suphp.logrotate
 URL:           http://www.suphp.org/
 BuildRequires: %{apxs}
 BuildRequires: apache-devel <= 1.4
+BuildRequires: autoconf
+BuildRequires: automake
 Requires(post,preun):  %{apxs}
 Requires:      apache
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,7 +47,8 @@ modu
 %{__autoconf}
 %{__autoheader}
 chmod 755 configure
-%configure --with-apache-user=http \
+%configure \
+       --with-apache-user=http \
        --with-min-uid=500 \
        --with-min-gid=1000 \
        --with-apxs=%{apxs} \
@@ -61,8 +63,8 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_pkglibdir}}
 install src/suphp $RPM_BUILD_ROOT%{_sbindir}
 install src/apache/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
-install --mode=640 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/apache-mod_suphp
+install -d $RPM_BUILD_ROOT/etc/logrotate.d
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/apache-mod_suphp
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -81,12 +83,9 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
-%postun
-rm -f %{_sysconfdir}/logrotate.d/apache-mod_suphp
-
 %files
 %defattr(644,root,root,755)
 %doc README AUTHORS ChangeLog doc
 %attr(4755,root,root) %{_sbindir}/*
 %attr(755,root,root) %{_pkglibdir}/*
-%config(noreplace) %{_sysconfdir}/logrotate.d/*
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/*
This page took 0.069772 seconds and 4 git commands to generate.