rpms/lighttpd/EL-4 lighttpd.spec,1.10,1.11

Matthias Saou (thias) fedora-extras-commits at redhat.com
Tue Mar 4 11:45:01 UTC 2008


Author: thias

Update of /cvs/extras/rpms/lighttpd/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17253

Modified Files:
	lighttpd.spec 
Log Message:
Disable lua on EL4 because the EPEL lua version is too old.



Index: lighttpd.spec
===================================================================
RCS file: /cvs/extras/rpms/lighttpd/EL-4/lighttpd.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- lighttpd.spec	4 Mar 2008 11:08:03 -0000	1.10
+++ lighttpd.spec	4 Mar 2008 11:44:14 -0000	1.11
@@ -1,5 +1,8 @@
 %define webroot /srv/www/lighttpd
 
+# LUA support requires >= 5.1 but EPEL4 provides only 5.0, so disable
+%{?el4: %define _without_lua foo}
+
 Summary: Lightning fast webserver with light system requirements
 Name: lighttpd
 Version: 1.4.18
@@ -33,11 +36,11 @@
 %{?_with_gamin:BuildRequires: gamin-devel}
 %{!?_without_gdbm:BuildRequires: gdbm-devel}
 %{!?_without_lua:BuildRequires: lua-devel}
-# On Fedora <= 6 (and RHEL?), we still need this because of the "broken" lua
+# On Fedora <= 6 (and RHEL5), we still need this because of the "broken" lua
 %if %{!?fedora:0}%{?fedora} <= 6
 BuildRequires: readline-devel
 %endif
-%if 0%{?el} <= 6
+%if 0%{?el} <= 5
 BuildRequires: readline-devel
 %endif
 
@@ -106,7 +109,7 @@
     %{?_with_webdavlocks:--with-webdav-locks} \
     %{!?_without_gdbm:--with-gdbm} \
     %{?_with_memcache:--with-memcache} \
-    %{?!_without_lua:--with-lua}
+    %{!?_without_lua:--with-lua}
 %{__make} %{?_smp_mflags}
 
 
@@ -215,6 +218,7 @@
 * Tue Mar  4 2008 Matthias Saou <http://freshrpms.net/> 1.4.18-3
 - Include patch for CVE-2008-0983 (crash when low on file descriptors).
 - Include patch for CVE-2008-1111 (cgi source disclosure).
+- Disable lua on EL4 because the EPEL lua version is too old.
 
 * Tue Oct 16 2007 Matthias Saou <http://freshrpms.net/> 1.4.18-2
 - Include mod_geoip additional source, make it an optional sub-package.




More information about the fedora-extras-commits mailing list