On Fri, Dec 19, 2003 at 10:48:47AM -0500, Tom Copeland wrote:
> Just wondering if you've had a chance to put together the source RPMs
> yet...

While you're waiting, it's easy to make your own from the source
tarball, since the tarball includes an RPM specification.

1. If you've never constructed an RPM before, you should first 
create a file called .rpmmacros, which contains a directive 
setting your topdir to a directory your non-privileged account 
can write to:

echo "%_topdir $HOME/rpmbuild" >$HOME/.rpmmacros

2. Create the directory structure needed for RPMS:
(assuming you're in your home directory and used the _topdir above)

mkdir -p rpmbuild/BUILD  rpmbuild/RPMS  rpmbuild/SOURCES rpmbuild/SPECS  rpmbuild/SRPMS

3. Extract the source tarball in your home directory (or at least extract
cvs.spec)

4. Copy the (compressed) source tarball into rpmbuild/SOURCES

5. issue the rpmbuild command:
rpmbuild -ba cvs-1.11.11/cvs.spec

This will place an SRPM in $HOME/rpmbuild/SRPMS and 3 ready-to-install
RPMs in $HOME/rpmbuild/RPMS/your-architecture.

HTH,

Geoff


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to