rpms/nuttcp/devel nuttcp.spec,1.5,1.6

Radek Vokál (rvokal) fedora-extras-commits at redhat.com
Mon Jan 29 08:58:12 UTC 2007


Author: rvokal

Update of /cvs/extras/rpms/nuttcp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8977

Modified Files:
	nuttcp.spec 
Log Message:
- fix CFLAGS (#225102)


Index: nuttcp.spec
===================================================================
RCS file: /cvs/extras/rpms/nuttcp/devel/nuttcp.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- nuttcp.spec	11 Sep 2006 07:23:57 -0000	1.5
+++ nuttcp.spec	29 Jan 2007 08:57:42 -0000	1.6
@@ -1,7 +1,6 @@
 Name: nuttcp
 Version: 5.3.1
-Release: 2%{?dist}
-# upstream doesn't provide a tarball
+Release: 3%{?dist}
 Source0: ftp://ftp.lcp.nrl.navy.mil/pub/nuttcp/%{name}-%{version}.tar.bz2
 URL: ftp://ftp.lcp.nrl.navy.mil/pub/nuttcp/
 Summary: Tool for testing TCP connections
@@ -27,8 +26,7 @@
        -e  "s,disable\(.*\)no,disable\t\t= yes,g" xinetd.d/*
 
 %build
-# no smp flags required; only one source file
-OPT="$RPM_OPT_FLAGS" make
+make CFLAGS="$RPM_OPT_FLAGS"
 
 %install
 rm -fr $RPM_BUILD_ROOT
@@ -48,6 +46,9 @@
 %config(noreplace) %{_sysconfdir}/xinetd.d/%{name}
 
 %changelog
+* Mon Jan 29 2007 Radek Vokál <rvokal at redhat.com> - 5.3.1-3
+- fix CFLAGS (#225102)
+
 * Mon Sep 11 2006 Radek Vokal <rvokal at redhat.com> - 5.3.1-2
 - rebuilt
 




More information about the fedora-extras-commits mailing list