[imp] RedHat 7 RPMS

Donnie Barnes djb@donniebarnes.com
Sat, 10 Feb 2001 20:05:53 -0500


> > Why not just put a spec file in the tarball?
> 
> The SPEC is in CVS (in the 2.2 branch).  I deliberately pulled the SPECs
> out of the tarballs some time ago; because of the nature of the build
> process (chicken-and-egg problem), if it goes in the tarball, it's always
> out of date.  CVS (and Chora) availability should suffice.

RPM has a little known feature that it will (or at least it used to) build 
both a source and binary RPM from a spec file in a tarball.  If you have it
named properly in the top level dir of the tarball, you could do something 
like 'rpm -bt foo.tgz' and it would unpack the tarball and build the RPMs 
according to the spec file it finds.

Moderately useful for those who want to support RPM but don't necessarily care 
to distribute anything but the tarball themselves.


--Donnie

--
  Donnie Barnes  http://www.donniebarnes.com  djb@donniebarnes.com  879.  V.