Luciano Miguel Ferreira Rocha wrote:
On Mon, Oct 09, 2006 at 03:36:35PM +0200, Erez Zilber wrote:i, When I run rpmbuild --bs my_file.spec, I get the following error:error: File /usr/src/packages/SOURCES/my_file.tar.gz: No such file or directoryThat's because my_file.tar.gz is in the current directory with the spec file. I guess that the default path for the source file is /usr/src/packages/SOURCES. How can I change that to the current dir (or any other dir)?rpmbuild -bs my_file.spec --define "_sourcedir $PWD"
Thanks!