Bug 575780

Summary: rt3 fails to build with --without-devel
Product: [Fedora] Fedora Reporter: Mark Chappell <tremble>
Component: rt3Assignee: Ralf Corsepius <rc040203>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: mmahut, rc040203, xavier
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rt3-3.8.7-2.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-21 21:29:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark Chappell 2010-03-22 12:28:28 UTC
Description of problem:

If you disable the rt3 devel option, the build bombs out

error: line 430: Package does not exist: %files -n perl-RT-Test

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

rt3-3.8.7-1

How reproducible:

everytime

Additional info:

The fix is simple (patch against rawhide)

diff -a -u -r1.49 rt3.spec
--- rt3.spec    14 Dec 2009 08:42:55 -0000      1.49
+++ rt3.spec    22 Mar 2010 11:52:54 -0000
@@ -427,10 +427,12 @@
 %{_sbindir}/rt-mailgate
 %{_mandir}/man1/rt-mailgate*
 
+%if 0%{?with_devel_mode}
 %files -n perl-RT-Test
 %defattr(-,root,root,-)
 %dir %{RT3_LIBDIR}/RT
 %{RT3_LIBDIR}/RT/Test*
+%endif

Comment 1 Fedora Update System 2010-03-23 16:59:26 UTC
rt3-3.8.7-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/rt3-3.8.7-2.fc13

Comment 2 Fedora Update System 2010-03-24 00:47:52 UTC
rt3-3.8.7-2.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 rt3'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/rt3-3.8.7-2.fc13

Comment 3 Fedora Update System 2010-06-21 21:29:11 UTC
rt3-3.8.7-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.