]> git.pld-linux.org Git - packages/apache-mod_fastcgi.git/blobdiff - apache-mod_fastcgi.spec
- do not strip binaries (this perporms rpm in %install_post script),
[packages/apache-mod_fastcgi.git] / apache-mod_fastcgi.spec
index 70f8f73cf96d9f91f84ee5916d926e25122662ea..87c3573a936730857411998235d0173b9034d911 100644 (file)
@@ -1,16 +1,19 @@
 Summary:       Support for the FastCGI protocol for apache webserver
 Name:          apache-mod_fastcgi
-Version:       2.2.8
-Release:       2
+Version:       2.2.10
+Release:       1
 Copyright:     Open Market
 Group:         Networking/Daemons
 Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
-URL:           http://www.FastCGI.com/
 Source0:       http://www.FastCGI.com/dist/mod_fastcgi_%{version}.tar.gz
+URL:           http://www.FastCGI.com/
+BuildRequires: apache-devel
 Requires:      apache >= 1.3.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-BuildRequires: apache-devel
+
+%define         _libexecdir     %{_libdir}/apache
+%define         _htmldocdir     /home/httpd/html/docs/%{name}_%{version}
 
 %description
 This 3rd party module provides support for the FastCGI protocol.
@@ -18,14 +21,11 @@ FastCGI is a language independent, scalable, open extension to CGI
 that provides high performance and persistence without the limitations
 of server specific APIs.
 
-%define         _libexecdir     /usr/lib/apache
-%define         _htmldocdir     /home/httpd/html/docs/%{name}_%{version}
-
 %prep
 %setup -q -n mod_fastcgi_%{version}
 
 %build
-apxs -D SUEXEC_BIN="/usr/sbin/suexec" -o mod_fastcgi.so -c *.c
+apxs -D SUEXEC_BIN="\"\\\"/usr/sbin/suexec\\\"\"" -o mod_fastcgi.so -c *.c
 strip mod_fastcgi.so
 
 %install
@@ -38,8 +38,6 @@ install docs/*.html $RPM_BUILD_ROOT%{_htmldocdir}
 
 gzip -9nf docs/LICENSE.TERMS CHANGES
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*
-
 %post
 %{_sbindir}/apxs -e -a -n fastcgi %{_libexecdir}/mod_fastcgi.so 1>&2
 if [ -f /var/lock/subsys/httpd ]; then
@@ -61,6 +59,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc docs/*.gz CHANGES.gz
+%doc docs/*.gz *.gz
 %doc %{_htmldocdir}
 %attr(755,root,root) %{_libexecdir}/*
This page took 0.070145 seconds and 4 git commands to generate.