Bug 490802 - Useless %release macro
Summary: Useless %release macro
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: systemtap
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Frank Ch. Eigler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-18 06:20 UTC by Lubomir Rintel
Modified: 2009-03-19 16:33 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-03-19 16:33:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lubomir Rintel 2009-03-18 06:20:22 UTC
On the first line of the spec file, you define the release macro like this:
%{!?release: %define release 1}

Apart from that being not nice while introducing needless ambiguity between it and the %release macro defined by Release: tag, this causes trouble with automatic version bumps (which occurred during the f11 mass rebuild; see rpmdev-bumpspec utility).

Please remove that line, and replace the Release flag as follows:

< Release: %{release}%{?dist}.1
> Release: 2%{?dist}

Comment 1 Frank Ch. Eigler 2009-03-19 16:33:16 UTC
Fixed upstream.  A new fedora-bound release should arrive around Mar. 25.


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