rpms/nginx/EL-4 nginx.spec,1.13,1.14

Jeremy Hinegardner (jjh) fedora-extras-commits at redhat.com
Sat Aug 18 18:24:41 UTC 2007


Author: jjh

Update of /cvs/pkgs/rpms/nginx/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13722

Modified Files:
	nginx.spec 
Log Message:
- added --with-http_stub_status_module build option.
- added --with-http_sub_module build option.
- cleanup use of pcre-config




Index: nginx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nginx/EL-4/nginx.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- nginx.spec	18 Aug 2007 07:00:34 -0000	1.13
+++ nginx.spec	18 Aug 2007 18:24:08 -0000	1.14
@@ -8,11 +8,11 @@
 
 Name:           nginx
 Version:        0.5.31
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Robust, small and high performance http and reverse proxy server
 Group:          System Environment/Daemons   
 
-# BSD 2 clause license
+# BSD License (two clause)
 # http://www.freebsd.org/copyright/freebsd-license.html
 License:        BSD
 URL:            http://nginx.net/ 
@@ -61,10 +61,6 @@
 # variable.  The configure script(s) have been patched (Patch1 and
 # Patch2) in order to support installing into a build environment.
 export DESTDIR=%{buildroot}
-
-# pcre is in /usr/include/pcre in RHEL4 instead of /usr/include
-export PCRE_FLAGS=$(/usr/bin/pcre-config --cflags)
-
 ./configure \
     --user=%{nginx_user} \
     --group=%{nginx_group} \
@@ -81,12 +77,14 @@
     --with-http_ssl_module \
     --with-http_realip_module \
     --with-http_addition_module \
+    --with-http_sub_module \
     --with-http_dav_module \
     --with-http_flv_module \
+    --with-http_stub_status_module \
     --with-http_perl_module \
     --with-mail \
     --with-mail_ssl_module \
-    --with-cc-opt="%{optflags} ${PCRE_FLAGS}"
+    --with-cc-opt="%{optflags} $(pcre-config --cflags)"
 make %{?_smp_mflags} 
 
 
@@ -151,6 +149,10 @@
 
 
 %changelog
+* Sat Aug 18 2007 Jeremy Hinegardner <jeremy at hinegardner.org> - 0.5.31-4
+- added --with-http_stub_status_module build option.
+- added --with-http_sub_module build option.
+
 * Sat Aug 18 2007 Jeremy Hinegardner <jeremy at hinegardner.org> - 0.5.31-3
 - add in pcre-config --cflags
 




More information about the fedora-extras-commits mailing list