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: | SDL | Assignee: | Petr Pisar <ppisar> |
| Status: | CLOSED ERRATA | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.2 | CC: | pknirsch, riek |
| Target Milestone: | rc | Keywords: | 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 | ||
Proposing for RHEL-5.3 and granting Devel ACK. Read ya, Phil Proposing bug for RHEL-5.3 FasTrack. Read ya, Phil 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.
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.
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 |
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