!3 [sync] PR-2: py3c 在22.03分支build阶段删除时找不到bundledfonts

From: @openeuler-sync-bot 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-04-06 06:51:47 +00:00 committed by Gitee
commit 8d01afd7da
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