Re: llocal rpmmacros file are not readed by rpmbuild redhat 6

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

 



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 -



_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/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