Bug 702831 - rpm.spec file missing Requires:
Summary: rpm.spec file missing Requires:
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmdevtools
Version: 13
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-07 14:43 UTC by Quentin Armitage
Modified: 2011-05-08 07:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-07 15:22:22 UTC
Type: ---


Attachments (Terms of Use)

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.


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