On Wednesday 26 February 2003 23:18, Quel Qun wrote:
> On Wed, 2003-02-26 at 13:03, Steffen Barszus wrote:
> > 1.)
> > I want to have the kernel-version in the rpm, since it is a kernelmodul.
> > Is there any easy way to do so automagically ?
>
> KERNVER=`uname -r`
>
Thanks, I asked wrong, I wanted if possible the kernelname (uname -r) in the 
rpm-filename and if possible due some magig in the spec :)


> > 2.)
> > Where does the following configure-options come from? Can I switch them
> > off ? I only want some self defined options passed to configure.
> >
> > ----------snip-------------
> >  '[' -f configure.in ']'
> > + ./configure i586-mandrake-linux-gnu --prefix=/usr --exec-prefix=/usr
> > --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
> > --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
> > --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com
> > ---------snip--------------
> >
> > If this is offtopic, is there a list there I would be on-topic ?
>
> This is is coming from the %configure macro in the spec file. Juste use
> ./configure --prefix=/usr --your-option

Thanks that worked :)

> If you want to know how a macro evaluates, just run 'rpm --eval %macro'
>

Hmmm that returns only what I give:
$]# rpm --eval %doc
%doc

Something wrong with my environment ?
> Hope this is what you were looking for.

-- 
Regards
Steffen
____________________
counter.li.org : #296567.
machine: 181800
vdr-box : 87
____________________
Please dont CC me, since if I have replied I'll watch the tread. Both mails 
will be filtered to the ML-folder. Thanks

Reply via email to