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

Re: rpm --define



On Wed, 16 Jan 2002 16:56:10 +0100 (CET), Thomas Vander Stichele
<thomas@urgent.rug.ac.be> wrote:

>for an automatic build script I've written I want to generate rpm's in
>a custom rpm dir.
>For this I have the following shell bit :
>
>    DEFINE="'_topdir $BR'"
>    rpm --define=$DEFINE -ta $MODULE-$VERSION.tar.gz

I use the following:

1) set up a config file
$ cat /etc/popt
rpm alias --topdir --define '_topdir !#:+'
$


2) use new rpm popt interpreted --topdir option
rpm --topdir /some/path .... -ba some.spec

-- 
giulioo@pobox.com





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