SPECS: scgi.spec - bcond header
qboosh
qboosh at pld-linux.org
Tue Oct 14 19:52:39 CEST 2008
Author: qboosh Date: Tue Oct 14 17:52:39 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- bcond header
---- Files affected:
SPECS:
scgi.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/scgi.spec
diff -u SPECS/scgi.spec:1.14 SPECS/scgi.spec:1.15
--- SPECS/scgi.spec:1.14 Tue Oct 14 13:45:33 2008
+++ SPECS/scgi.spec Tue Oct 14 19:52:33 2008
@@ -5,6 +5,7 @@
# which may be compiled and instaled in cgi-bin
# - python-scgi not tested; apache-mod_scgi works for me
#
+# Conditional build:
%bcond_without apache # don't build the apache module
#
%define apxs /usr/sbin/apxs
@@ -98,7 +99,7 @@
%{apxs} -c mod_scgi.c
cd ..
%endif
-env CFLAGS="%{rpmcflags}" python setup.py build
+env CFLAGS="%{rpmcflags}" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
@@ -110,7 +111,7 @@
install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf/60_mod_scgi.conf
%endif
-python -- setup.py install \
+%{__python} -- setup.py install \
--root=$RPM_BUILD_ROOT \
--optimize=2
@@ -146,6 +147,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2008/10/14 17:52:33 qboosh
+- bcond header
+
Revision 1.14 2008/10/14 11:45:33 jajcus
- Version: 1.13
- without_apache bcond added
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/scgi.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list