rpms/powerman/devel powerman.spec,1.8,1.9

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Thu Jan 31 20:51:15 UTC 2008


Author: jwilson

Update of /cvs/pkgs/rpms/powerman/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23105

Modified Files:
	powerman.spec 
Log Message:
Build with ncurses instead of termcap in f9+


Index: powerman.spec
===================================================================
RCS file: /cvs/pkgs/rpms/powerman/devel/powerman.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- powerman.spec	28 Jan 2008 17:23:35 -0000	1.8
+++ powerman.spec	31 Jan 2008 20:50:37 -0000	1.9
@@ -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 @@
 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 @@
 
 %if "%{?fedora}" >= "9"
 BuildRequires: libcurl-devel
+BuildRequires: ncurses-devel
 %else
 BuildRequires: curl-devel
+BuildRequires: libtermcap-devel
 %endif
 
 %description
@@ -32,6 +34,9 @@
 %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 @@
 %{_initrddir}/%{name}
 
 %changelog
+* Thu Jan 31 2008 Jarod Wilson <jwilson at redhat.com> 1.0.32-4
+- And now make it build with ncurses instead of termcap in f9+
+
 * Mon Jan 28 2008 Jarod Wilson <jwilson at redhat.com> 1.0.32-3
 - Ugh, add libtermcap-devel BR
 




More information about the fedora-extras-commits mailing list