]> git.pld-linux.org Git - packages/apache1.git/commitdiff
- add lingerd to initscript; lib64 fixes
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 29 Nov 2005 00:29:06 +0000 (00:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1.spec -> 1.122

apache1.spec

index f2c55ec644579a1c60a517d80b4a35187c40e382..0369d54be06c3dcab1f3cbe0d248ecc45d9b9b42 100644 (file)
@@ -31,7 +31,7 @@ Summary(uk):  
 Summary(zh_CN):        Internet ÉÏÓ¦ÓÃ×î¹ã·ºµÄ Web ·þÎñ³ÌÐò¡£
 Name:          apache1
 Version:       1.3.34
-Release:       5.3
+Release:       5.4
 License:       Apache Group
 Group:         Networking/Daemons
 Source0:       http://www.apache.org/dist/httpd/apache_%{version}.tar.gz
@@ -1334,7 +1334,7 @@ install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig,monit} \
        root=$RPM_BUILD_ROOT
 
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache1
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/apache
+sed -e '%{?with_lingerd:s,/usr/lib,%{_libdir},g}' %{SOURCE1} > $RPM_BUILD_ROOT/etc/rc.d/init.d/apache
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
@@ -1832,7 +1832,7 @@ fi
 %dir %{_libexecdir}
 
 %if %{with lingerd}
-%{_libexecdir}/lingerd
+%attr(755,root,root) %{_libexecdir}/lingerd
 %attr(770,root,http) %dir %{_localstatedir}/run/lingerd
 %endif
 
This page took 0.03924 seconds and 4 git commands to generate.