rpms/hunt/devel hunt.spec,1.7,1.8

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Sat Feb 18 09:45:32 UTC 2006


Author: ensc

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

Modified Files:
	hunt.spec 
Log Message:
- removed unneeded curlies
- use commands directly instead of the %__XXX macros



Index: hunt.spec
===================================================================
RCS file: /cvs/extras/rpms/hunt/devel/hunt.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- hunt.spec	19 May 2005 16:58:27 -0000	1.7
+++ hunt.spec	18 Feb 2006 09:45:31 -0000	1.8
@@ -1,21 +1,21 @@
 # $Id$
 
-%{!?release_func:%define release_func() %1%{?dist}}
+%{!?release_func:%global release_func() %1%{?dist}}
 
 Summary:	Tool for demonstrating well known weaknesses in the TCP/IP protocol suite
 Name:		hunt
 Version:	1.5
-Release:	%release_func 4
+Release:	%release_func 5
 License:	GPL
 Group:		Applications/Internet
-Source:		http://lin.fsid.cvut.cz/~kra/hunt/%{name}-%{version}.tgz
+Source:		http://lin.fsid.cvut.cz/~kra/hunt/%name-%version.tgz
 Patch0:		hunt-1.5-arridx.patch
 Patch1:		hunt-1.5-cleanup.patch
 Patch2:		hunt-1.5-signness.patch
 Patch3:		hunt-1.5-listlen.patch
 Patch4:		hunt-1.5-badcmp.patch
 URL:		http://lin.fsid.cvut.cz/~kra/index.html
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRoot:	%_tmppath/%name-%version-%release-root
 
 %description
 Hunt is a program for intruding into a connection, watching it and
@@ -43,34 +43,38 @@
 
 
 %build
-%{__make} %{?_smp_mflags} all CFLAGS="$RPM_OPT_FLAGS -D_REENTRANT"
+make %{?_smp_mflags} all CFLAGS="$RPM_OPT_FLAGS -D_REENTRANT"
 
 
 %install
-%{__rm} -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
-%{__install} -d $RPM_BUILD_ROOT%{_sbindir} $RPM_BUILD_ROOT%{_mandir}/man1 \
-                $RPM_BUILD_ROOT%{_libdir}/%{name}
+install -d $RPM_BUILD_ROOT%_sbindir $RPM_BUILD_ROOT%_mandir/man1 \
+           $RPM_BUILD_ROOT%_libdir/%name
 
-%{__install} -p hunt          $RPM_BUILD_ROOT%{_sbindir}/
-%{__install} -p tpsetup/*     $RPM_BUILD_ROOT%{_libdir}/%{name}/
-%{__install} -p -m644 man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/
+install -p hunt          $RPM_BUILD_ROOT%_sbindir/
+install -p tpsetup/*     $RPM_BUILD_ROOT%_libdir/%name/
+install -p -m644 man/*.1 $RPM_BUILD_ROOT%_mandir/man1/
 
 
 %clean
-%{__rm} -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 
 %files
 %defattr(-,root,root)
 %doc CHANGES COPYING README* TODO
-%doc %{_mandir}/*/*
-%{_sbindir}/*
-%{_libdir}/hunt
+%doc %_mandir/*/*
+%_sbindir/*
+%_libdir/hunt
 
 
 
 %changelog
+* Sat Feb 18 2006 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 1.5-5
+- removed unneeded curlies
+- use commands directly instead of the %%__XXX macros
+
 * Thu May 19 2005 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 1.5-4
 - use %%dist instead of %%disttag
 




More information about the fedora-extras-commits mailing list