]> git.pld-linux.org Git - packages/apache-mod_proxy_html.git/blobdiff - apache-mod_proxy_html.spec
- fixed apxs -c
[packages/apache-mod_proxy_html.git] / apache-mod_proxy_html.spec
index 57c9d2dc5c2ba9b0a7f0bd62154d17cda95285dc..23cdf70d4beb02c405d621edbbf4b7e00cc15217 100644 (file)
@@ -9,7 +9,7 @@ Release:        1
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://apache.webthing.com/mod_proxy_html/mod_proxy_html.c
-# Source0-md5: a7a2bb9c24ee548ea9b16c35e7cab76a
+# Source0-md5: b1211dff5343d75ac376ef836557f11f
 URL:           http://apache.webthing.com/mod_proxy_html/
 BuildRequires: %{apxs}
 BuildRequires: apache-devel >= 2.0.44
@@ -37,16 +37,15 @@ mod_proxy_html to dodatkowy modu
 %build
 cp %{SOURCE0} .
 %{apxs} \
-       -c -o mod_%{mod_name}.so \
+       -c -o mod_%{mod_name}.la \
        $(%{_bindir}/xml2-config --cflags --libs) \
-       -Wl,-shared \
        mod_%{mod_name}.c
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{apache_moddir},/etc/httpd/httpd.conf}
 
-install mod_%{mod_name}.so $RPM_BUILD_ROOT%{apache_moddir}
+install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{apache_moddir}
 cat <<EOF > $RPM_BUILD_ROOT/etc/httpd/httpd.conf/35_mod_%{mod_name}.conf
 LoadModule proxy_html_module    modules/mod_proxy_html.so
 
This page took 0.634461 seconds and 4 git commands to generate.