public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-zstandard] epel9: update to 0.22.0 (resolves rhbz#2247527)
Date: Thu, 13 Aug 2026 08:05:10 GMT [thread overview]
Message-ID: <178660831096.1.4698348763093165288.rpms-python-zstandard-d2e38f859356@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-13 8:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178660831096.1.4698348763093165288.rpms-python-zstandard-d2e38f859356@fedoraproject.org \
--to=dominik@greysector.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox