rpms/ip-sentinel/devel ip-sentinel.spec,1.5,1.6

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Wed Jun 8 16:16:09 UTC 2005


Author: ensc

Update of /cvs/extras/rpms/ip-sentinel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2163/devel

Modified Files:
	ip-sentinel.spec 
Log Message:
- added 'BuildRequires: which'
- do not use dietlibc on non-i386 archs running FC3



Index: ip-sentinel.spec
===================================================================
RCS file: /cvs/extras/rpms/ip-sentinel/devel/ip-sentinel.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ip-sentinel.spec	19 May 2005 17:08:28 -0000	1.5
+++ ip-sentinel.spec	8 Jun 2005 16:16:07 -0000	1.6
@@ -18,6 +18,7 @@
 
 ## This package understands the following switches:
 ## --without dietlibc	     ...   disable usage of dietlibc
+## --with    dietlibc        ...   enforce dietlibc usage on archs not supporting it
 ## --without minit	     ...   disable creation of 'minit' subpackage
 ## --with    fedora	     ...   enable fedora.us specific parts
 ## --define  username\ name  ...   set the name of the user running the daemon
@@ -42,12 +43,18 @@
 %global minitsvcdir	%minitdir/services/%name
 
 
+%global have_dietlibc		%(case %_target_cpu in (i*86|athlon) true;; (*) test '%{?dist}' != .fc3;; esac && echo 1 || echo 0)
+%if ! %have_dietlibc
+%{!?_with_dietlibc:%global	_without_dietlibc	--without dietlibc}
+%endif
+
+
 %{!?release_func:%global release_func() %1%{?dist}}
 
 Summary:	Tool to prevent unauthorized usage of IP addresses
 Name:		ip-sentinel
 Version:	0.12
-Release:	%release_func 2
+Release:	%release_func 3
 License:	GPL
 Group:		System Environment/Daemons
 URL:		http://www.nongnu.org/ip-sentinel/
@@ -55,6 +62,7 @@
 Source1:	http://savannah.nongnu.org/download/ip-sentinel/%name-%version.tar.bz2.sig
 BuildRoot:	%_tmppath/%name-%version-%release-buildroot
 Requires:		init(ip-sentinel)
+BuildRequires:	which
 
 %{!?_without_dietlibc:BuildRequires:	dietlibc}
 
@@ -191,6 +199,10 @@
 
 
 %changelog
+* Wed Jun  8 2005 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.12-3
+- added 'BuildRequires: which'
+- do not use dietlibc on non-i386 archs running FC3
+
 * Thu May 19 2005 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.12-2
 - use %%dist instead of %%disttag
 




More information about the fedora-extras-commits mailing list