From ecf8fdfb4d3fbe5a14629818d64deaba10fd3aa1 Mon Sep 17 00:00:00 2001 From: lisu Date: Mon, 30 Mar 2009 09:36:07 +0000 Subject: [PATCH] - use -ncurses.patch instead of sed macro to fix ncurses problem (add -I/usr/include/ncurses to CFLAGS) Changed files: bosh.spec -> 1.2 --- bosh.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} -- 2.43.0