Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 440629

Summary: there should be %{?dist} instead of %{dist} in the *.spec on the Release: line
Product: Red Hat Enterprise Linux 5 Reporter: Jan Hutař <jhutar>
Component: SDLAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: pknirsch, riek
Target Milestone: rcKeywords: EasyFix
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: SDL-1.2.10-9.el5 Doc Type: Bug Fix
Doc Text:
Cause `dist' macro in Release tag has not been expanded conditionally. Consequence Building SDL package in environments without defined dist macro could cause building failures or warnings. Spec file does not conform to packaging guidelines. Fix `dist' macro is expanded conditionally by using conditional expansion. Result Building proceeds without warnings about undefined macro. The macro is expanded to empty string if not defined in build environment.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-31 09:15:49 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:
Bug Depends On:    
Bug Blocks: 440605    

Description Jan Hutař 2008-04-04 11:08:22 UTC
Description of problem:
There should be "%{?dist}" instead of "%{dist}" in the *.spec file on the 
"Release:" line.


Version-Release number of selected component (if applicable):
SDL-1.2.10-8.el5


Additional info:
http://fedoraproject.org/wiki/Packaging/DistTag

Comment 1 Phil Knirsch 2008-05-05 12:10:30 UTC
Proposing for RHEL-5.3 and granting Devel ACK.

Read ya, Phil


Comment 3 Phil Knirsch 2008-05-14 14:29:34 UTC
Proposing bug for RHEL-5.3 FasTrack.

Read ya, Phil


Comment 4 RHEL Program Management 2008-05-14 14:43:27 UTC
This bugzilla was reviewed by QE as a non-FasTrack request.
It has since been proposed for FasTrack. The qa_ack has 
been reset. QE needs to re-review this bugzilla for FasTrack.

Comment 15 Petr Pisar 2011-08-26 08:44:10 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
    `dist' macro in Release tag has not been expanded
    conditionally.
Consequence
    Building SDL package in environments without defined dist
    macro could cause building failures or warnings. Spec file
    does not conform to packaging guidelines.
Fix
    `dist' macro is expanded conditionally by using conditional
    expansion.
Result
    Building proceeds without warnings about undefined macro.
    The macro is expanded to empty string if not defined in
    build environment.

Comment 18 errata-xmlrpc 2011-08-31 09:15:49 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1233.html