Add recipe for setting the system default to the README.fedora

This commit is contained in:
Toshio Kuratomi 2017-01-26 18:13:59 -08:00
parent baaecbbb4a
commit 74b3a560b8
2 changed files with 15 additions and 2 deletions

View File

@ -14,4 +14,14 @@ To switch to the Python2 version, use::
module swap python-sphinx/python2-sphinx
The default install uses the python3 version of the modules.
The default install uses the python2 version of the modules.
If the system administrator wishes to change the default, edit the
/etc/profile.d/zz-modules-python-sphinx.sh and
/etc/profile.d/zz-modules-python-sphinx.csh files to specify a specific
alternative to use. For instance, to make the python3 version the default,
modify it like so::
@@ -1,2 +1,2 @@
# Add path to the default python-sphinx scripts on this version of Fedora
-module load python-sphinx
+module load python-sphinx/python3-sphinx

View File

@ -15,7 +15,7 @@
Name: python-sphinx
Version: 1.5.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Python documentation generator
Group: Development/Tools
@ -564,6 +564,9 @@ popd
%changelog
* Thu Jan 26 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-4
- Add recipe for setting the system default to the README.fedora
* Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-3
- Move the unversioned executables into the python2 package as they are now
using python2 to run