From 7164808d69caa0b43d82505b5e3944cc0bfc7fbb Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Fri, 11 Feb 2022 10:06:42 +0800 Subject: [PATCH] Adds sphinx-{apidoc,autogen,build,quickstart}-3 commands back --- python-sphinx.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/python-sphinx.spec b/python-sphinx.spec index b6f473c..be76f8e 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 -- Gitee