rpms/ip-sentinel/devel ip-sentinel.spec,1.1,1.2
Enrico Scholz (ensc)
fedora-extras-commits at redhat.com
Tue Feb 8 23:25:27 UTC 2005
Author: ensc
Update of /cvs/extras/rpms/ip-sentinel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14955
Modified Files:
ip-sentinel.spec
Log Message:
workaround https://bugzilla.redhat.com/beta/show_bug.cgi?id=147238
added %_with_fedora default
Index: ip-sentinel.spec
===================================================================
RCS file: /cvs/extras/rpms/ip-sentinel/devel/ip-sentinel.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ip-sentinel.spec 2 Feb 2005 22:42:40 -0000 1.1
+++ ip-sentinel.spec 8 Feb 2005 23:25:24 -0000 1.2
@@ -23,7 +23,11 @@
## --define username\ name ... set the name of the user running the daemon
-%{!?_with_minit:%define _without_minit --without minit}
+## Fedora Extras specific customization below...
+%{!?_with_minit:%global _without_minit --without minit}
+%{!?_without_fedora:%global _with_fedora --with fedora}
+##
+
%define uid 1
%define useradd /usr/sbin/%{?_with_fedora:fedora-}useradd %{?_with_fedora:%uid }
@@ -31,13 +35,14 @@
%define userdel /usr/sbin/%{?_with_fedora:fedora-}userdel
%define groupdel /usr/sbin/%{?_with_fedora:fedora-}groupdel
-%{!?username:%define username ip-sentinel}
+%{!?username:%global username ip-sentinel}
%define service ip-sentinel
%define homedir %_var/lib/ip-sentinel
%define minitdir %_sysconfdir/minit
%define minitsvcdir %minitdir/services/%name
-%{!?release_func:%define release_func() %1}
+
+%{!?release_func:%global release_func() %1}
Summary: A tool to prevent unauthorized usage of IPs
Name: ip-sentinel
More information about the fedora-extras-commits
mailing list