SPECS: bosh.spec - use -ncurses.patch instead of sed macro to fix ncurses p...

lisu lisu at pld-linux.org
Mon Mar 30 11:36:13 CEST 2009


Author: lisu                         Date: Mon Mar 30 09:36:13 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use -ncurses.patch instead of sed macro to fix ncurses problem (add -I/usr/include/ncurses to CFLAGS)

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

---- Diffs:

================================================================
Index: SPECS/bosh.spec
diff -u SPECS/bosh.spec:1.1 SPECS/bosh.spec:1.2
--- SPECS/bosh.spec:1.1	Fri Mar 27 10:19:03 2009
+++ SPECS/bosh.spec	Mon Mar 30 11:36:07 2009
@@ -7,11 +7,11 @@
 Group:		Applications
 Source0:	http://dl.sourceforge.net/bosh/%{name}-%{version}.tar.gz
 # Source0-md5:	975ef183ed4d2314186b1f2705d57c65
+Patch0:		%{name}-ncurses.patch
 URL:		http://bosh.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	ncurses-devel
-BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,7 +23,7 @@
 
 %prep
 %setup -q
-%{__sed} -i 's at ncurses.h@ncurses/ncurses.h@' configure.in *.c
+%patch0 -p1
 
 %build
 %{__aclocal}
@@ -53,6 +53,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/03/30 09:36:07  lisu
+- use -ncurses.patch instead of sed macro to fix ncurses problem (add -I/usr/include/ncurses to CFLAGS)
+
 Revision 1.1  2009/03/27 09:19:03  lisu
 - added to PLD
 
================================================================

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



More information about the pld-cvs-commit mailing list