SPECS: mantis.spec - fix php program dep

glen glen at pld-linux.org
Sat Dec 24 14:38:23 CET 2005


Author: glen                         Date: Sat Dec 24 13:38:23 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix php program dep

---- Files affected:
SPECS:
   mantis.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/mantis.spec
diff -u SPECS/mantis.spec:1.32 SPECS/mantis.spec:1.33
--- SPECS/mantis.spec:1.32	Sat Dec 24 14:27:26 2005
+++ SPECS/mantis.spec	Sat Dec 24 14:38:17 2005
@@ -16,6 +16,7 @@
 Patch1:		%{name}-doc.patch
 URL:		http://mantisbt.sourceforge.net/
 BuildRequires:	rpmbuild(macros) >= 1.264
+BuildRequires:	sed >= 4.0
 Requires(triggerpostun):	sed >= 4.0
 Requires:	webapps
 Requires:	webserver = apache
@@ -58,6 +59,7 @@
 %setup -q -a1
 %patch0 -p1
 %patch1 -p1
+sed -i -e '1s,#!.*bin/php,#!%{_bindir}/php,' core/checkin.php
 find . -type d -name CVS | xargs rm -rf
 find . -type f -name .cvsignore | xargs rm -rf
 find '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v
@@ -69,8 +71,7 @@
 install -d $RPM_BUILD_ROOT{%{_appdir}/doc,%{_sysconfdir}}
 
 cp -af {*.php,admin,core,css,graphs,images,javascript,lang,sql} $RPM_BUILD_ROOT%{_appdir}
-
-install config_inc.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/config.php
+cp -a config_inc.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/config.php
 ln -s %{_sysconfdir}/config.php $RPM_BUILD_ROOT%{_appdir}/config_inc.php
 
 mv $RPM_BUILD_ROOT{%{_appdir}/config_defaults_inc.php,%{_sysconfdir}/config_defaults.php}
@@ -239,6 +240,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2005/12/24 13:38:17  glen
+- fix php program dep
+
 Revision 1.32  2005/12/24 13:27:26  glen
 - 0.19.4 (Multiple vulnerabilities resolved)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mantis.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list