!5 make sphinx-build enable

Merge pull request !5 from jinjin/master
This commit is contained in:
openeuler-ci-bot 2020-02-20 13:09:53 +08:00 committed by Gitee
commit c3be44180b

View File

@ -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