Bug 430302 - Change buildroot to fit guideline
Change buildroot to fit guideline
Product: Fedora
Classification: Fedora
Component: rpmdevtools (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-01-25 17:23 EST by Michel Alexandre Salim
Modified: 2008-01-26 03:50 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-26 03:50:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michel Alexandre Salim 2008-01-25 17:23:03 EST
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):
Comment 1 Ville Skyttä 2008-01-26 03:50:39 EST
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.