SPECS: checkinstall.spec - changed installwatch paths in checkinst...

charles charles at pld-linux.org
Tue Dec 6 12:07:15 CET 2005


Author: charles                      Date: Tue Dec  6 11:07:15 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- changed installwatch paths in checkinstallrc, BR: sed >= 4.0

---- Files affected:
SPECS:
   checkinstall.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/checkinstall.spec
diff -u SPECS/checkinstall.spec:1.16 SPECS/checkinstall.spec:1.17
--- SPECS/checkinstall.spec:1.16	Tue Dec  6 11:44:56 2005
+++ SPECS/checkinstall.spec	Tue Dec  6 12:07:09 2005
@@ -9,6 +9,7 @@
 Source0:	http://asic-linux.com.mx/~izto/checkinstall/files/source/%{name}-%{version}.tgz
 # Source0-md5:	41c1be61199406edf2e3ee92f2007fe5
 URL:		http://asic-linux.com.mx/~izto/checkinstall/
+BuildRequires:	sed >= 4.0
 Requires:	bash
 Requires:	installwatch >= 0.6.3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,8 +34,8 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir}/checkinstall}
 
-sed -e "s|#\!/bin/sh|#\!/bin/bash|" < checkinstall > foo
-sed -e "s|/usr/local|%{_prefix}|" < foo > checkinstall
+%{__sed} -i "s|#\!/bin/sh|#\!/bin/bash|" checkinstall
+%{__sed} -i "s|/usr/local|%{_prefix}|" checkinstall{,rc-dist}
 
 install {checkinstall,makepak} $RPM_BUILD_ROOT%{_sbindir}
 install checkinstallrc-dist $RPM_BUILD_ROOT%{_libdir}/checkinstall/checkinstallrc
@@ -55,6 +56,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2005/12/06 11:07:09  charles
+- changed installwatch paths in checkinstallrc, BR: sed >= 4.0
+
 Revision 1.16  2005/12/06 10:44:56  charles
 - proper  URLs, md5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/checkinstall.spec?r1=1.16&r2=1.17&f=u




More information about the pld-cvs-commit mailing list