Re: rpmbuild --rcfile does not recognize entries in rpmrc file

Michael Jennings <[email protected]>
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
On Friday, 05 October 2007, at 10:27:22 (-0700),
Isabelle Poueriet wrote:

> Hello, can anyone help here? Thanks in advance.
> 
> slughorn#rpm --rcfile ./rpmrc --showrc returns:
> 
> error: bad option 'vendor' at linux/pkg/rpmrc:1
> error: bad option 'sourcedir' at linux/pkg/rpmrc:2
> error: bad option 'rpmdir' at linux/pkg/rpmrc:3
> 
> slughorn#cat ./rpmrc
> vendor:XYZ
> sourcedir:/usr/src/packages/SOURCES
> rpmdir:/usr/src/packages/RPMS/5.5.0.0
> 
> I can recreate this problem in any of the following environments:
> 
> rpm versions: 
> 3.0.6-127
> 4.1.1-177
> 4.3.3-22
> 
> Linux vendors: 
> RHEL4, SLES7,SLES9,

Those aren't rpmrc entries.  You're confusing rpmrc with macros.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[email protected]>
Linux Server/Cluster Admin, LBL.gov       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "I feel wonderful because I see the love light in your eyes, and the
  wonder of it all is that you just don't realize how much I love
  you."                           -- Eric Clapton, "Wonderful Tonight"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.