[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
broken src rpm
- From: rpjday <rpjday mindspring com>
- To: rpm list <rpm-list redhat com>
- Subject: broken src rpm
- Date: Fri, 31 May 2002 16:53:52 -0400 (EDT)
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.
rday
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]