From 0f45cd3d68de550c119f49c22f9d9c6b55d4a9db Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Jan 31 2008 20:50:37 +0000 Subject: Build with ncurses instead of termcap in f9+ --- diff --git a/powerman.spec b/powerman.spec index 5519aef..ba00246 100644 --- a/powerman.spec +++ b/powerman.spec @@ -1,6 +1,6 @@ Name: powerman Version: 1.0.32 -Release: 3%{?dist} +Release: 4%{?dist} Summary: PowerMan - Power to the Cluster Group: Applications/System @@ -10,7 +10,7 @@ Source0: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz Patch1: powerman-1.0.25-optflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: flex bison readline-devel libtermcap-devel +BuildRequires: flex bison readline-devel %if "%{?fedora}" <= "6" BuildRequires: tcp_wrappers %else @@ -19,8 +19,10 @@ BuildRequires: tcp_wrappers-devel %if "%{?fedora}" >= "9" BuildRequires: libcurl-devel +BuildRequires: ncurses-devel %else BuildRequires: curl-devel +BuildRequires: libtermcap-devel %endif %description @@ -32,6 +34,9 @@ Expect-like configurability simplifies the addition of new devices. %setup -q # Honor $RPM_OPT_FLAGS %patch1 -p1 -b .optflags +%if "%{?fedora}" >= "9" +sed -i -e 's/termcap/ncurses/g' src/Makefile +%endif %build # parallel makes often fail @@ -84,6 +89,9 @@ fi %{_initrddir}/%{name} %changelog +* Thu Jan 31 2008 Jarod Wilson 1.0.32-4 +- And now make it build with ncurses instead of termcap in f9+ + * Mon Jan 28 2008 Jarod Wilson 1.0.32-3 - Ugh, add libtermcap-devel BR