]> git.pld-linux.org Git - packages/apache-mod_rpaf.git/commitdiff
- R: apache modules-api
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 19 Dec 2005 13:53:39 +0000 (13:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- pass CC to apxs to avoid using compiler used for apache building

Changed files:
    apache-mod_rpaf.spec -> 1.5

apache-mod_rpaf.spec

index 5624f94b0c2713d73504fd980569569871383d13..eefaf721971664a6692f99937af5a83f4b724d93 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Reverse proxy add forward module for Apache2
 Summary(pl):   Modu³ Apache'a 2 dodaj±cy przekazywanie dla odwrotnych proxy
 Name:          apache-mod_%{mod_name}
 Version:       0.5
-Release:       0.2
+Release:       0.3
 License:       Apache
 Group:         Networking/Daemons
 Source0:       http://stderr.net/apache/rpaf/download/mod_%{mod_name}-%{version}.tar.gz
@@ -13,6 +13,7 @@ Source1:      %{name}.conf
 URL:           http://stderr.net/apache/rpaf/
 BuildRequires: apache-devel >=  2.0.36
 Requires:      apache >= 2.0.36
+Requires:      apache(modules-api) = %apache_modules_api
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
@@ -41,7 +42,7 @@ pocz
 %setup -q -n mod_%{mod_name}-%{version}
 
 %build
-%{apxs} -c -n mod_%{mod_name}-2.0.o mod_%{mod_name}-2.0.c
+%{apxs} -S CC="%{__cc}" -c -n mod_%{mod_name}-2.0.o mod_%{mod_name}-2.0.c
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.13659 seconds and 4 git commands to generate.