Merge branch 'f34' into f35
This commit is contained in:
commit
061006e7bf
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/zstandard-0.15.1.tar.gz
|
||||
/zstandard-0.15.2.tar.gz
|
||||
/zstandard-0.16.0.tar.gz
|
||||
/zstandard-0.17.0.tar.gz
|
||||
|
||||
@ -1,39 +0,0 @@
|
||||
diff -up zstandard-0.16.0/c-ext/python-zstandard.h.orig zstandard-0.16.0/c-ext/python-zstandard.h
|
||||
--- zstandard-0.16.0/c-ext/python-zstandard.h.orig 2021-10-16 23:41:56.000000000 +0200
|
||||
+++ zstandard-0.16.0/c-ext/python-zstandard.h 2021-10-18 12:54:19.526520178 +0200
|
||||
@@ -126,7 +126,7 @@ typedef struct {
|
||||
size_t outSize;
|
||||
int entered;
|
||||
int closing;
|
||||
- int closed;
|
||||
+ char closed;
|
||||
int writeReturnRead;
|
||||
int closefd;
|
||||
unsigned long long bytesCompressed;
|
||||
@@ -163,7 +163,7 @@ typedef struct {
|
||||
int closefd;
|
||||
|
||||
int entered;
|
||||
- int closed;
|
||||
+ char closed;
|
||||
unsigned long long bytesCompressed;
|
||||
|
||||
ZSTD_inBuffer input;
|
||||
@@ -243,7 +243,7 @@ typedef struct {
|
||||
/* Whether the context manager is active. */
|
||||
int entered;
|
||||
/* Whether we've closed the stream. */
|
||||
- int closed;
|
||||
+ char closed;
|
||||
|
||||
/* Number of bytes decompressed and returned to user. */
|
||||
unsigned long long bytesDecompressed;
|
||||
@@ -270,7 +270,7 @@ typedef struct {
|
||||
size_t outSize;
|
||||
int entered;
|
||||
int closing;
|
||||
- int closed;
|
||||
+ char closed;
|
||||
int writeReturnRead;
|
||||
int closefd;
|
||||
} ZstdDecompressionWriter;
|
||||
@ -13,14 +13,12 @@
|
||||
compression library. A C extension and CFFI interface are provided.
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.16.0
|
||||
Version: 0.17.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Zstandard bindings for Python
|
||||
License: BSD and GPLv2
|
||||
URL: https://github.com/indygreg/python-zstandard
|
||||
Source0: %{pypi_source}
|
||||
# https://github.com/indygreg/python-zstandard/issues/105
|
||||
Patch1: %{name}-issue-105.patch
|
||||
|
||||
%description
|
||||
%{desc}
|
||||
@ -38,14 +36,13 @@ BuildRequires: python3-pytest
|
||||
BuildRequires: python3-pytest-xdist
|
||||
%endif
|
||||
# https://github.com/indygreg/python-zstandard/issues/48
|
||||
Provides: bundled(zstd) = 1.5.0
|
||||
Provides: bundled(zstd) = 1.5.1
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
%{desc}
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pypi_name}-%{version}
|
||||
%patch1 -p1
|
||||
rm -r %{pypi_name}.egg-info
|
||||
|
||||
%build
|
||||
@ -70,6 +67,10 @@ mv zstandard{.src,}
|
||||
%{python3_sitearch}/%{pypi_name}
|
||||
|
||||
%changelog
|
||||
* Tue Feb 15 2022 Dominik Mierzejewski <dominik@greysector.net> 0.17.0-1
|
||||
- update to 0.17.0 (#2042593)
|
||||
- drop obsolete patch
|
||||
|
||||
* Mon Oct 18 2021 Dominik Mierzejewski <dominik@greysector.net> 0.16.0-1
|
||||
- update to 0.16.0 (#2014873)
|
||||
- drop obsolete patch
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (zstandard-0.16.0.tar.gz) = f528cace58c1f1ec0fbea96e1646d92b05077ab6f5919eec07dc7b4fcfadf97dc848238928276fdb4333fb2cd035509af472ee352608661c3de681bc8dbed318
|
||||
SHA512 (zstandard-0.17.0.tar.gz) = 312aa02c7309fac64cf70ca901942118d4b3f12f27d20cc18dcaba5ce155ad81ea8d7657501a33a5fb6cdc8bcca11f91141ea9d6c3fc09c28a84d698b9050391
|
||||
|
||||
Loading…
Reference in New Issue
Block a user