llocal rpmmacros file are not readed by rpmbuild redhat 6
Panu Matilainen
pmatilai at laiskiainen.org
Wed Jan 16 11:37:11 UTC 2013
On 01/15/2013 12:27 PM, Hasan Yavuz wrote:
> Hello all
>
> I have a local rpmmacros file and it's not readed by rpmbuild. The same
> is working with redhat 4 and 5 and not working in redhat 6.
I suppose you mean Red Hat Enterprise Linux, there's no such thing as
"redhat 4/5/6"...
>
> rpmbuild --rcfile=/mnt/prz/5.0/etc/rpmrc --showrc
> ARCHITECTURE AND OS:
> build arch : x86_64
> compatible build archs: x86_64 noarch
> build os : Linux
> compatible build os's : Linux
> install arch : x86_64
> install os : Linux
> compatible archs : x86_64 amd64 em64t athlon noarch i686 i586 i486
> i386 fat
> compatible os's : Linux
>
> RPMRC VALUES:
> macrofiles :
> /usr/lib/rpm/macros:/usr/lib/rpm/ia32e-linux/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/ia32e-linux/macros:*/mnt/prz/new/etc/rpmmacros*:./*rpmmacros*
>
>
> *#more /mnt/prz/5.0/etc/rpmrc*
> include : /usr/lib/rpm/rpmrc
> macrofiles:
> /usr/lib/rpm/macros:/usr/lib/rpm/ia32e-linux/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/ia32e-linux/macros:/mnt/prz/new/etc/rpmmacros:*./rpmmacros*
>
>
> I don't see any value defined in my rpmmacros file.
>
> Is that someone already encoutered this kind of problem.
rpm >= 4.6.0 silently (and yes, intentionally) ignores any macrofiles:
directives in the rpmrc.
- Panu -
More information about the Rpm-list
mailing list