Hi,
I'm trying to allow a non root user build rpms and having a bit of
trouble.
created ~/.rpmmacros
%packager testlscsoft
%_topdir /home/testlscsoft
%_rpmtopdir /home/testlscsoft/usr/src/redhat
%_builddir /home/testlscsoft/usr/src/redhat/BUILD
%_rpmdir /home/testlscsoft/usr/src/redhat/RPMS
%_sourcedir /home/testlscsoft/usr/src/redhat/SOURCES
%_specdir /home/testlscsoft/usr/src/redhat/SPECS
%_srcrpmdir /home/testlscsoft/usr/src/redhat/SRPMS
%_tmppath /home/testlscsoft/usr/src/redhat/var/tmp
%_buildroot /home/testlscsoft/usr/src/redhat/var/tmp/%{name}-root
created dir structures
/home/testlscsoft
/home/testlscsoft/usr/src/redhat
/home/testlscsoft/usr/src/redhat/BUILD
/home/testlscsoft/usr/src/redhat/RPMS
/home/testlscsoft/usr/src/redhat/SOURCES
/home/testlscsoft/usr/src/redhat/SPECS
/home/testlscsoft/usr/src/redhat/SRPMS
/home/testlscsoft/usr/src/redhat/var/tmp
installed src rpm
rpm --root /home/testlscsoft/ -Uvh lscsoft-user-env-1.12-1.src.rpm
fails when running rpmbuild
rpmbuild --root /home/testlscsoft/ -ba /home/testlscsoft/usr/src/redhat/SPECS/lscsoft-user-env.spec
error: File /usr/src/redhat/SOURCES/lscsoft-user-env-1.12.tar.gz: No such file or directory
It seems to be ignoring the --root option and looking in the systems rpm
directories.
Any thoughts/suggestions/remarks would be appreciated.
Thanks
Adam Miller
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list