[leafnode-list] Re: leafnode.spec.in needs patch (Version 2)
Matthias Andree
matthias.andree at gmx.de
Mon Jul 17 00:19:41 CEST 2006
"Kevin R. Bulgrien" <kbulgrien at worldnet.att.net> writes:
> The problem arose because I did change %prefix to /usr/local and the
> rpmbuild process croaked.
Well, what I found in the years I was around packaging RPMs is that the
RPM documentation is abysmal. There's somewhat recent documentation on
the basics on the Fedora website, but either SUSE forget packaging half
of the docs or there are none.
Anyways, can you try the attached patch and let me know if it works
better for you? It does for me.
You still need to edit the _prefix line to read /usr/local,
I left it at /usr.
> For the time being, I gave up and left %prefix as /usr. It is, after all
> a package, so it can be cleanly removed. I was just thinking it would
> be nice to have my customized packages installed to /usr/local and
> not to the same base that the native distribution packages were
> installed. I posted because it seems that there might be a bug in
> the spec file set up as it relates to %prefix, or at least something
> that is not very clear to people who aren't building RPMs on a regular
> basis.
The %configure macro, at least on SUSE 10.0 that I'm using, indeed uses
%_prefix instead. ("rpm --showrc | less" to see the macros, look for the
configure macro and see if it passes --prefix=%{_prefix} in).
--
Matthias Andree
-------------- next part --------------
A non-text attachment was scrubbed...
Name: leafnode.spec.in.diff
Type: text/x-patch
Size: 2740 bytes
Desc: not available
URL: <http://krusty.dt.e-technik.tu-dortmund.de/pipermail/leafnode-list/attachments/20060717/824db5ed/attachment.bin>
More information about the leafnode-list
mailing list