[R-repo-dev] Setup for build Was: Re: Update

Pierre-Yves pingou at pingoured.fr
Wed May 5 02:48:20 EDT 2010

On Wed, 2010-05-05 at 08:24 +0200, Pierre-Yves wrote:
> mkdir ~/repo/SPECS
> vim .rpmmacros
> -> change 
> %_specdir to %(echo $HOME)/repo/SPECS/
> %_srcrpmdir     %(echo $HOME)/repo/SRPMS/
> rpm -i ~/repo/SRPMS/*.src.rpm
> rm ~/repo/SRPMS/*src.rpm
> rpmbuild -bs ~/repo/SPECS
> vim .rpmmacros
> -> change %_specdir and %_srcrpmdir to their original value (or remove
> the new lines) 

I was thinking that you might want to use a folder SRPMS2 for the new
SRPMS (change accordingly the .rpmmacros).
The folder SRPMS is not a big deal for mock/smock which is configured
for RPMS.


More information about the R-repo-dev mailing list