public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-zstandard] epel9: update to 0.22.0 (resolves rhbz#2247527)
@ 2026-08-13 8:05 Dominik Mierzejewski
0 siblings, 0 replies; only message in thread
From: Dominik Mierzejewski @ 2026-08-13 8:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-zstandard
Branch : epel9
Commit : d2e38f85935646fcb17d13e1bb6cdf44bfca9de6
Author : Dominik Mierzejewski <dominik@greysector.net>
Date : 2023-11-22T13:17:19+01:00
Stats : +22/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-zstandard/c/d2e38f85935646fcb17d13e1bb6cdf44bfca9de6?branch=epel9
Log:
update to 0.22.0 (resolves rhbz#2247527)
- fix build with Python 3.13 (resolves rhbz#2245876)
---
diff --git a/.gitignore b/.gitignore
index 550cf80..80548f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/zstandard-0.18.0.tar.gz
/zstandard-0.19.0.tar.gz
/zstandard-0.21.0.tar.gz
+/zstandard-0.22.0.tar.gz
diff --git a/python-zstandard-py313.patch b/python-zstandard-py313.patch
new file mode 100644
index 0000000..641e646
--- /dev/null
+++ b/python-zstandard-py313.patch
@@ -0,0 +1,12 @@
+diff -up zstandard-0.22.0/c-ext/backend_c.c.orig zstandard-0.22.0/c-ext/backend_c.c
+--- zstandard-0.22.0/c-ext/backend_c.c.orig 2023-11-01 07:04:15.000000000 +0100
++++ zstandard-0.22.0/c-ext/backend_c.c 2023-11-22 12:51:36.452480448 +0100
+@@ -17,6 +17,8 @@
+
+ #include <sys/sysctl.h>
+
++#elif defined(__linux__) && defined(HAVE_UNISTD_H)
++#include <unistd.h>
+ #endif
+
+ #include "python-zstandard.h"
diff --git a/python-zstandard.spec b/python-zstandard.spec
index ee6ce67..b633df7 100644
--- a/python-zstandard.spec
+++ b/python-zstandard.spec
@@ -18,12 +18,13 @@
compression library. A C extension and CFFI interface are provided.
Name: python-%{pypi_name}
-Version: 0.21.0
-Release: 3%{?dist}
+Version: 0.22.0
+Release: 1%{?dist}
Summary: Zstandard bindings for Python
License: (BSD-3-Clause OR GPL-2.0-only) AND MIT
URL: https://github.com/indygreg/python-zstandard
Source0: %{pypi_source}
+Patch0: %{name}-py313.patch
%description
%{desc}
@@ -47,7 +48,7 @@ Provides: bundled(zstd) = 1.5.5
%{desc}
%prep
-%setup -q -n %{pypi_name}-%{version}
+%autosetup -p1 -n %{pypi_name}-%{version}
rm -r %{pypi_name}.egg-info
%build
@@ -72,6 +73,10 @@ mv zstandard{.src,}
%{python3_sitearch}/%{pypi_name}
%changelog
+* Wed Nov 22 2023 Dominik Mierzejewski <dominik@greysector.net> - 0.22.0-1
+- update to 0.22.0 (resolves rhbz#2247527)
+- fix build with Python 3.13 (resolves rhbz#2245876)
+
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
diff --git a/sources b/sources
index 7e92000..bc2c90f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (zstandard-0.21.0.tar.gz) = fc46b676e9319180ffa8f626c55bcfbf13804cc75170255bfa7d7b614563276f3bb0fa84e6dba43501ef1cf920fdb90d39ddee2a1ac00139acd0da88ebc67d2a
+SHA512 (zstandard-0.22.0.tar.gz) = 6352586cd3eb9fd2c552a478847433a5879a4f655396186b30ec0b86325e3015c36993e4993e9fa6e92adb5118bb6f78dba1749991ec78b07a8e3646cdf414a9
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-13 8:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13 8:05 [rpms/python-zstandard] epel9: update to 0.22.0 (resolves rhbz#2247527) Dominik Mierzejewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox