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

Re: Sources?



On Mon, May 08, 2006 at 11:12:04AM +0200, Oscar Haeger wrote:
> Hi.
> Thanks for the answer. It sort of does what I want but not quite, but 
> perhaps it's just me who don't do it right.
> I tried the examples given above but that didn't quite do what I 
> wanted. It does reset the builddir to something else through the 
> command line, just what I wanted, but I also wanted to break out of the 
> "SOURCES", "SPECS" and "BUILD" structure. Is it at all possible to get 
> rpmbuild to look for sources in a directory not called "SOURCES"?

Yes:
$ grep SOURCES /usr/lib/rpm/*
/usr/lib/rpm/macros:%_sourcedir         %{_topdir}/SOURCES

So you just have to define _sourcedir to something else.

-- 
lfr
0/0

Attachment: pgphysyg80u2o.pgp
Description: PGP signature


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