[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Implicit/minimum buildrequires



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 22 Sep 2003 15:00:14 -0400, Jakub Jelinek wrote:

> There is not much point of installing rpm-build if you don't want to build
> packages (otherwise you just need rpm). And to build any package, you need
> the minimal set of packages needed for building...

Good example is "make" which is an implicit build requirement of
almost every package, but which is neither required by rpm-build nor
by any other fundamental package:

$ rpm -q --whatrequires make /usr/bin/make
fedora-rpmdevtools-0.0.20-0.fdr.1
fedora-rpm-helper-0.02-0.fdr.1
redhat-lsb-1.3-1

$ rpm --redhatrequires make /usr/bin/make
efax-0.9-18
kdevelop-2.1.5-6
mod_ssl-2.0.40-21
nss_db-2.2-20
openldap-servers-2.0.27-8
stunnel-4.04-3
ypserv-2.6-2
redhat-lsb-1.3-1

So, basically one would need to put "Buildrequires: make" or similar
into every src.rpm. Because on a build machine, you could uninstall
the packages listed above easily (even redhat-lsb). fedora-rpmdevtools
makes sure, "make" is available on a build host. 

It's a similar thing with gcc, gcc-c++. You wouldn't want to make a
C/C++ compiler an explicit build requirement in every C/C++ package.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/b06T0iMVcrivHFQRAhGNAJ9mzYsgokKsfaM3WXxOSHRqoXwNmwCdHEVR
Rc7f9uPr5PKCekKLrsXN1jQ=
=kOwR
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]