[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm as non root user



On Tue, Dec 18, 2007 at 01:08:57PM -0600, Adam Miller wrote:

>   I'm trying to allow a non root user build rpms and having a bit of 
> trouble.

This is all way too complex, you shouldn't use --root or define all
those variables, %_topdir is enough.  Just do (for example):

Put in ~/.rpmmacros (only):

%_topdir /home/testlscsoft/rpm

Then use the following commands:

mkdir -p /home/testlscsoft/rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
rpm -ivh lscsoft-user-env-1.12-1.src.rpm
cd /home/testlscsoft/rpm/SPECS
rpm -ba lscsoft-user-env.spec

-- 
--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]