Compare commits

..

No commits in common. "6252f0dd6fe303a847616b0875cb9d8b16e4412c" and "4836bbec2b31d04d07d64d37e3a2c9c234d6faef" have entirely different histories.

3 changed files with 7 additions and 20 deletions

BIN
py3c-1.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,14 +1,15 @@
%global debug_package %{nil}
Name: py3c
Version: 1.4
Release: 2
Version: 1.2
Release: 1
Summary: Guide and compatibility macros for porting extensions to Python 3
# Licences differ for subpackages
License: MIT and CC-BY-SA-3.0
License: MIT and CC-BY-SA
URL: http://py3c.readthedocs.io/
Source0: https://github.com/encukou/%{name}/archive/refs/tags/v%{version}.tar.gz
Source0: https://github.com/encukou/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: python3-devel python3-setuptools python3-sphinx python3-sphinx_rtd_theme gcc
%description
@ -33,7 +34,7 @@ Because py3c is a header-only library, there is no matching run-time package.
%package help
BuildArch: noarch
License: CC-BY-SA-3.0
License: CC-BY-SA
Summary: Guide for porting C extensions to Python 3
Requires: python3-sphinx_rtd_theme
@ -52,6 +53,7 @@ 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
@ -78,20 +80,5 @@ sed --in-place -e's!%{buildroot}!!' %{buildroot}%{_datadir}/pkgconfig/py3c.pc
%doc %{_pkgdocdir}/
%changelog
* Thu Jun 13 2024 wangkai <13474090681@163.com> - 1.4-2
- License compliance rectification
* Fri Apr 07 2023 Ge Wang <wangge20@h-partners.com> - 1.4-1
- Update to version 1.4
* Mon Nov 14 2022 caodongxia <caodongxia@h-partners.com> - 1.2-4
- Modify invalid source
* Wed May 11 2022 houyingchao <houyingchao@h-partners.com> - 1.2-3
- License compliance rectification
* 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

Binary file not shown.