Description of problem: The rpm package for sphinx adds a script to /etc/profile.d/ that loads the shell module python-sphinx. This module instruct shells to prepend /usr/libexec/python3-sphinx/ to PATH. I think, this is not how you should do it. 1. /usr/libexec/ is for "internal binaries that are not intended to be executed directly by users or shell scripts". I think sphinx-{build,apidoc,autogen,quickstart} are scripts, that are intended to be executed by users. 2. If every program would do this, PATH would be very bloated. 3. Due to the prepend, it is not possible to install another version of sphinx in a virtual environment, because /usr/libexec/python3-sphinx will be preferred before the venv bin dir. Version-Release number of selected component (if applicable): python3-sphinx-1.7.6-1.fc29.noarch Expected results: Many other python packages put their binaries under /usr/bin/ and append a `-3` to the file name. Then they create a symlink to the binaries without the -3. Why didn't you do it the same?
This "feature" was removed from rawhide. Due to backwards compatibility concerns it won't be removed form older Fedoras, sorry. See also https://fedoraproject.org/wiki/Changes/Sphinx2