public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Sereal-Encoder] epel10.2: Fix detection of miniz 3.1.0
Date: Tue, 02 Jun 2026 07:09:55 GMT [thread overview]
Message-ID: <178038419583.1.4389899849511074168.rpms-perl-Sereal-Encoder-c85c9ecedc4c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Sereal-Encoder
Branch : epel10.2
Commit : c85c9ecedc4cef87d08dd5aafc2ee534c8db11d6
Author : Paul Howarth <paul@city-fan.org>
Date : 2025-09-22T15:51:25+01:00
Stats : +21/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Sereal-Encoder/c/c85c9ecedc4cef87d08dd5aafc2ee534c8db11d6?branch=epel10.2
Log:
Fix detection of miniz 3.1.0
miniz 3.1.0 has static functions in miniz.h that reference functions in the
miniz library so we need -lminiz even for the header check.
---
diff --git a/Sereal-Encoder-5.004-external-miniz.patch b/Sereal-Encoder-5.004-external-miniz.patch
new file mode 100644
index 0000000..a545e18
--- /dev/null
+++ b/Sereal-Encoder-5.004-external-miniz.patch
@@ -0,0 +1,12 @@
+--- inc/Sereal/BuildTools.pm
++++ inc/Sereal/BuildTools.pm
+@@ -108,6 +108,9 @@ sub check_external_libraries {
+ !$ENV{SEREAL_USE_BUNDLED_LIBS}
+ && !$ENV{SEREAL_USE_BUNDLED_MINIZ}
+ && Devel::CheckLib::check_lib(
++ # miniz 3.1.0 has static functions in miniz.h that reference functions in the miniz library
++ # so we need -lminiz even for the header check
++ ldflags => '-lminiz',
+ lib => 'miniz',
+ header => 'miniz.h'
+ ) )
diff --git a/perl-Sereal-Encoder.spec b/perl-Sereal-Encoder.spec
index 607521a..37ad4c8 100644
--- a/perl-Sereal-Encoder.spec
+++ b/perl-Sereal-Encoder.spec
@@ -7,7 +7,7 @@
Name: perl-Sereal-Encoder
Version: 5.004
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: Perl serialization into Sereal format
# lib/Sereal/Encoder.pm: GPL+ or Artistic
# qsort.h: LGPLv2+ (borrowed from glibc)
@@ -19,6 +19,7 @@ Summary: Perl serialization into Sereal format
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LGPL-2.1-or-later
URL: https://metacpan.org/release/Sereal-Encoder
Source0: https://cpan.metacpan.org/authors/id/Y/YV/YVES/Sereal-Encoder-%{version}.tar.gz
+Patch0: Sereal-Encoder-5.004-external-miniz.patch
# Build:
BuildRequires: coreutils
BuildRequires: csnappy-devel
@@ -85,6 +86,10 @@ serializer using a binary protocol called Sereal.
%prep
%setup -q -n Sereal-Encoder-%{version}
+
+# Fix detection of miniz 3.1.0
+%patch -P0
+
# Remove bundled Perl modules
rm -r ./inc/Devel
perl -i -ne 'print $_ unless m{^inc/Devel/}' MANIFEST
@@ -119,6 +124,9 @@ make test
%{_mandir}/man3/Sereal::Encoder.3*
%changelog
+* Mon Sep 22 2025 Paul Howarth <paul@city-fan.org> - 5.004-12
+- Fix detection of miniz 3.1.0
+
* Sat Aug 02 2025 Dominik Mierzejewski <dominik@greysector.net> - 5.004-11
- Rebuilt for miniz SONAME bump (and fixed include path)
reply other threads:[~2026-06-02 7:09 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=178038419583.1.4389899849511074168.rpms-perl-Sereal-Encoder-c85c9ecedc4c@fedoraproject.org \
--to=paul@city-fan.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