Bug 519061 - update rpmdev-newspec to match guidelines
Summary: update rpmdev-newspec to match guidelines
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmdevtools
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-24 19:14 UTC by Rahul Sundaram
Modified: 2013-03-13 05:45 UTC (History)
3 users (show)

Fixed In Version: 8.0-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-06 14:40:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2009-08-24 19:14:36 UTC
Description of problem:

Don't define a buildroot or remove it in %install. Soon, you wouldn't need a %clean section either.

Comment 1 Ville Skyttä 2009-08-26 15:42:31 UTC
I plan to revisit this issue when there's a version of RHEL out whose rpm supports these features.

Comment 2 Rahul Sundaram 2009-08-26 16:16:40 UTC
Well, don't know the timeframe for that but I don't think it is going to be soon. Meanwhile if you can use a template for Fedora which is different from the EPEL version, that would be useful to get rid of some spec file clutter.

Comment 3 Ville Skyttä 2009-08-26 17:12:27 UTC
I have no plans to do that at the moment.  Getting rid of that stuff from specfiles is pure cosmetics and low priority compared to the trouble it would cause for people rolling new packages for both Fedora and EPEL (not that much, but anyway an unnecessary burden) - in my opinion the basic constructs of specfiles generated by rpmdev-newspec should work at least for the latest EPEL version.

Comment 4 Bug Zapper 2009-11-16 11:38:59 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 5 Bug Zapper 2010-11-04 10:24:04 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Ville Skyttä 2011-02-06 14:40:21 UTC
newspec now filters constructs from spec templates that are not needed in the target rpm verson.  The target rpm version is the system rpm version by default, and can be changed with for example RPMVER=4.4 in ~/.config/rpmdevtools/newspec.conf


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