rpms/nagios/F-7 nagios.spec,1.32,1.33

Michael Patrick McGrath (mmcgrath) fedora-extras-commits at redhat.com
Wed Mar 19 00:54:00 UTC 2008


Author: mmcgrath

Update of /cvs/extras/rpms/nagios/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11726/F-7

Modified Files:
	nagios.spec 
Log Message:
adding spots fix to previous releases


Index: nagios.spec
===================================================================
RCS file: /cvs/extras/rpms/nagios/F-7/nagios.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- nagios.spec	18 Mar 2008 02:12:59 -0000	1.32
+++ nagios.spec	19 Mar 2008 00:53:26 -0000	1.33
@@ -2,7 +2,7 @@
 Name: nagios
 
 Version: 2.11
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Host/service/network monitoring program
 
 Group: Applications/System
@@ -17,14 +17,15 @@
 BuildRequires: gd-devel > 1.8, mailx, libjpeg-devel, libpng-devel
 %if "%{?fedora}" > "7"
 BuildRequires:  perl-devel
-BuildRequires:  perl-ExtUtils-Embed
+BuildRequires:  perl(ExtUtils::Embed)
 %endif
 
 Requires: httpd
-Requires(pre): %{_sbindir}/useradd
-Requires(preun): /sbin/service, /sbin/chkconfig
-Requires(post): /sbin/chkconfig, /sbin/service, %{_sbindir}/usermod
-Requires(postun): /sbin/service
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires(pre): shadow-utils
+Requires(preun): initscripts, chkconfig
+Requires(post): initscripts, chkconfig, shadow-utils
+Requires(postun): initscripts
 
 %description
 Nagios is a program that will monitor hosts and services on your
@@ -168,6 +169,10 @@
 %{_includedir}/%{name}
 
 %changelog
+* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.11-3
+- add Requires for versioned perl (libperl.so)
+- get rid of pointless file Requires
+
 * Mon Mar 17 2008 Mike McGrath <mmcgrath at redhat.com> 2.11-2
 - Upstream released new version
 - Added perl-ExtUtils-Embed




More information about the fedora-extras-commits mailing list