OpenSSH 3.4p1 - compilation problem on Linux
Jim Knoble
jmknoble at pobox.com
Fri Jun 28 04:36:22 EST 2002
Circa 2002-Jun-27 14:48:53 +0100 dixit Craig Emery:
: One of the other "issues" I came across with building RPMs was that I
: couldn't just do
:
: % rpm -tb SOURCES/openssh-3.4p1.tar.gz
:
: because the .spec file that was found was *not* the
: openssh-3.4p1/contrib/redhat/openssh.spec one. :-(
: I haven't checked but I guess rpm "grabs" the first one it finds in a
: tarball (which would have been openssh-3.4p1/contrib/caldera/openssh.spec).
: Now you may say "if a user can do rpm -tb ... they can figure this out"
: but this made me scratch my head for a while & I maintain RPMs for two
: SF.net projects.
You are mostly correct. 'rpm -t<X> <tarball>' is only guaranteed to
work properly when <tarball> contains exactly one specfile (i.e., no
more, and no fewer). If there is more than one specfile in the tarball
(which there is for OpenSSH), then rpm picks an arbitrary specfile,
which may well not be the one you meant to use.
--
jim knoble | jmknoble at pobox.com | http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 262 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020627/f70e34fa/attachment.bin
More information about the openssh-unix-dev
mailing list