!2 py3c 在22.03分支build阶段删除时找不到bundledfonts

Merge pull request !2 from xigaoxinyan/openEuler-22.03-LTS-Next
This commit is contained in:
openeuler-ci-bot 2022-01-12 06:57:27 +00:00 committed by Gitee
commit 377ba0b801
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: py3c
Version: 1.2
Release: 1
Release: 2
Summary: Guide and compatibility macros for porting extensions to Python 3
# Licences differ for subpackages
@ -53,7 +53,6 @@ make %{?_smp_mflags} doc SPHINXBUILD=sphinx-build-3
# unbundle fonts provided by the theme package
bundledfonts=doc/build/html/_static/fonts
themefonts=%{python3_sitelib}/sphinx_rtd_theme/static/fonts
rm -rv $bundledfonts
ln -s $themefonts $bundledfonts
%check
@ -80,5 +79,8 @@ sed --in-place -e's!%{buildroot}!!' %{buildroot}%{_datadir}/pkgconfig/py3c.pc
%doc %{_pkgdocdir}/
%changelog
* Tue Jan 11 2022 xigaoxinyan <xigaoxinyan@huawei.com> - 1.2-2
- %build bundledfonts not exist
* Fri Jul 31 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.2-1
- package init