Re: Sources?

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

 



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: pgpJz59xTSUc1.pgp
Description: PGP signature

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux