Re: rpm spec file - buildroot

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

 



On Wed, 14 Nov 2007 22:55:38 +1100
David Timms <dtimms@xxxxxxxxxxxx> 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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux