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
directory
That'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!
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list