[CentOS-devel] Is which requried for rpm-build?

Mon Jan 4 19:54:07 UTC 2016
Jim Perrin <jperrin at centos.org>


On 01/04/2016 01:12 PM, Andrew Neff wrote:

> My question is where is the error, and where can I file/view a bug report?
> Should rpm-build from https://git.centos.org/summary/?r=rpms/rpm have
> "Requires: which" for the build package? Or is which supposed to be in
> "Development tools", or am I just doing this all wrong?

The which command is expected for rpm build environments, but it is not
included in 7.2.1511 (or :latest) docker containers. This was due to a
request from upstream to sync the base containers ->
https://bugzilla.redhat.com/show_bug.cgi?id=1273938

I would suspect that which could (and possibly should) be added as a
Requires upstream. In the meantime you should consider making sure you
install the packages listed either in Fedora's packaging guidelines or
spelled out in centos mock configs (like this one for example
https://git.centos.org/blob/sig-core!bld-seven.git/29517e030ebfb5c376dd742711077ac305e8c269/mock!c7.common-x86_64.cfg
)




-- 
Jim Perrin
The CentOS Project | http://www.centos.org
twitter: @BitIntegrity | GPG Key: FA09AD77