Bug 127857 - Missing BuildRequire
Missing BuildRequire
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2004-07-14 15:25 EDT by Andreas Thienemann
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-07-15 08:12:25 EDT
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 Andreas Thienemann 2004-07-14 15:25:42 EDT
Description of problem:

when rebuilding rpm and the redhat-release package is not installed,
the build stage will not create
/usr/src/redhat/(RPMS|SRPMS|BUILD|SPECS) but
/usr/src/pc/(RPMS|SRPMS|BUILD|SPECS) instead.

If this happens, the rebuild will fail as it checks for the assistance
of %{__prefix}/src/redhat/*

Version-Release number of selected component (if applicable):

Thus it would be advisable to include redhat-release or
/etc/redhat-release into the BuildRequirements.
Comment 1 Jeff Johnson 2004-07-15 08:12:25 EDT
rpm is built on other distros that do not have /etc/redhat-release.

/etc/redhat-release is like certain other build dependencies,
lik gcc and make, that are assumed rather than specified.

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