Douglas Garstang wrote: > The spec file for for (whatever version this actually is), doesn't > cleanly build an RPM either. > > + /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/puppet-2.6.0 > find: debug: No such file or directory > + /usr/lib/rpm/redhat/brp-compress > + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip > + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump > + /usr/lib/rpm/brp-python-bytecompile > + /usr/lib/rpm/redhat/brp-java-repack-jars > error: Bad file: /usr/src/redhat/SOURCES/rundir-perms.patch: No such > file or directory > error: Bad file: /usr/src/redhat/SOURCES/puppet-2.6.0.tar.gz.sign: No > such file or directory > > There's nothing on the download page about those two files. Where do I > get them? I don't know what the earlier find error is about.
Any reason to not use the packages from: http://tmz.fedorapeople.org/repo/puppet/epel/ The spec file included in the tarballs is not automatically synced up with each relesae, it's there simply as a convenience for folks that don't want to have to rewrite it from scratch. Personally, until 2.6.x is beat on a little more, we probably won't push it into EPEL. But until then, I plan to update my fedorapeople repo with the latest releases and release candidates. You could grab the yum repo file from there and then install puppet-2.6.0 explicitly if you don't want to run 2.6.1rc1. Or, grab the srpm and rebuild it if you like. You'll need to pass in some definitions that the Fedora/EPEL build system uses. rpmbuild --rebuild --define 'dist .el5' --define 'rhel 5' \ --define 'el5 1' /path/to/puppet*.src.rpm You can pass some options to disable augeas and selinux if you like as well. Also, from the /usr/src/redhat paths in your output, it looks like you're building as root. That's generally not a good idea. If you're on RHEL/CentOS, install rpmdevtools and run rpmdev-setuptree to setup a local user account for building. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Marriages are made in heaven. But so are thunder, lightning, and hail.
pgpvV4j9WcmfJ.pgp
Description: PGP signature