Bug 526817 - fix BR in spec file
Summary: fix BR in spec file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nagios
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-01 20:57 UTC by Christopher McCrory
Modified: 2010-03-09 03:37 UTC (History)
5 users (show)

Fixed In Version: nagios-3.2.0-4.fc11
Clone Of:
Environment:
Last Closed: 2010-03-09 03:16:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christopher McCrory 2009-10-01 20:57:26 UTC
Description of problem:

will not build on RHEL5

Version-Release number of selected component (if applicable):
latest from cvs


How reproducible:
always

Steps to Reproduce:
1. rpmbuild ---rebuild nagios-3.2.0-2.fc13.src.rpm # on RHEL5
2.
3.
  
Actual results:
fails due to perl-devel not existing

Expected results:
compiles cleanly

Additional info:

patch below

fails:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1722922


works:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1722997


[chrismcc@tikanga64 devel]$ pwd
/home/chrismcc/koji/nagios/devel
[chrismcc@tikanga64 devel]$ cvs diff -u
? nagios-3.2.0-2.fc13.01pg.src.rpm
? nagios-3.2.0-2.fc13.src.rpm
cvs diff: Diffing .
Index: nagios.spec
===================================================================
RCS file: /cvs/extras/rpms/nagios/devel/nagios.spec,v
retrieving revision 1.74
diff -u -r1.74 nagios.spec
--- nagios.spec	17 Aug 2009 14:42:23 -0000	1.74
+++ nagios.spec	1 Oct 2009 20:56:29 -0000
@@ -1,7 +1,7 @@
 Name: nagios
 
 Version: 3.2.0
-Release: 2%{?dist}
+Release: 2%{?dist}.01pg
 Summary: Host/service/network monitoring program
 
 Group: Applications/System
@@ -19,7 +19,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: gd-devel > 1.8, mailx, libjpeg-devel, libpng-devel
-BuildRequires:  perl-devel
+BuildRequires:  perl(Test::Harness) perl(Test::More) perl(Test::Simple) perl(ExtUtils::MakeMaker) perl(CPAN) 
 BuildRequires:  perl(ExtUtils::Embed)
 
 Requires: httpd
@@ -204,6 +204,11 @@
 %{_includedir}/%{name}
 
 %changelog
+* Thu Oct 1 2009 Christopher McCrory <chrismcc
+- remove BR perl-devel and add other perl( bits ) 
+- https://fedoraproject.org/wiki/Packaging/Perl#Core_modules_as_buildrequires
+- This allows building on RHEL5 / EPEL
+
 * Mon Aug 17 2009 Mike McGrath <mmcgrath> - 3.2.0-2
 - s/datarootdir/datadir/

Comment 1 Bug Zapper 2009-11-16 13:10:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Peter Lemenkov 2010-02-25 10:13:25 UTC
I'll take care of this issue

Comment 3 Fedora Update System 2010-02-25 12:17:03 UTC
nagios-3.2.0-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/nagios-3.2.0-4.fc12

Comment 4 Fedora Update System 2010-02-25 12:17:26 UTC
nagios-3.2.0-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/nagios-3.2.0-4.fc13

Comment 5 Fedora Update System 2010-02-25 12:17:51 UTC
nagios-3.2.0-4.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/nagios-3.2.0-4.fc11

Comment 6 Fedora Update System 2010-02-26 03:36:53 UTC
nagios-3.2.0-4.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update nagios'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-2903

Comment 7 Fedora Update System 2010-02-26 03:37:57 UTC
nagios-3.2.0-4.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update nagios'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2917

Comment 8 Fedora Update System 2010-02-26 03:45:56 UTC
nagios-3.2.0-4.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update nagios'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F13/FEDORA-2010-2957

Comment 9 Fedora Update System 2010-03-09 03:15:54 UTC
nagios-3.2.0-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-03-09 03:27:26 UTC
nagios-3.2.0-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-03-09 03:36:57 UTC
nagios-3.2.0-4.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.