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

Re: broken src rpm



On Fri, May 31, 2002 at 04:53:52PM -0400, rpjday wrote:
> 
>   i just hacked a src rpm that failed to build, most likely due to
> a misspelled variable name.  autolog-0.40-1.src.rpm, whose spec file
> started with:
> 
> ... some stuff deleted ...
> 
> %prep
> %setup -q
> 
> %build
> # Remove stale binaries
> %{__make} clean
> 
> %{__make} CFLAGS="%{rpmcflags}"
> 
> 
> 
>   trying to build the i386 rpm eventually generated the message:
> 
> ...
> gcc %{rpmcflags} -o autolog autolog.c
> gcc: %{rpmcflags}: No such file or directory
> make: *** [autolog] Error 1
> 
> 
> just removing the "CFLAGS" part of that line in the spec file fixed it.
> is that a misspelled variable name or something?  where does one find a
> summary of spec file variables and directives?  thanks.

Here's what you have configured:
	rpm --showrc | more
Descriptions in /usr/lib/ropm/macros.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC





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