diff --git a/python-sphinx.spec b/python-sphinx.spec index b6f473c67f899499bedfea05c99535df15c72f03..be76f8e67c7988e967b8b849ecb92c8f1ccf3dcb 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -98,6 +98,10 @@ Help documents for Sphinx. %install %py3_install +for i in sphinx-{apidoc,autogen,build,quickstart}; do + ln -s %{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python3_version} + ln -s %{_bindir}/$i %{buildroot}%{_bindir}/$i-3 +done install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi @@ -130,11 +134,15 @@ make test %files -n python3-sphinx -f filelist.lst %dir %{python3_sitelib}/* +%{_bindir}/sphinx-*-3* %files help -f doclist.lst %{_docdir}/* %changelog +* Fri Feb 11 2022 huangtianhua - 2.2.0-2 +- Adds sphinx-{apidoc,autogen,build,quickstart}-3 commands back + * Tue Feb 08 2022 OpenStack_SIG - 2.2.0-1 - Upgrade to 2.2.0