SPECS: cacti-plugin-weathermap.spec - do it without side-effects
glen
glen at pld-linux.org
Sat Sep 20 18:42:41 CEST 2008
Author: glen Date: Sat Sep 20 16:42:41 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- do it without side-effects
---- Files affected:
SPECS:
cacti-plugin-weathermap.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/cacti-plugin-weathermap.spec
diff -u SPECS/cacti-plugin-weathermap.spec:1.5 SPECS/cacti-plugin-weathermap.spec:1.6
--- SPECS/cacti-plugin-weathermap.spec:1.5 Sat Sep 20 16:52:31 2008
+++ SPECS/cacti-plugin-weathermap.spec Sat Sep 20 18:42:36 2008
@@ -44,12 +44,12 @@
find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
# fix php path
-%{__sed} -i -e 's/\/local//g' %{namesrc}
+%{__sed} -i -e '1s,#!.*bin/php,#!%{_bindir}/php,' %{namesrc}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{webcactipluginroot}
-cp -a * $RPM_BUILD_ROOT%{webcactipluginroot}
+cp -a . $RPM_BUILD_ROOT%{webcactipluginroot}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -65,6 +65,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2008/09/20 16:42:36 glen
+- do it without side-effects
+
Revision 1.5 2008/09/20 14:52:31 duddits
- fix path to php executable
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cacti-plugin-weathermap.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list