commit
c3be44180b
@ -1,7 +1,7 @@
|
||||
Name: python-sphinx
|
||||
Summary: Python documentation generator
|
||||
Version: 1.7.6
|
||||
Release: 4
|
||||
Release: 5
|
||||
Epoch: 1
|
||||
License: BSD and Public Domain and Python and (MIT or GPLv2)
|
||||
URL: http://sphinx-doc.org/
|
||||
@ -236,10 +236,10 @@ done
|
||||
popd
|
||||
|
||||
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
|
||||
ln -s %{_libexecdir}/python2-sphinx/$filename %{buildroot}%{_bindir}/$filename
|
||||
ln -s %{_libexecdir}/python3-sphinx/$filename %{buildroot}%{_bindir}/$filename
|
||||
done
|
||||
|
||||
%find_lang sphinx
|
||||
@ -295,5 +295,11 @@ LANG=en_US.UTF-8 PYTHON=python3 make test
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%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
|
||||
- init package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user