Issue #7083 has been updated by Michael Stahnke.

Status changed from Unreviewed to Closed
Keywords set to srpms buildrequires 

Thanks for this report. 

The srpms are built using a standard Red Hat setup for RPM building (e.g. mock, 
or koji).  In both of these instances (and in compliance with Red Hat/Fedora 
Packaging guidelines) it is assumed that groupinstall buildsys-build has 
occurred. See http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2


You can run 'yum groupinstall buildsys-build' and you will get the base 
packages that are assumed to be there, and therefore are not required in the 
build requires portion of the spec file. 

On Modern RHEL/Fedora that would include: bash bzip2 coreutils cpio curl cvs 
diffutils fedpkg findutils gawk gcc gcc-c++ gnupg grep gzip info make patch 
redhat-release redhat-release-server redhat-rpm-config rpm-build sed 
shadow-utils tar unzip util-linux-ng which xz



----------------------------------------
Bug #7083: SRPMs have missing build dependencies
https://projects.puppetlabs.com/issues/7083

Author: Bryan Ross
Status: Closed
Priority: Low
Assignee: 
Category: installer
Target version: 
Keywords: srpms buildrequires 
Branch: 
Affected PE version: 


While rebuilding the `pe-*.src.rpm`'s from the [PuppetLabs Yum 
Repository](http://yum.puppetlabs.com/enterprise/centos-5-x86_64/) during some 
testing on a minimal CentOS 5.5 system, I noticed that a few of the `.spec` 
files appear to have a few (minor) missing build dependencies:

* `pe-augeas-0.7.2-1.el5.src.rpm` also requires `gcc` and `make`.
* `pe-httpd-2.2.3-3.el5.src.rpm` requires `make`, `mailcap` (for 
`/etc/mime.types`), `findutils` (for `/usr/bin/find`), `mktemp` (for 
`/bin/mktemp`), `coreutils` (for `/bin/mv` and `/bin/rm`), `chkconfig` (for 
`/sbin/chkconfig`), and `shadow-utils` (for `/usr/sbin/useradd`).
* `pe-httpd-passenger-2.2.11-4.el5.src.rpm` also requires `gcc-c++` and `make`.
* `pe-ruby-1.8.7.302-1.el5.src.rpm` also requires `make`.
* `pe-ruby-augeas-0.3.0-1.el5.src.rpm` also requires `gcc` and `make`.
* `pe-rubygem-rake-0.8.7-1.el5.src.rpm` also requires `gcc` and `make`.
* `pe-ruby-mysql-2.7.3-1.el5.src.rpm` also requires `gcc` and `make`.
* `pe-ruby-shadow-1.4.1-1.el5.src.rpm` also requires `gcc` and `make`.




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to