On Mon, Oct 07, 2019 at 04:39:22PM +0200, David Kaufmann wrote:

> Although I have to re-symlink SOURCES everytime I work on a different
> package I can use all of rpmbuild, mock, fedpkg,… from the same source
> folder.

You can also use a wrapper script that can be called in dist-git working
copies to avoid the symlinking:

# rpmbuild-here.sh
# Wrapper around rpmbuild to use the current directory for everything
/usr/bin/rpmbuild --define "_sourcedir ${PWD}" --define "_rpmdir ${PWD}" 
--define "_builddir ${PWD}" --define "_srcrpmdir ${PWD}" --define "_speccdir 
${PWD}" "$@"

Kind regards
Till
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to