!6 [sync] PR-5: 修复编译失败问题

From: @openeuler-sync-bot 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-08-23 06:45:14 +00:00 committed by Gitee
commit e79e21f99b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: python-sphobjinv
Version: 2.1.0
Release: 1
Release: 2
Summary: Sphinx objects.inv inspection/manipulation tool
License: MIT
@ -30,11 +30,10 @@ Sphinx with a completely specified cross-reference, and thats where
sphobjinv comes in.
%prep
%autosetup -n sphobjinv-2.1.0
%autosetup -n sphobjinv-2.1
rm -rf sphobjinv.egg-info
sed -i "s|\r||g" README.rst
%build
%py3_build
@ -46,8 +45,11 @@ sed -i "s|\r||g" README.rst
%doc README.rst
%{_bindir}/sphobjinv
%{python3_sitelib}/sphobjinv/
%{python3_sitelib}/sphobjinv-2.1.0-py*.egg-info/
%{python3_sitelib}/sphobjinv-2.1-py*.egg-info/
%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
- Package init