public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Alien-Brotli] rawhide: Do not build-require removed Alien::cmake3
@ 2026-08-17 9:24
0 siblings, 0 replies; only message in thread
From: @ 2026-08-17 9:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Alien-Brotli
Branch : rawhide
Commit : 4c6f2ec9e676e1255ca39921c9eaa53b1736afad
Author : Michal Josef Špaček <mspacek@redhat.com>
Date : 2026-08-17T11:10:25+02:00
Stats : +61/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Alien-Brotli/c/4c6f2ec9e676e1255ca39921c9eaa53b1736afad?branch=rawhide
Log:
Do not build-require removed Alien::cmake3
bug #2440104
Thanks ppisar
---
diff --git a/Alien-Brotli-v0.2.2-Remove-shared-part-of-alien-file.patch b/Alien-Brotli-v0.2.2-Remove-shared-part-of-alien-file.patch
new file mode 100644
index 0000000..3107416
--- /dev/null
+++ b/Alien-Brotli-v0.2.2-Remove-shared-part-of-alien-file.patch
@@ -0,0 +1,58 @@
+From f183bb857ec7ce8828b1bf1508507f27df7b8a85 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Mon, 2 Mar 2026 15:41:36 +0100
+Subject: [PATCH] Remove shared part of alien file
+
+We build against system brotli. No need to pull in dependencies for
+shared installation. Shared installation does not work now because
+system CMake was upgraded to CMake 4 which is incompatible with
+Alien::cmake3.
+
+https://bugzilla.redhat.com/show_bug.cgi?id=2440104
+---
+ alienfile | 32 --------------------------------
+ 1 file changed, 32 deletions(-)
+
+diff --git a/alienfile b/alienfile
+index 9de3bd4..376b3a9 100644
+--- a/alienfile
++++ b/alienfile
+@@ -13,35 +13,3 @@ plugin 'Probe::CommandLine' => (
+ command => 'brotli',
+ secondary => 1,
+ );
+-
+-share {
+- requires 'Alien::bc::GNU' => '0';
+-
+- start_url 'https://github.com/google/brotli/tags';
+-
+- plugin 'Build::SearchDep';
+-
+- plugin 'Download' => (
+- filter => qr/(\d\.)+\d\.tar\.gz$/,
+- version => qr/([0-9\.]+)/,
+- prefer => 1,
+- );
+-
+- plugin 'Extract' => 'tar.gz';
+-
+- plugin 'Build::CMake';
+- plugin 'Build::Autoconf';
+-
+- build [
+- './bootstrap',
+- '%{configure}',
+- '%{make}',
+- '%{make} install',
+- ];
+-
+- after 'gather' => sub {
+- my($build) = @_;
+- $build->runtime_prop->{command} = 'brotli';
+- };
+-
+-};
+--
+2.53.0
+
diff --git a/perl-Alien-Brotli.spec b/perl-Alien-Brotli.spec
index 5a3e0eb..8bc6f78 100644
--- a/perl-Alien-Brotli.spec
+++ b/perl-Alien-Brotli.spec
@@ -8,6 +8,7 @@ Summary: Find and install the Brotli compressor
License: MIT
URL: http://metacpan.org/dist/Alien-Brotli
Source0: http://cpan.metacpan.org/authors/id/R/RR/RRWO/Alien-Brotli-v%{version}.tar.gz
+Patch0: Alien-Brotli-v0.2.2-Remove-shared-part-of-alien-file.patch
BuildRequires: coreutils
BuildRequires: sed
@@ -23,7 +24,6 @@ BuildRequires: perl(Alien::Base)
BuildRequires: perl(Alien::Build) >= 0.32
BuildRequires: perl(Alien::Build::MM) >= 0.32
BuildRequires: perl(Alien::Build::Plugin::Probe::CommandLine)
-BuildRequires: perl(Alien::cmake3) >= 0.02
BuildRequires: perl(alienfile)
BuildRequires: perl(base)
BuildRequires: perl(Config)
@@ -62,7 +62,7 @@ Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep
-%setup -q -n Alien-Brotli-v%{version}
+%autosetup -p1 -n Alien-Brotli-v%{version}
# Disable test for prerequisites
rm t/00-report-prereqs.{t,dd}
# Stop MakeMaker from throwing warnings
@@ -112,6 +112,7 @@ make test
%changelog
* Mon Aug 17 2026 Michal Josef Špaček <mspacek@redhat.com> - 0.2.2-14
- Fix building in interactive mode. Thanks ppisar
+- Do not build-require removed Alien::cmake3 (bug #2440104). Thanks ppisar.
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-17 9:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 9:24 [rpms/perl-Alien-Brotli] rawhide: Do not build-require removed Alien::cmake3
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox