rpms/nagios/F-8 nagios.spec,1.38,1.39

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


Author: mmcgrath

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

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


Index: nagios.spec
===================================================================
RCS file: /cvs/extras/rpms/nagios/F-8/nagios.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- nagios.spec	18 Mar 2008 02:13:21 -0000	1.38
+++ nagios.spec	19 Mar 2008 00:53:31 -0000	1.39
@@ -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