SPECS: tintin.spec - switch patch0 to sed, it's just one line that...

shadzik shadzik at pld-linux.org
Sun Dec 17 21:38:42 CET 2006


Author: shadzik                      Date: Sun Dec 17 20:38:42 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- switch patch0 to sed, it's just one line that needs to be fixed, patch isn't necessary

---- Files affected:
SPECS:
   tintin.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/tintin.spec
diff -u SPECS/tintin.spec:1.1 SPECS/tintin.spec:1.2
--- SPECS/tintin.spec:1.1	Sun Dec 17 12:54:32 2006
+++ SPECS/tintin.spec	Sun Dec 17 21:38:37 2006
@@ -8,9 +8,9 @@
 Group:		X11/Applications/Games
 Source0:	http://dl.sourceforge.net/tintin/%{name}-%{version}.tar.gz
 # Source0-md5:	4f171b8f73d29dd88934992114a5b683
-Patch0:		%{name}-Makefile.patch
 URL:		http://tintin.sourceforge.net/
 BuildRequires:	readline-devel
+BuildRequires:	sed >= 4.0
 BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,7 +22,7 @@
 
 %prep
 %setup -q -n tt
-%patch0 -p1
+%{__sed} -i -e 's@/usr/bin@$(DESTDIR)/usr/bin at g' src/Makefile.in
 
 %build
 cd src/
@@ -50,6 +50,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/12/17 20:38:37  shadzik
+- switch patch0 to sed, it's just one line that needs to be fixed, patch isn't necessary
+
 Revision 1.1  2006/12/17 11:54:32  lisu
 - initial PLD release
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/tintin.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list