Author: glen Date: Tue Feb 20 07:19:15 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - use sed
---- Files affected: SPECS: spambayes.spec (1.28 -> 1.29) ---- Diffs: ================================================================ Index: SPECS/spambayes.spec diff -u SPECS/spambayes.spec:1.28 SPECS/spambayes.spec:1.29 --- SPECS/spambayes.spec:1.28 Mon Feb 12 23:09:15 2007 +++ SPECS/spambayes.spec Tue Feb 20 08:19:10 2007 @@ -10,10 +10,10 @@ Source0: http://dl.sourceforge.net/spambayes/%{name}-%{version}.tar.gz # Source0-md5: 78c33e79888d410711ff3c7dd7e98d79 URL: http://spambayes.sourceforge.net/ -BuildRequires: ed BuildRequires: python-devel >= 2.2 BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.140 +BuildRequires: sed >= 4.0 %pyrequires_eq python-libs BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -35,11 +35,7 @@ %prep %setup -q -# Files in the tarball are 0444, so patching will not -# work without this. -chmod -R u+w . - -echo -e ",s:/usr/local/bin/python:/usr/bin/python:g\n,w\nq" | ed utilities/loosecksum.py +%{__sed} -i -e '1s,#!.*/bin/python,#!%{_bindir}/python,' utilities/loosecksum.py %build python setup.py build @@ -73,6 +69,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.29 2007/02/20 07:19:10 glen +- use sed + Revision 1.28 2007/02/12 22:09:15 glen - tabs in preamble ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/spambayes.spec?r1=1.28&r2=1.29&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
