Bug 702831

Summary: rpm.spec file missing Requires:
Product: [Fedora] Fedora Reporter: Quentin Armitage <quentin>
Component: rpmdevtoolsAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 13CC: a.badger, elad, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-07 15:22:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Quentin Armitage 2011-05-07 14:43:17 UTC
Description of problem:
rpmdevtools requires both make and whch, but they are not listed as Requires: for package build.

Version-Release number of selected component (if applicable):
rpmdevtools-7.8-1.fc13.noarch


How reproducible:
Always

Steps to Reproduce:
1.Attempt to build a php package, and it complains that TEST_PHP_EXECUTABLE is not set. It is set using which.
2. Attempt to build a package without make installed and it will fail.
3.
  
Actual results:


Expected results:
Builds are successful.

Additional info:
This problem has been discovered on an arm based system, using Fedora 13 Beta 2 release for ARM, which doesn't include make or which in the root filesystem.

Comment 1 Elad Alfassa 2011-05-07 15:22:22 UTC
Not a bug. see here:
https://fedoraproject.org/wiki/PackagingGuidelines#Exceptions_2



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 2 Ville Skyttä 2011-05-08 07:32:02 UTC
Additionally, where did you find rpmdevtools requiring make and which?  Grepping through the rpmdevtools sources I did not find anything supporting that finding.

It is not rpmdevtools' business to set up a minimal build environment, it just pulls in things it actually requires.  I believe nowadays the minimal build environment is set up by the buildsys-build comps group ("yum install @buildsys-build" or "yum groupinstall buildsys-build"), and a proper mock setup should have done that for you automatically.