Re: rpm as non root user

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

 



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@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux