make sphinx-build enable
This commit is contained in:
parent
91ababf60a
commit
74e87661e5
@ -1,7 +1,7 @@
|
|||||||
Name: python-sphinx
|
Name: python-sphinx
|
||||||
Summary: Python documentation generator
|
Summary: Python documentation generator
|
||||||
Version: 1.7.6
|
Version: 1.7.6
|
||||||
Release: 4
|
Release: 5
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: BSD and Public Domain and Python and (MIT or GPLv2)
|
License: BSD and Public Domain and Python and (MIT or GPLv2)
|
||||||
URL: http://sphinx-doc.org/
|
URL: http://sphinx-doc.org/
|
||||||
@ -236,10 +236,10 @@ done
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
install -d %{buildroot}%{_modulesdir}/python-sphinx
|
install -d %{buildroot}%{_modulesdir}/python-sphinx
|
||||||
sed 's/@PYTHONVER@/2/' < %{SOURCE1} > %{buildroot}%{_modulesdir}/python-sphinx/.version
|
sed 's/@PYTHONVER@/3/' < %{SOURCE1} > %{buildroot}%{_modulesdir}/python-sphinx/.version
|
||||||
|
|
||||||
for filename in sphinx-{build,apidoc,autogen,quickstart} ; do
|
for filename in sphinx-{build,apidoc,autogen,quickstart} ; do
|
||||||
ln -s %{_libexecdir}/python2-sphinx/$filename %{buildroot}%{_bindir}/$filename
|
ln -s %{_libexecdir}/python3-sphinx/$filename %{buildroot}%{_bindir}/$filename
|
||||||
done
|
done
|
||||||
|
|
||||||
%find_lang sphinx
|
%find_lang sphinx
|
||||||
@ -295,5 +295,11 @@ LANG=en_US.UTF-8 PYTHON=python3 make test
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 20 2020 Lijin Yang <yanglijin@huawei.com> - 1:1.7.6-5
|
||||||
|
- Type: enhancement
|
||||||
|
- ID: NA
|
||||||
|
- SUG: NA
|
||||||
|
- DESC: make sphinx-build enable
|
||||||
|
|
||||||
* Thu Nov 14 2019 Lijin Yang <yanglijin@huawei.com> - 1:1.7.6-4
|
* Thu Nov 14 2019 Lijin Yang <yanglijin@huawei.com> - 1:1.7.6-4
|
||||||
- init package
|
- init package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user