rpms/cherokee/devel cherokee.spec,1.2,1.3

Tom Callaway spot at fedoraproject.org
Thu Nov 6 18:55:00 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/cherokee/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10153

Modified Files:
	cherokee.spec 
Log Message:
conflict fix, rpath fix


Index: cherokee.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cherokee/devel/cherokee.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cherokee.spec	31 Oct 2008 17:00:30 -0000	1.2
+++ cherokee.spec	6 Nov 2008 18:54:30 -0000	1.3
@@ -3,7 +3,7 @@
 
 Name:           cherokee
 Version:        0.10.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Flexible and Fast Webserver
 
 Group:          Applications/Internet
@@ -15,6 +15,8 @@
 Source2:        %{name}.logrotate
 
 BuildRequires:  openssl-devel pam-devel pcre-devel mysql-devel
+# For spawn-fcgi
+Requires:	lighttpd-fastcgi
 Requires(post): chkconfig
 Requires(preun): chkconfig
 Requires(preun): initscripts
@@ -41,11 +43,11 @@
 %prep
 %setup -q
 
-
 %build
-%configure \
-    --with-wwwroot=%{_var}/www/%{name} \
-    --enable-tls=openssl --enable-pthreads --enable-trace --disable-static
+%configure --with-wwwroot=%{_var}/www/%{name} --enable-tls=openssl --enable-pthreads --enable-trace --disable-static --disable-rpath
+# Get rid of rpath
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}
 
 
@@ -75,6 +77,11 @@
 chmod -x COPYING
 iconv -f ISO8859-1 -t UTF8 ChangeLog.iso8859-1 > ChangeLog
 
+# Get rid of spawn-fcgi bits, they conflict with the lighttpd-fastcgi package
+# but are otherwise identical.
+rm -rf %{buildroot}%{_bindir}/spawn-fcgi
+rm -rf %{buildroot}%{_mandir}/man1/spawn-fcgi.*
+
 
 %clean
 rm -rf %{buildroot}
@@ -111,7 +118,7 @@
 %{_bindir}/cget
 %{_bindir}/cherokee-panic
 %{_bindir}/cherokee-tweak
-%{_bindir}/spawn-fcgi
+# %%{_bindir}/spawn-fcgi
 %{_sbindir}/cherokee
 %{_sbindir}/cherokee-admin
 %{_sbindir}/cherokee-worker
@@ -128,7 +135,7 @@
 %doc %{_mandir}/man1/cherokee-tweak.1*
 %doc %{_mandir}/man1/cherokee-admin.1*
 %doc %{_mandir}/man1/cherokee-worker.1*
-%doc %{_mandir}/man1/spawn-fcgi.1*
+# %%doc %{_mandir}/man1/spawn-fcgi.1*
 %dir %{_var}/www/%{name}/
 %dir %{_var}/www/%{name}/images/
 %config(noreplace) %{_var}/www/%{name}/images/cherokee-logo.png
@@ -148,6 +155,10 @@
 
 
 %changelog
+* Thu Nov  6 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.10.0-2
+- do not package spawn-fcgi files (lighttpd-fastcgi provides them)
+  Resolves bz 469947
+- get rid of rpath in compiled files
 * Fri Oct 31 2008 Pavel Lisy <pavel.lisy at gmail.com> - 0.10.0-1
 - updated to 0.10.0
 * Sun Sep 07 2008 Pavel Lisy <pavel.lisy at gmail.com> - 0.8.1-2




More information about the fedora-extras-commits mailing list