Update to 1.5.5.1
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
This commit is contained in:
parent
1a551afe5d
commit
934f91cc45
@ -1,10 +0,0 @@
|
|||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -171,7 +173,6 @@
|
|
||||||
Extension('zstd', zstdFiles, libraries=ext_libraries)
|
|
||||||
],
|
|
||||||
cmdclass = {'build_ext': ZstdBuildExt },
|
|
||||||
- test_suite='setup.my_test_suite',
|
|
||||||
classifiers=[
|
|
||||||
'License :: OSI Approved :: BSD License',
|
|
||||||
'Intended Audience :: Developers',
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
--- a/setup.py
|
--- a/setup.py
|
||||||
+++ b/setup.py
|
+++ b/setup.py
|
||||||
@@ -97,6 +97,8 @@
|
@@ -119,6 +119,8 @@ else:
|
||||||
class ZstdBuildExt( build_ext ):
|
class ZstdBuildExt( build_ext ):
|
||||||
|
|
||||||
def build_extensions(self):
|
def build_extensions(self):
|
||||||
@ -1,5 +1,5 @@
|
|||||||
%global pypi_name zstd
|
%global pypi_name zstd
|
||||||
%global zstd_version 1.4.5
|
%global zstd_version 1.5.5
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.5.5.1
|
Version: 1.5.5.1
|
||||||
@ -9,11 +9,10 @@ Summary: Zstd Bindings for Python
|
|||||||
# original zstd bits are GPL-2.0-or-later OR BSD-2-Clause
|
# original zstd bits are GPL-2.0-or-later OR BSD-2-Clause
|
||||||
License: BSD-2-Clause AND (GPL-2.0-or-later OR BSD-2-Clause)
|
License: BSD-2-Clause AND (GPL-2.0-or-later OR BSD-2-Clause)
|
||||||
URL: https://github.com/sergey-dryabzhinsky/python-zstd
|
URL: https://github.com/sergey-dryabzhinsky/python-zstd
|
||||||
Source0: %{pypi_source}
|
Source: %{pypi_source}
|
||||||
|
|
||||||
# Patches to fix test execution
|
# Patches to fix test execution
|
||||||
Patch0: python-zstd-1.4.5.1-test-external.patch
|
Patch: python-zstd-1.5.5.1-test-external.patch
|
||||||
Patch1: python-zstd-1.4.5.1-test-once.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -36,16 +35,19 @@ Simple Python bindings for the Zstd compression library.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{pypi_name}-%{version}
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||||
# Remove bundled egg-info
|
# Remove bundled egg-info
|
||||||
rm -rf %{pypi_name}.egg-info
|
rm -rf src/%{pypi_name}.egg-info
|
||||||
|
# Remove precompiled files
|
||||||
|
find . -name '*.pyc' -delete
|
||||||
# Remove bundled zstd library
|
# Remove bundled zstd library
|
||||||
rm -rf zstd/
|
rm -rf zstd/
|
||||||
# do not test the version matching, we don't really need exact version of
|
# do not test the version matching, we don't really need exact version of
|
||||||
# zstd here
|
# zstd here
|
||||||
rm tests/test_version.py
|
rm tests/test_version.py
|
||||||
|
sed -i -e '/tests\.test_version/d' setup.py
|
||||||
sed -i -e '/test_version/d' tests/__init__.py
|
sed -i -e '/test_version/d' tests/__init__.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build -- --legacy --pyzstd-legacy --external
|
%py3_build -- --legacy --external
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
@ -60,7 +62,7 @@ sed -i -e '/test_version/d' tests/__init__.py
|
|||||||
%{python3_sitearch}/%{pypi_name}*.so
|
%{python3_sitearch}/%{pypi_name}*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jan 08 2024 Michel Lind <salimma@fedoraproject.org> - 1.5.5.1-1
|
* Tue Jan 09 2024 Michel Lind <salimma@fedoraproject.org> - 1.5.5.1-1
|
||||||
- Update to 1.5.5.1
|
- Update to 1.5.5.1
|
||||||
|
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5.1-12
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5.1-12
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user