|
|
|
|
@@ -1,21 +1,22 @@
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
%global with_python3 1
|
|
|
|
|
%else
|
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# At some point, RHEL will need to be in here too
|
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} > 24
|
|
|
|
|
%global py3_default 1
|
|
|
|
|
%else
|
|
|
|
|
# Currently, python2 version is always the default: https://fedoraproject.org/wiki/Packaging:Python#Naming
|
|
|
|
|
%if 1
|
|
|
|
|
%global py3_default 0
|
|
|
|
|
%else
|
|
|
|
|
%global py3_default 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global upstream_name Sphinx
|
|
|
|
|
|
|
|
|
|
Name: python-sphinx
|
|
|
|
|
Version: 1.4.9
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.6.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Summary: Python documentation generator
|
|
|
|
|
|
|
|
|
|
Group: Development/Tools
|
|
|
|
|
@@ -31,35 +32,52 @@ Source1: python2-sphinx
|
|
|
|
|
Source2: python3-sphinx
|
|
|
|
|
Source3: zz-modules-python-sphinx.sh
|
|
|
|
|
Source4: zz-modules-python-sphinx.csh
|
|
|
|
|
#Patch0: Sphinx-1.2.1-mantarget.patch
|
|
|
|
|
Source5: README.fedora
|
|
|
|
|
# environment-modules file to select whether the py2 or py3 version of
|
|
|
|
|
# python-sphinx execuitables is default
|
|
|
|
|
Source6: default-sphinx-command.in
|
|
|
|
|
|
|
|
|
|
# Make the test_latex_remote_images an expected failure
|
|
|
|
|
# since it requires an active internet connection
|
|
|
|
|
# to fetch images, which is not possible in koji or mock.
|
|
|
|
|
Patch0: xfail-test_latex_remote_images.patch
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python2-devel >= 2.4
|
|
|
|
|
BuildRequires: python2-babel
|
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
|
BuildRequires: python-docutils
|
|
|
|
|
BuildRequires: python-jinja2
|
|
|
|
|
BuildRequires: python-pygments >= 2.0
|
|
|
|
|
BuildRequires: python-six
|
|
|
|
|
BuildRequires: python2-docutils
|
|
|
|
|
BuildRequires: python2-jinja2
|
|
|
|
|
BuildRequires: python2-pygments >= 2.0
|
|
|
|
|
BuildRequires: python2-six
|
|
|
|
|
BuildRequires: python2-sphinx_rtd_theme
|
|
|
|
|
BuildRequires: python2-sphinx-theme-alabaster
|
|
|
|
|
BuildRequires: python2-imagesize
|
|
|
|
|
BuildRequires: python2-requests
|
|
|
|
|
BuildRequires: python2-typing
|
|
|
|
|
BuildRequires: python2-sphinxcontrib-websupport
|
|
|
|
|
BuildRequires: environment(modules)
|
|
|
|
|
|
|
|
|
|
# for fixes
|
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
|
|
|
|
|
|
# for testing
|
|
|
|
|
BuildRequires: python-nose
|
|
|
|
|
BuildRequires: python2-nose
|
|
|
|
|
BuildRequires: python2-pytest
|
|
|
|
|
BuildRequires: python2-pytest-cov
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: texinfo
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: python-sqlalchemy
|
|
|
|
|
BuildRequires: python2-sqlalchemy
|
|
|
|
|
BuildRequires: python2-mock
|
|
|
|
|
BuildRequires: python-whoosh
|
|
|
|
|
BuildRequires: python2-simplejson
|
|
|
|
|
BuildRequires: python2-html5lib
|
|
|
|
|
BuildRequires: python2-whoosh
|
|
|
|
|
BuildRequires: python2-snowballstemmer
|
|
|
|
|
BuildRequires: python2-enum34
|
|
|
|
|
BuildRequires: ImageMagick
|
|
|
|
|
# note: no Python3 xapian binding yet
|
|
|
|
|
BuildRequires: xapian-bindings-python
|
|
|
|
|
BuildRequires: python2-xapian
|
|
|
|
|
BuildRequires: texlive-collection-fontsrecommended
|
|
|
|
|
BuildRequires: texlive-collection-latex
|
|
|
|
|
BuildRequires: texlive-dvipng
|
|
|
|
|
@@ -67,7 +85,6 @@ BuildRequires: texlive-dvisvgm
|
|
|
|
|
BuildRequires: texlive-ucs
|
|
|
|
|
BuildRequires: tex(cmap.sty)
|
|
|
|
|
BuildRequires: tex(ecrm1000.tfm)
|
|
|
|
|
BuildRequires: tex(fancybox.sty)
|
|
|
|
|
BuildRequires: tex(footnote.sty)
|
|
|
|
|
BuildRequires: tex(framed.sty)
|
|
|
|
|
BuildRequires: tex(multirow.sty)
|
|
|
|
|
@@ -90,6 +107,11 @@ BuildRequires: tex(eqparbox.sty)
|
|
|
|
|
BuildRequires: tex(atbegshi.sty)
|
|
|
|
|
BuildRequires: tex(anyfontsize.sty)
|
|
|
|
|
BuildRequires: tex(luatex85.sty)
|
|
|
|
|
BuildRequires: tex(fncychap.sty)
|
|
|
|
|
BuildRequires: tex(tabulary.sty)
|
|
|
|
|
BuildRequires: tex(polyglossia.sty)
|
|
|
|
|
BuildRequires: tex(ctablestack.sty)
|
|
|
|
|
BuildRequires: tex(eu1enc.def)
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
@@ -99,14 +121,20 @@ BuildRequires: python3-docutils
|
|
|
|
|
BuildRequires: python3-jinja2
|
|
|
|
|
BuildRequires: python3-pygments
|
|
|
|
|
BuildRequires: python3-nose
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-pytest-cov
|
|
|
|
|
BuildRequires: python3-sqlalchemy
|
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
|
BuildRequires: python3-simplejson
|
|
|
|
|
BuildRequires: python3-html5lib
|
|
|
|
|
BuildRequires: python3-whoosh
|
|
|
|
|
BuildRequires: python3-snowballstemmer
|
|
|
|
|
BuildRequires: python3-six
|
|
|
|
|
BuildRequires: python3-sphinx_rtd_theme
|
|
|
|
|
BuildRequires: python3-sphinx-theme-alabaster
|
|
|
|
|
BuildRequires: python3-imagesize
|
|
|
|
|
BuildRequires: python3-requests
|
|
|
|
|
BuildRequires: python3-sphinxcontrib-websupport
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -141,30 +169,34 @@ the Python docs:
|
|
|
|
|
|
|
|
|
|
%package -n python2-sphinx
|
|
|
|
|
Summary: Python documentation generator
|
|
|
|
|
Requires: python-sphinx-locale = %{version}-%{release}
|
|
|
|
|
Requires: python-sphinx-locale = %{?epoch}:%{version}-%{release}
|
|
|
|
|
Requires: python2-babel
|
|
|
|
|
Requires: python-docutils
|
|
|
|
|
Requires: python-jinja2
|
|
|
|
|
Requires: python-pygments
|
|
|
|
|
Requires: python2-docutils
|
|
|
|
|
Requires: python2-jinja2
|
|
|
|
|
Requires: python2-pygments
|
|
|
|
|
Requires: python2-mock
|
|
|
|
|
Requires: python2-snowballstemmer
|
|
|
|
|
Requires: python2-sphinx_rtd_theme
|
|
|
|
|
Requires: python2-six
|
|
|
|
|
Requires: python2-sphinx-theme-alabaster
|
|
|
|
|
Requires: python2-imagesize
|
|
|
|
|
Requires(posttrans): Lmod
|
|
|
|
|
Requires: python2-requests
|
|
|
|
|
Requires: python2-typing
|
|
|
|
|
Requires: python2-sphinxcontrib-websupport
|
|
|
|
|
Requires: environment(modules)
|
|
|
|
|
# Needed to get rid of the alternatives config installed in f24 and f25
|
|
|
|
|
# versions of the package
|
|
|
|
|
Requires(posttrans): /usr/sbin/alternatives
|
|
|
|
|
Requires(pre): /usr/sbin/alternatives
|
|
|
|
|
Recommends: graphviz
|
|
|
|
|
Recommends: ImageMagick
|
|
|
|
|
Obsoletes: python-sphinx <= 1.2.3
|
|
|
|
|
Obsoletes: python-sphinxcontrib-napoleon < 0.5
|
|
|
|
|
Provides: python-sphinxcontrib-napoleon = %{version}-%{release}
|
|
|
|
|
Provides: python-sphinxcontrib-napoleon = %{?epoch}:%{version}-%{release}
|
|
|
|
|
Obsoletes: python2-Sphinx <= 1.3.1-4
|
|
|
|
|
Provides: python2-Sphinx = %{version}-%{release}
|
|
|
|
|
Provides: python(Sphinx) = %{version}-%{release}
|
|
|
|
|
Provides: python2-Sphinx = %{?epoch}:%{version}-%{release}
|
|
|
|
|
Provides: python(Sphinx) = %{?epoch}:%{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python2-sphinx}
|
|
|
|
|
Conflicts: python3-sphinx < %{version}-%{release}
|
|
|
|
|
Conflicts: python3-sphinx < %{?epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python2-sphinx
|
|
|
|
|
Sphinx is a tool that makes it easy to create intelligent and
|
|
|
|
|
@@ -197,7 +229,7 @@ the Python docs:
|
|
|
|
|
|
|
|
|
|
%package latex
|
|
|
|
|
Summary: LaTeX builder dependencies for %{name}
|
|
|
|
|
Requires: python(Sphinx) = %{version}-%{release}
|
|
|
|
|
Requires: python(Sphinx) = %{?epoch}:%{version}-%{release}
|
|
|
|
|
Requires: texlive-collection-fontsrecommended
|
|
|
|
|
Requires: texlive-collection-latex
|
|
|
|
|
Requires: texlive-dvipng
|
|
|
|
|
@@ -205,7 +237,6 @@ Requires: texlive-dvisvgm
|
|
|
|
|
Requires: texlive-ucs
|
|
|
|
|
Requires: tex(cmap.sty)
|
|
|
|
|
Requires: tex(ecrm1000.tfm)
|
|
|
|
|
Requires: tex(fancybox.sty)
|
|
|
|
|
Requires: tex(footnote.sty)
|
|
|
|
|
Requires: tex(framed.sty)
|
|
|
|
|
Requires: tex(multirow.sty)
|
|
|
|
|
@@ -228,6 +259,11 @@ Requires: tex(eqparbox.sty)
|
|
|
|
|
Requires: tex(atbegshi.sty)
|
|
|
|
|
Requires: tex(anyfontsize.sty)
|
|
|
|
|
Requires: tex(luatex85.sty)
|
|
|
|
|
Requires: tex(fncychap.sty)
|
|
|
|
|
Requires: tex(tabulary.sty)
|
|
|
|
|
Requires: tex(polyglossia.sty)
|
|
|
|
|
Requires: tex(ctablestack.sty)
|
|
|
|
|
Requires: tex(eu1enc.def)
|
|
|
|
|
Obsoletes: python3-sphinx-latex < 1.4.4-2
|
|
|
|
|
|
|
|
|
|
%description latex
|
|
|
|
|
@@ -246,7 +282,7 @@ builder.
|
|
|
|
|
%package -n python3-sphinx
|
|
|
|
|
Summary: Python documentation generator
|
|
|
|
|
Group: Development/Tools
|
|
|
|
|
Requires: python-sphinx-locale = %{version}-%{release}
|
|
|
|
|
Requires: python-sphinx-locale = %{?epoch}:%{version}-%{release}
|
|
|
|
|
Requires: python3-babel
|
|
|
|
|
Requires: python3-docutils
|
|
|
|
|
Requires: python3-jinja2
|
|
|
|
|
@@ -256,18 +292,20 @@ Requires: python3-snowballstemmer
|
|
|
|
|
Requires: python3-sphinx_rtd_theme
|
|
|
|
|
Requires: python3-sphinx-theme-alabaster
|
|
|
|
|
Requires: python3-imagesize
|
|
|
|
|
Requires: python3-requests
|
|
|
|
|
Requires: python3-six
|
|
|
|
|
Requires: python3-sphinxcontrib-websupport
|
|
|
|
|
Recommends: graphviz
|
|
|
|
|
Requires(posttrans): Lmod
|
|
|
|
|
Recommends: ImageMagick
|
|
|
|
|
Requires: environment(modules)
|
|
|
|
|
# Needed to get rid of the alternatives config installed in f24 and f25
|
|
|
|
|
# versions of the package
|
|
|
|
|
Requires(posttrans): /usr/sbin/alternatives
|
|
|
|
|
Requires(pre): /usr/sbin/alternatives
|
|
|
|
|
Obsoletes: python3-sphinxcontrib-napoleon < 0.3.0
|
|
|
|
|
Provides: python3-sphinxcontrib-napoleon = %{version}-%{release}
|
|
|
|
|
Provides: python(Sphinx) = %{version}-%{release}
|
|
|
|
|
Provides: python3-sphinxcontrib-napoleon = %{?epoch}:%{version}-%{release}
|
|
|
|
|
Provides: python(Sphinx) = %{?epoch}:%{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python3-sphinx}
|
|
|
|
|
Conflicts: python2-Sphinx < %{version}-%{release}
|
|
|
|
|
Conflicts: python2-sphinx < %{version}-%{release}
|
|
|
|
|
Conflicts: python2-Sphinx < %{?epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python3-sphinx
|
|
|
|
|
Sphinx is a tool that makes it easy to create intelligent and
|
|
|
|
|
@@ -303,7 +341,7 @@ the Python docs:
|
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
|
Group: Documentation
|
|
|
|
|
License: BSD
|
|
|
|
|
Requires: python(Sphinx) = %{version}-%{release}
|
|
|
|
|
Requires: python(Sphinx) = %{?epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
Sphinx is a tool that makes it easy to create intelligent and
|
|
|
|
|
@@ -334,6 +372,8 @@ This package contains locale files for Sphinx
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{upstream_name}-%{version}%{?prerel} -p1
|
|
|
|
|
|
|
|
|
|
cp %{SOURCE5} .
|
|
|
|
|
|
|
|
|
|
sed '1d' -i sphinx/pycode/pgen2/token.py
|
|
|
|
|
|
|
|
|
|
# fix line encoding of bundled jquery.js
|
|
|
|
|
@@ -368,6 +408,12 @@ for i in sphinx-{apidoc,autogen,build,quickstart}; do
|
|
|
|
|
ln -s $i-%{python3_version} %{buildroot}%{_bindir}/$i-3
|
|
|
|
|
ln -s %{_bindir}/$i-3 %{buildroot}%{_libexecdir}/python3-sphinx/$i
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# These appear to be incomplete C extensions to speed up parsing. They are not
|
|
|
|
|
# built by setup.py yet. Removing them in %%install so that if sphinx does
|
|
|
|
|
# make use of them, and we don't notice, we only remove these source files
|
|
|
|
|
# after the build has created the .so's
|
|
|
|
|
rm %{buildroot}%{python3_sitelib}/sphinx/pycode/pgen2/parse.{pyx,c}
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
%py2_install
|
|
|
|
|
@@ -378,6 +424,12 @@ for i in sphinx-{apidoc,autogen,build,quickstart}; do
|
|
|
|
|
ln -s %{_bindir}/$i-2 %{buildroot}%{_libexecdir}/python2-sphinx/$i
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# These appear to be incomplete C extensions to speed up parsing. They are not
|
|
|
|
|
# built by setup.py yet. Removing them in %%install so that if sphinx does
|
|
|
|
|
# make use of them, and we don't notice, we only remove these source files
|
|
|
|
|
# after the build has created the .so's
|
|
|
|
|
rm %{buildroot}%{python2_sitelib}/sphinx/pycode/pgen2/parse.{pyx,c}
|
|
|
|
|
|
|
|
|
|
pushd doc
|
|
|
|
|
# Deliver man pages
|
|
|
|
|
install -d %{buildroot}%{_mandir}/man1
|
|
|
|
|
@@ -395,6 +447,12 @@ done
|
|
|
|
|
find %{buildroot}%{python3_sitelib}/sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -exec rm -rf '{}' \;
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
# Clean up non-python files
|
|
|
|
|
rm -f %{buildroot}%{python2_sitelib}/sphinx/locale/.DS_Store
|
|
|
|
|
rm -rf %{buildroot}%{python2_sitelib}/sphinx/locale/.tx
|
|
|
|
|
rm -f %{buildroot}%{python3_sitelib}/sphinx/locale/.DS_Store
|
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/sphinx/locale/.tx
|
|
|
|
|
|
|
|
|
|
# Deliver rst files
|
|
|
|
|
rm -rf doc/_build
|
|
|
|
|
sed -i 's|python ../sphinx-build.py|/usr/bin/sphinx-build|' doc/Makefile
|
|
|
|
|
@@ -426,23 +484,23 @@ install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/profile.d/zz-modules-pytho
|
|
|
|
|
install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
|
|
|
|
|
|
|
|
|
|
%if %{py3_default}
|
|
|
|
|
ln -s python3-sphinx %{buildroot}%{_modulesdir}/python-sphinx/default
|
|
|
|
|
sed 's/@PYTHONVER@/3/' < %{SOURCE6} > %{buildroot}%{_modulesdir}/python-sphinx/.version
|
|
|
|
|
|
|
|
|
|
# These symlinks establish a default for when a package is first installed (and
|
|
|
|
|
# therefore, environment modules is not loaded). The user can immediately
|
|
|
|
|
# switch them by using module swap python-sphinx/python2-sphinx
|
|
|
|
|
for filename in sphinx-{build,apidoc,autogen,quickstart} ; do
|
|
|
|
|
ln -s %{_libexecdir}/python3-sphinx/$filename %{buildroot}%{_bindir}/$filename
|
|
|
|
|
ln -s %{_libexecdir}/python3-sphinx/$filename %{buildroot}%{_bindir}/$filename
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
ln -s python2-sphinx %{buildroot}%{_modulesdir}/python-sphinx/default
|
|
|
|
|
sed 's/@PYTHONVER@/2/' < %{SOURCE6} > %{buildroot}%{_modulesdir}/python-sphinx/.version
|
|
|
|
|
|
|
|
|
|
# These symlinks establish a default for when a package is first installed (and
|
|
|
|
|
# therefore, environment modules is not loaded). The user can immediately
|
|
|
|
|
# switch them by using module swap python-sphinx/python3-sphinx
|
|
|
|
|
for filename in sphinx-{build,apidoc,autogen,quickstart} ; do
|
|
|
|
|
ln -s %{_libexecdir}/python2-sphinx/$filename %{buildroot}%{_bindir}/$filename
|
|
|
|
|
ln -s %{_libexecdir}/python2-sphinx/$filename %{buildroot}%{_bindir}/$filename
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
@@ -457,9 +515,15 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# Currently, all linkcheck tests hit external websites. Since network access
|
|
|
|
|
# is disabled in koji, we have to disable these.
|
|
|
|
|
rm tests/test_build_linkcheck.py
|
|
|
|
|
LANG=en_US.UTF-8 make test
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
pushd %{py3dir}
|
|
|
|
|
# Currently, all linkcheck tests hit external websites. Since network access
|
|
|
|
|
# is disabled in koji, we have to disable these.
|
|
|
|
|
rm tests/test_build_linkcheck.py
|
|
|
|
|
LANG=en_US.UTF-8 PYTHON=python3 make test
|
|
|
|
|
popd
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
@@ -489,8 +553,12 @@ popd
|
|
|
|
|
|
|
|
|
|
%files -n python2-sphinx
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS CHANGES EXAMPLES README.rst
|
|
|
|
|
%doc AUTHORS CHANGES EXAMPLES README.rst README.fedora
|
|
|
|
|
%{_bindir}/sphinx-*-2*
|
|
|
|
|
%{_bindir}/sphinx-build
|
|
|
|
|
%{_bindir}/sphinx-apidoc
|
|
|
|
|
%{_bindir}/sphinx-autogen
|
|
|
|
|
%{_bindir}/sphinx-quickstart
|
|
|
|
|
%{python2_sitelib}/sphinx/
|
|
|
|
|
%{python2_sitelib}/Sphinx-%{version}-py%{python2_version}.egg-info/
|
|
|
|
|
%exclude %{_mandir}/man1/sphinx-*-%{python3_version}.1*
|
|
|
|
|
@@ -498,31 +566,27 @@ popd
|
|
|
|
|
%{_libexecdir}/python2-sphinx/
|
|
|
|
|
%{_modulesdir}/python-sphinx/python2-sphinx
|
|
|
|
|
%if !%{py3_default}
|
|
|
|
|
%{_modulesdir}/python-sphinx/default
|
|
|
|
|
%{_modulesdir}/python-sphinx/.version
|
|
|
|
|
%endif
|
|
|
|
|
%{_sysconfdir}/profile.d/zz-modules-python-sphinx.sh
|
|
|
|
|
%{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.sh
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
|
|
%files -n python3-sphinx
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS CHANGES EXAMPLES README.rst
|
|
|
|
|
%doc AUTHORS CHANGES EXAMPLES README.rst README.fedora
|
|
|
|
|
%{_bindir}/sphinx-*-3*
|
|
|
|
|
%{_bindir}/sphinx-build
|
|
|
|
|
%{_bindir}/sphinx-apidoc
|
|
|
|
|
%{_bindir}/sphinx-autogen
|
|
|
|
|
%{_bindir}/sphinx-quickstart
|
|
|
|
|
%{python3_sitelib}/sphinx/
|
|
|
|
|
%{python3_sitelib}/Sphinx-%{version}-py%{python3_version}.egg-info/
|
|
|
|
|
%{_mandir}/man1/sphinx-*-%{python3_version}.1*
|
|
|
|
|
%{_libexecdir}/python3-sphinx/
|
|
|
|
|
%{_modulesdir}/python-sphinx/python3-sphinx
|
|
|
|
|
%if %{py3_default}
|
|
|
|
|
%{_modulesdir}/python-sphinx/default
|
|
|
|
|
%{_modulesdir}/python-sphinx/.version
|
|
|
|
|
%endif
|
|
|
|
|
%{_sysconfdir}/profile.d/zz-modules-python-sphinx.sh
|
|
|
|
|
%{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.sh
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
|
|
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
@@ -531,6 +595,67 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jan 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.6-1
|
|
|
|
|
- Update to 1.6.6 (bz#1532435)
|
|
|
|
|
|
|
|
|
|
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1:1.6.5-2
|
|
|
|
|
- Fix ambiguous Python 2 dependency declarations
|
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
|
|
|
|
|
* Mon Nov 06 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.5-1
|
|
|
|
|
- Update to 1.6.5 (bz#1508237)
|
|
|
|
|
|
|
|
|
|
* Mon Oct 09 2017 Troy Dawson <tdawson@redhat.com> - 1:1.6.4-2
|
|
|
|
|
- Cleanup spec file conditionals
|
|
|
|
|
|
|
|
|
|
* Tue Sep 26 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.4-1
|
|
|
|
|
- Update to 1.6.4 (bz#1426928)
|
|
|
|
|
|
|
|
|
|
* Wed Sep 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.3-3
|
|
|
|
|
- Provide the epoch tag in order to keep the upgrade path clean.
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2017 Charalampos Stratakis <cstratak@redhat.com> - - 1.6.3-1
|
|
|
|
|
- Update to 1.6.3 (bz#1426928)
|
|
|
|
|
|
|
|
|
|
* Sat Feb 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-2
|
|
|
|
|
- Cleanup source files that should not be installed
|
|
|
|
|
- Fix the __init__.pyc that was byte compiled for the wrong python
|
|
|
|
|
|
|
|
|
|
* Fri Feb 17 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-1
|
|
|
|
|
- Update to 1.5.2
|
|
|
|
|
- Remove a few latex dependencies that are no longer needed
|
|
|
|
|
- Remove xapian patch; now in upstream tarball
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 31 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-5
|
|
|
|
|
- environment-modules is less featureful than Lmod.
|
|
|
|
|
- Select the default version in a different way since environment-modules
|
|
|
|
|
didn't understand the symlink
|
|
|
|
|
- Ignore error messsages in the shell startup script as environment-modules
|
|
|
|
|
prints an error message if a module has already been loaded. The command
|
|
|
|
|
is doing the right thing for this case except that it's also printing an
|
|
|
|
|
error message.
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-2
|
|
|
|
|
- Add README.fedora so people know how to use environment-modules to switch.
|
|
|
|
|
- Change the default to be the python2 version to match with the guidelines
|
|
|
|
|
- Switch to generic environment(modules) instead of Lmod specifically.
|
|
|
|
|
|
|
|
|
|
* Fri Dec 30 2016 Orion Poplawski <orion@cora.nwra.com> - 1.5.1-1
|
|
|
|
|
- Update to 1.5.1
|
|
|
|
|
|
|
|
|
|
* Fri Dec 30 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4.9-2
|
|
|
|
|
- Remove alternatives. Alternatives should only be used for a very small
|
|
|
|
|
number of packages (system daemons which also have a compatible command line
|
|
|
|
|
|