Description of problem: The waf-python3 package provides the binary /usr/bin/waf-3. While this is fine when using both the Python 2 and the Python 3 version, it would be great if waf-python3 also provided the normal waf binary, so that the usage of Python 3 is encouraged. Version-Release number of selected component (if applicable): waf-python3-1.9.6-1.fc25.noarch Steps to Reproduce: 1. Run `dnf provides /usr/bin/waf` Actual results: Returns only the waf package. Expected results: Should return the waf *and* the waf-python3 package.
Not sure what to do here. Only one package can provide /usr/bin/waf.
I think this can be done using update-alternatives. For example dnf provides /usr/bin/wxrc returns both wxGTK-devel and wxGTK3-devel. /usr/bin/waf would be a symlink to /etc/alternatives/waf (I think this is done by update-alternatives?) which would symlink to /usr/libexec/waf-python3/waf. After looking at the wxGTK3.spec file, I think this should look something like this for Waf: %post if [ -f %{_bindir}/waf ] && [ ! -h %{_bindir}/waf ] ; then rm %{_bindir}/waf fi %{_sbindir}/update-alternatives --install %{_bindir}/waf \ waf %{_libexecdir}/%{name}/waf 3 %postun if [ $1 -eq 0 ] ; then %{_sbindir}/update-alternatives --remove waf %{_libexecdir}/%{name}/waf fi %files %ghost %{_bindir}/waf
waf-1.9.9-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b79b2b39bd
waf-1.9.9-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2f874a78e7
waf-1.9.9-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b79b2b39bd
waf-1.9.9-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2f874a78e7
waf-1.9.10-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-77bfce63fb
waf-1.9.10-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a5ba4f7670
waf-1.9.10-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-77bfce63fb
waf-1.9.10-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a5ba4f7670
waf-1.9.10-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
waf-1.9.10-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.