2021-02-23 09:59:12 +00:00
|
|
|
Name: python-zstd
|
|
|
|
|
Version: 1.4.8.1
|
2022-05-10 16:20:07 +08:00
|
|
|
Release: 3
|
2021-02-23 09:59:12 +00:00
|
|
|
Summary: ZSTD Bindings for Python
|
2022-05-10 16:20:07 +08:00
|
|
|
License: BSD-2-Clause
|
2021-02-23 09:59:12 +00:00
|
|
|
URL: https://github.com/sergey-dryabzhinsky/python-zstd
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/92/bc/6bc155c61db55d5b3111a8afc76aaec084372bde89a82ecd4f5fd96c639a/zstd-1.4.8.1.tar.gz
|
|
|
|
|
|
2022-05-07 11:10:22 +08:00
|
|
|
# https://github.com/sergey-dryabzhinsky/python-zstd/commit/428a31edcde94d2908aa8ca3439ca01a797de3a4
|
|
|
|
|
Patch1: fix-python3.8+-use-py_ssize_t-type.patch
|
|
|
|
|
|
2021-02-23 09:59:12 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Simple Python bindings for the Zstd compression library.
|
|
|
|
|
|
|
|
|
|
%package -n python3-zstd
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
Provides: python3-zstd
|
|
|
|
|
# The library does not do symbol versioning to fully match automatically on
|
|
|
|
|
|
|
|
|
|
%description -n python3-zstd
|
|
|
|
|
Simple Python bindings for the Zstd compression library.
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-05-07 11:10:22 +08:00
|
|
|
%autosetup -n zstd-1.4.8.1 -p1
|
2021-02-23 09:59:12 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
%check
|
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
|
|
|
|
|
%files -n python3-zstd
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{python3_sitearch}/zstd-1.4.8.1-py%{python3_version}.egg-info
|
|
|
|
|
%{python3_sitearch}/zstd*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-05-10 16:20:07 +08:00
|
|
|
* Tue May 10 2022 yangping <yangping69@h-partners> - 1.4.8.1-3
|
|
|
|
|
- License compliance rectification
|
|
|
|
|
|
2022-05-07 11:10:22 +08:00
|
|
|
* Sat May 07 2022 wulei <wulei80@h-partners.com> 1.4.8.1-2
|
|
|
|
|
- Fix python3.8+ use py_ssize_t type
|
|
|
|
|
|
2021-02-23 09:59:12 +00:00
|
|
|
* Tue Feb 23 2021 wangxiyuan <wangxiyuan1007@gmail.com>
|
|
|
|
|
- Package Spec Init
|
|
|
|
|
|