rpm spec file - buildroot
Frank Cox
theatre at sasktel.net
Wed Nov 14 16:02:36 UTC 2007
On Wed, 14 Nov 2007 22:55:38 +1100
David Timms <dtimms at iinet.net.au> wrote:
> Are you saying rpmbuild -ba x.spec is generating these errors ?
I tried various -b? parameters -- some appeared to go through the motions and
eventually I ended up with empty directories under ~/rpmbuild/RPMS and
~/rpmbuild/SRPMS. Others gave a stack of errors similar to the example I
posted. The only time I got anything at all in either of those directories was
when I told it to simply build me a srpm, which it did in less than a second.
However, as it obviously wouldn't compile that was a bit pointless.
> yum install redhat-rpm-config
>
> set your ~/.rpmmacros file with:
> %_topdir /home/you/src/redhat
>
> create the structure found at /usr/src/redhat/RPMS etc. in the topdir.
I assumed that rpmdev-setuptree did all of that for me. This is my ~/.rpmmacros
file:
%_topdir %(echo $HOME)/rpmbuild
%_smp_mflags -j3
%__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
--
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
More information about the fedora-list
mailing list