SPECS: octave.spec - BR sed >= 4 - remove build_root from octave files
baggins
baggins at pld-linux.org
Thu Feb 26 11:58:57 CET 2009
Author: baggins Date: Thu Feb 26 10:58:57 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- BR sed >= 4
- remove build_root from octave files
---- Files affected:
SPECS:
octave.spec (1.108 -> 1.109)
---- Diffs:
================================================================
Index: SPECS/octave.spec
diff -u SPECS/octave.spec:1.108 SPECS/octave.spec:1.109
--- SPECS/octave.spec:1.108 Thu Feb 26 11:52:07 2009
+++ SPECS/octave.spec Thu Feb 26 11:58:52 2009
@@ -39,6 +39,7 @@
BuildRequires: bison >= 1.31
BuildRequires: blas-devel
BuildRequires: curl-devel
+BuildRequires: sed >= 4.0
BuildRequires: fftw3-devel
BuildRequires: flex >= 2.5.4
BuildRequires: gcc-fortran
@@ -307,6 +308,10 @@
install doc/faq/*.info* $RPM_BUILD_ROOT%{_infodir}
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+# Remove RPM_BUILD_ROOT from ls-R files
+%{__sed} -i -e "s,$RPM_BUILD_ROOT,," $RPM_BUILD_ROOT%{_libdir}/%{name}/ls-R
+%{__sed} -i -e "s,$RPM_BUILD_ROOT,," $RPM_BUILD_ROOT%{_datadir}/%{name}/ls-R
+
# site dirs
install -d $RPM_BUILD_ROOT$(./octave-config --oct-site-dir)
install -d $RPM_BUILD_ROOT$(./octave-config --m-site-dir)
@@ -380,6 +385,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.109 2009/02/26 10:58:52 baggins
+- BR sed >= 4
+- remove build_root from octave files
+
Revision 1.108 2009/02/26 10:52:07 baggins
- rel 4
- create dirs for octave packages
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/octave.spec?r1=1.108&r2=1.109&f=u
More information about the pld-cvs-commit
mailing list