Bug 430302 - Change buildroot to fit guideline
Summary: Change buildroot to fit guideline
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmdevtools
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-25 22:23 UTC by Michel Lind
Modified: 2008-01-26 08:50 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-01-26 08:50:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michel Lind 2008-01-25 22:23:03 UTC
Description of problem:
The RPM spec template installed by rpmdev-newrpmspec has this line:

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Perhaps this should be changed to fit the guideline's preferred style,
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)


Version-Release number of selected component (if applicable):
rpmdevtools-6.4-1.fc8

Comment 1 Ville Skyttä 2008-01-26 08:50:39 UTC
I don't think there's any real technical reason to change it, and the current
BuildRoot is both accepted by the guidelines and happens to be my personal
favourite, so I'll keep it as is.


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