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

This allows me to rebuild all the source RPMs I get without touching /usr/src.
I also build the rpm directory as follows:

[ewilts@corpftp ewilts]$ ls --color=never -FR rpm
rpm:
BUILD/  RPMS/  SOURCES/  SPECS/

rpm/BUILD:

rpm/RPMS:
i386/

rpm/RPMS/i386:

rpm/SOURCES:

rpm/SPECS:

I hope this at least helps you work in your home directory.

Cheers,
        .../Ed

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to