I'm trying to create an rpm from local source. Is it possible to do compilation in a similar to what pdebuild
does - just copy the local directory as the source and operate on that copy? Every time I do rpmbuild -ba ...
it tries to unpack some archive in RPMBUILD/SOURCE
, but I don't want to go that way.
Essentially I'd like to be able to just checkout the repository with the code, do rpmbuild -ba application.spec
in that checkout directory and have it do the right thing... Is that possible?
--define
to define the rpmbuild paths. – Kimberelykimberlee