]> git.pld-linux.org Git - packages/apache-mod_fastcgi.git/commitdiff
- added %{apxs} local macro to avoid adapter problems
authorankry <ankry@pld-linux.org>
Sun, 17 Feb 2002 19:01:42 +0000 (19:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix use of %{apxs} and %{_sbindir}/apxs
- added BR %{apxs} & Prereq %{_sbindir}/apxs (if necessary); removed BR apache

Changed files:
    apache-mod_fastcgi.spec -> 1.15

apache-mod_fastcgi.spec

index a073545cc074615e09d42f57815b960e0ef005ed..9ede3dcf79ed917a14cc47a7be0882860ef6bc09 100644 (file)
@@ -1,3 +1,4 @@
+%define        apxs    /usr/sbin/apxs
 Summary:       Support for the FastCGI protocol for apache webserver
 Summary(pl):   Obs³uga protoko³u FastCGI dla serwera apache
 Summary(ru):   FastCGI - ÂÏÌÅÅ ÂÙÓÔÒÁÑ ×ÅÒÓÉÑ CGI
@@ -24,6 +25,8 @@ Group(uk):    
 Source0:       http://www.FastCGI.com/dist/mod_fastcgi_%{version}.tar.gz
 URL:           http://www.FastCGI.com/
 BuildRequires: apache-devel
+BuildRequires: %{apxs}
+Prereq:                %{_sbindir}/apxs
 Requires:      apache >= 1.3.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -59,7 +62,7 @@ FastCGI - 
 %setup -q -n mod_fastcgi_%{version}
 
 %build
-apxs -D SUEXEC_BIN="\"\\\"%{_sbindir}/suexec\\\"\"" -o mod_fastcgi.so -c *.c
+%{apxs} -D SUEXEC_BIN="\"\\\"%{_sbindir}/suexec\\\"\"" -o mod_fastcgi.so -c *.c
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.089316 seconds and 4 git commands to generate.