-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 28 January 2002 04:46 pm, Ed Wilts wrote: > On Mon, Jan 28, 2002 at 01:35:03PM -0800, Melissa Rickman wrote: > > Hey everyone, > > I am trying RPM and find myself frustrated. I am testing the > > functionality of packaging with RPM on my Linux machine. I have some > > small source code in my /development area that I am trying to > > package. However, when I go to redirect the build area(with the > > command --buildroot or the Buildroot defined in the spec) it does not > > work, it still assumes the usr/src/redhat/Build and such > > What I personally do is create an .rpmmacros file in my home directory: > > [ewilts@corpftp ewilts]$ cat .rpmmacros > %_topdir /home/ewilts/rpm
Mike Harris put together a .rpmmacros file so users could build rpms in their home directory. I took his rpmmacros file, made a minor change or two for personal preferences, and wrote a script to install the file and create the needed directories. The script is pretty basic, but those new to rpm might find it useful. Instructions and a link to the tarball are here: http://www.tuxfan.homeip.net:8080/hack.html - -D - -- pgp key: http://www.tuxfan.homeip.net:8080/pgpkey.txt - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8Vhl3eMAUbzJhSVcRAhJ5AJ9cNooRjQSNMkXMuNAH5qJaJJOJTACaA9bF HRpRSsEwW+oz9RMuKT24VSc= =FS6P -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list