Re: rpms for dummies?


Subject: Re: rpms for dummies?
rms@greymalkin.yi.org
Date: Tue Feb 20 2001 - 10:57:02 CST


On Tue, Feb 20, 2001 at 11:09:31AM -0500, Dom Lachowicz wrote:
> Christian Schaller (Uraeus for you gnome irc people) supplied us with a new
> RH spec. His instructions: download the required tarballs to
> /usr/src/redhat/SOURCES and put this spec into /usr/share/redhat/SPECS after
> editing the SPEC a *bit* (release number, ABI_OPT_OPTIMIZE, correct
> dependencies, ...)
>
> cd /usr/share/redhat/SPECS
> rpb -ba absuite.spec

Well, in a safer form:

useradd rpmbuild
su -l rpmbuild
cp -a /usr/src/redhat/* .
echo %_topdir=/home/rpmbuild > ~/.rpmmacros

Now, instead of root making the RPM and of /usr/src/redhat, you have:
rpmbuild making the RPM and /home/rpmbuild

Follow the same instructions, and please, sign your rpm :)

rpm --addsign abiword-version--rel.arch.rpm

Hugs, rms



This archive was generated by hypermail 2b25 : Tue Feb 20 2001 - 10:39:19 CST