public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libzip] rawhide: v1.12.1
Date: Wed, 14 Oct 2026 13:13:15 GMT [thread overview]
Message-ID: <179198359566.1.7955356307496189883.rpms-libzip-f90623bbd34f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libzip
Branch : rawhide
Commit : f90623bbd34f7eafc804d6a46f11ab79595c0147
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-10-14T15:13:08+02:00
Stats : +7/-80 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/libzip/c/f90623bbd34f7eafc804d6a46f11ab79595c0147?branch=rawhide
Log:
v1.12.1
---
diff --git a/.gitignore b/.gitignore
index 66ccd7d..1049a12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,3 +33,4 @@ libzip-0.9.3.tar.bz2
/libzip-1.11.3.tar.xz
/libzip-1.11.4.tar.xz
/libzip-1.12.tar.xz
+/libzip-1.12.1.tar.xz
diff --git a/libzip.spec b/libzip.spec
index aaa1d5f..007a96c 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -1,16 +1,14 @@
%bcond_without tests
Name: libzip
-Version: 1.12
-Release: 2%{?dist}
+Version: 1.12.1
+Release: 1%{?dist}
Summary: C library for reading, creating, and modifying zip archives
License: BSD-3-Clause
URL: https://libzip.org/
Source0: https://libzip.org/download/libzip-%{version}.tar.xz
-Patch0: upstream.patch
-
BuildRequires: gcc
BuildRequires: zlib-devel >= 1.1.2
BuildRequires: bzip2-devel
@@ -119,6 +117,9 @@ sed -e '/clone-fs-/d' \
%changelog
+* Wed Oct 14 2026 Remi Collet <remi@remirepo.net> - 1.12.1-1
+- update to 1.12.1
+
* Fri Oct 9 2026 Remi Collet <remi@remirepo.net> - 1.12-2
- Fix regression adding and replacing files in torrentzip archives
https://github.com/nih-at/libzip/issues/617
diff --git a/sources b/sources
index 7befe76..4129b3c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libzip-1.12.tar.xz) = 00e300dee97e4c8664c9bef0c21e25b1e37c1a565870264b85f6a35ba4e6252c78c93a36243ad7e219767c64e822081ee1174a42d1fee80090573c81f5be3c6d
+SHA512 (libzip-1.12.1.tar.xz) = acc848242e8c0fc85c7e7984f633d898443156024cb67ee4facb657c80dd397b01326e5c32bc3955eba7ffcecdc39bebabfd27ea2d38e80603dae15581cf00e1
diff --git a/upstream.patch b/upstream.patch
deleted file mode 100644
index cf653a9..0000000
--- a/upstream.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From e3f6db9b8bc7a6ec403f64c7a86a9b162fd70705 Mon Sep 17 00:00:00 2001
-From: Dieter Baron <dillo@nih.at>
-Date: Fri, 9 Oct 2026 12:10:33 +0200
-Subject: [PATCH] Fix adding/replacing files in torrentzip archives.
-
-Fixes issue #617
----
- THANKS | 1 +
- TODO.md | 10 +++++++++-
- lib/zip_extra_field_api.c | 6 +++++-
- 3 files changed, 15 insertions(+), 2 deletions(-)
-
-diff --git a/THANKS b/THANKS
-index 5d24db00f..7e4b8b834 100644
---- a/THANKS
-+++ b/THANKS
-@@ -48,6 +48,7 @@ Coverity
- cryi
- ctenter-scs
- Dane Springmeyer
-+Daniel Linjama
- Daniel Russel
- Ларионов Даниил
- David Carlier
-diff --git a/TODO.md b/TODO.md
-index d838bbd8d..4bcfa441d 100644
---- a/TODO.md
-+++ b/TODO.md
-@@ -1,20 +1,28 @@
- ## Tests
-
-+### Infrastructure
-+
- - Make `ziptool` take command from stdin, one command per line.
- - Add option to `ziptool` to not abort on errors.
- - Find framework for C unit tests.
- - Add test program for testing sources, which takes commands from stdin.
- - Switch existing dedicated test programs to one of the above, where possible.
-
-+### CI
-+
- - Add CI build with sanitizers enabled.
-
-+### Specific Tests
-+
-+- Add test to add/replace/remove files in torrentzip archives.
-+
- ## Fuzzing
-
- - improve AES and PKWARE encryption tests
- - add more
- - review memset() uses
-
--### Torrentzip
-+## Torrentzip
-
- - Handle data sources with unknown uncompressed size: if we forced ZIP64 and don't need it, return specific error (so calling code can decide what to do (e. g. clear torrentzip flag and call `zip_close()` again)).
-
-diff --git a/lib/zip_extra_field_api.c b/lib/zip_extra_field_api.c
-index e2b22fd0b..775d2d62d 100644
---- a/lib/zip_extra_field_api.c
-+++ b/lib/zip_extra_field_api.c
-@@ -58,7 +58,11 @@ ZIP_EXTERN int zip_file_extra_field_delete(zip_t *za, zip_uint64_t idx, zip_uint
- zip_error_set(&za->error, ZIP_ER_RDONLY, 0);
- return -1;
- }
-- if (ZIP_WANT_TORRENTZIP(za)) {
-+ /*
-+ Since torrentzip does not allow extra fields, allow deleting all of them.
-+ Also, this is used internally by zip_file_replace().
-+ */
-+ if (ZIP_WANT_TORRENTZIP(za) && (ef_idx != ZIP_EXTRA_FIELD_ALL || (flags & ZIP_EF_BOTH) != ZIP_EF_BOTH)) {
- zip_error_set(&za->error, ZIP_ER_NOT_ALLOWED, 0);
- return -1;
- }
reply other threads:[~2026-10-14 13:13 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=179198359566.1.7955356307496189883.rpms-libzip-f90623bbd34f@fedoraproject.org \
--to=remi@fedoraproject.org \
--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