Fix build failure

(cherry picked from commit 09c7f345c143aef47100329101977422be225358)
This commit is contained in:
caodongxia 2022-08-09 20:00:30 +08:00 committed by openeuler-sync-bot
parent f1bc059935
commit 281dd45f96

View File

@ -1,6 +1,6 @@
Name: python-sphobjinv Name: python-sphobjinv
Version: 2.1.0 Version: 2.1.0
Release: 1 Release: 2
Summary: Sphinx objects.inv inspection/manipulation tool Summary: Sphinx objects.inv inspection/manipulation tool
License: MIT License: MIT
@ -30,11 +30,10 @@ Sphinx with a completely specified cross-reference, and thats where
sphobjinv comes in. sphobjinv comes in.
%prep %prep
%autosetup -n sphobjinv-2.1.0 %autosetup -n sphobjinv-2.1
rm -rf sphobjinv.egg-info rm -rf sphobjinv.egg-info
sed -i "s|\r||g" README.rst sed -i "s|\r||g" README.rst
%build %build
%py3_build %py3_build
@ -46,8 +45,11 @@ sed -i "s|\r||g" README.rst
%doc README.rst %doc README.rst
%{_bindir}/sphobjinv %{_bindir}/sphobjinv
%{python3_sitelib}/sphobjinv/ %{python3_sitelib}/sphobjinv/
%{python3_sitelib}/sphobjinv-2.1.0-py*.egg-info/ %{python3_sitelib}/sphobjinv-2.1-py*.egg-info/
%changelog %changelog
* Tue Aug 9 2022 caodongxia <caodongxia@h-partners.com> - 2.1.0-2
- Fix build failure
* Thu Jul 08 2021 xuyonghui <xuyonghui@kylinos.cn> - 2.1.0-1 * Thu Jul 08 2021 xuyonghui <xuyonghui@kylinos.cn> - 2.1.0-1
- Package init - Package init