From: lisu Date: Mon, 30 Mar 2009 09:36:07 +0000 (+0000) Subject: - use -ncurses.patch instead of sed macro to fix ncurses problem (add -I/usr/include... X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbosh.git;a=commitdiff_plain;h=ecf8fdfb4d3fbe5a14629818d64deaba10fd3aa1 - use -ncurses.patch instead of sed macro to fix ncurses problem (add -I/usr/include/ncurses to CFLAGS) Changed files: bosh.spec -> 1.2 --- diff --git a/bosh.spec b/bosh.spec index 726dbaa..3f549d4 100644 --- a/bosh.spec +++ b/bosh.spec @@ -6,11 +6,11 @@ License: GPL v2+ 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 @@ -22,7 +22,7 @@ the contents of the currently selected line. %prep %setup -q -%{__sed} -i 's@ncurses.h@ncurses/ncurses.h@' configure.in *.c +%patch0 -p1 %build %{__aclocal}