packages: owfs/owfs.spec - use sed macro - rpmbuild(macros) required only w...

lisu lisu at pld-linux.org
Tue Jun 15 20:25:19 CEST 2010


Author: lisu                         Date: Tue Jun 15 18:25:19 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use sed macro
- rpmbuild(macros) required only when build with python

---- Files affected:
packages/owfs:
   owfs.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: packages/owfs/owfs.spec
diff -u packages/owfs/owfs.spec:1.17 packages/owfs/owfs.spec:1.18
--- packages/owfs/owfs.spec:1.17	Tue Jun 15 20:18:29 2010
+++ packages/owfs/owfs.spec	Tue Jun 15 20:25:13 2010
@@ -37,7 +37,7 @@
 %{?with_owphp:BuildRequires:	php-program}
 %{?with_python:BuildRequires:	python-devel >= 1:2.5}
 %{?with_python:BuildRequires:	rpm-pythonprov}
-BuildRequires:	rpmbuild(macros) >= 1.219
+%{?with_python:BuildRequires:	rpmbuild(macros) >= 1.219}
 BuildRequires:	sed >= 4.0
 %{?with_perl:BuildRequires:	swig-perl}
 %{?with_owphp:BuildRequires:	swig-php}
@@ -136,7 +136,7 @@
 %prep
 %setup -q
 
-sed -i -e 's/) Makefile.PL/& INSTALLDIRS=vendor/' \
+%{__sed} -i -e 's/) Makefile.PL/& INSTALLDIRS=vendor/' \
 	module/swig/perl5/Makefile.am \
 	module/ownet/perl5/Makefile.am
 
@@ -278,6 +278,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2010/06/15 18:25:13  lisu
+- use sed macro
+- rpmbuild(macros) required only when build with python
+
 Revision 1.17  2010/06/15 18:18:29  lisu
 - start update to 2.7p38
 - new .so versions
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/owfs/owfs.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list