public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Alien-Build] f45: 2.87 bump
@ 2026-09-15 8:35
0 siblings, 0 replies; only message in thread
From: @ 2026-09-15 8:35 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Alien-Build
Branch : f45
Commit : bdf26b9f5f58f52615a7080c84963c2d69a3ad61
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-09-15T10:30:05+02:00
Stats : +183/-163 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Alien-Build/c/bdf26b9f5f58f52615a7080c84963c2d69a3ad61?branch=f45
Log:
2.87 bump
---
diff --git a/.gitignore b/.gitignore
index d005d3f..2a57c19 100644
--- a/.gitignore
+++ b/.gitignore
@@ -86,3 +86,4 @@
/Alien-Build-2.80.tar.gz
/Alien-Build-2.83.tar.gz
/Alien-Build-2.84.tar.gz
+/Alien-Build-2.87.tar.gz
diff --git a/Alien-Build-2.84-Replace-Alien-cmake3-with-Alien-cmake4.patch b/Alien-Build-2.84-Replace-Alien-cmake3-with-Alien-cmake4.patch
deleted file mode 100644
index 2f8ff8e..0000000
--- a/Alien-Build-2.84-Replace-Alien-cmake3-with-Alien-cmake4.patch
+++ /dev/null
@@ -1,156 +0,0 @@
-From 9dde8afffcf086bacc2503b5bd83d925c0009bae Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
-Date: Mon, 27 Jul 2026 14:10:06 +0200
-Subject: [PATCH] Replace Alien::cmake3 with Alien::cmake4
-
-In order to use system CMake which nowadays is CMake 4, incompatible
-with CMake 3.
-
-Related: https://github.com/PerlAlien/Alien-Build/issues/432
----
- corpus/cmake-libpalindrome/CMakeLists.txt | 2 +-
- dist.ini | 4 ++--
- lib/Alien/Build/Interpolate/Default.pm | 2 +-
- lib/Alien/Build/Manual/FAQ.pod | 4 ++--
- lib/Alien/Build/Plugin/Build/CMake.pm | 6 +++---
- maint/cip-before-install | 2 --
- t/00_diag.t | 2 +-
- t/alien_build_plugin_build_cmake.t | 4 ++--
- 8 files changed, 12 insertions(+), 14 deletions(-)
-
-diff --git a/corpus/cmake-libpalindrome/CMakeLists.txt b/corpus/cmake-libpalindrome/CMakeLists.txt
-index 09527c3..da2c69a 100644
---- a/corpus/cmake-libpalindrome/CMakeLists.txt
-+++ b/corpus/cmake-libpalindrome/CMakeLists.txt
-@@ -1,4 +1,4 @@
--cmake_minimum_required (VERSION 3.0.0)
-+cmake_minimum_required (VERSION 3.5.0)
- project (libpalindrome C)
- add_subdirectory (libpalindrome)
- add_subdirectory (palx)
-diff --git a/dist.ini b/dist.ini
-index 2ee981c..76202c2 100644
---- a/dist.ini
-+++ b/dist.ini
-@@ -78,7 +78,7 @@ diag = +Alien::gzip
- diag = +IO::Socket::SSL
- diag = +Net::SSLeay
- diag = +LWP::Protocol::https
--diag = +Alien::cmake3
-+diag = +Alien::cmake4
- diag = +Readonly
- diag = +Env::ShellWords
- diag = +Mojo::DOM58
-@@ -182,7 +182,7 @@ remove = URI::Escape
- remove = Archive::Tar
- remove = Archive::Zip
- remove = Alien::gmake
--remove = Alien::cmake3
-+remove = Alien::cmake4
- remove = Devel::Hide
- remove = Net::SSLeay
- remove = IO::Socket::SSL
-diff --git a/lib/Alien/Build/Interpolate/Default.pm b/lib/Alien/Build/Interpolate/Default.pm
-index eb78ae8..46e5eb5 100644
---- a/lib/Alien/Build/Interpolate/Default.pm
-+++ b/lib/Alien/Build/Interpolate/Default.pm
-@@ -291,7 +291,7 @@ The C Compiler used to build Perl
- Requires: L<Alien::CMake> 0.07 if cmake is not already in C<PATH>.
-
- Deprecated: Use the L<Alien::Build::Plugin::Build::CMake> plugin instead (which will replace
--this helper with one that works with L<Alien::cmake3> that works better).
-+this helper with one that works with L<Alien::cmake4> that works better).
-
- =head2 cp
-
-diff --git a/lib/Alien/Build/Manual/FAQ.pod b/lib/Alien/Build/Manual/FAQ.pod
-index a545dfb..469b5f5 100644
---- a/lib/Alien/Build/Manual/FAQ.pod
-+++ b/lib/Alien/Build/Manual/FAQ.pod
-@@ -138,9 +138,9 @@ MSYS plugin and use a command sequence to do the build like this:
-
- =head3 CMake
-
--There is an alien L<Alien::cmake3> that provides C<cmake> 3.x or better (It is preferred to the
-+There is an alien L<Alien::cmake4> that provides C<cmake> 4.x or better (It is preferred to the
- older L<Alien::CMake>). Though it is recommended that you use the C<cmake>
--(L<Alien::Build::Plugin::Build::CMake>) plugin instead of using L<Alien::cmake3>.
-+(L<Alien::Build::Plugin::Build::CMake>) plugin instead of using L<Alien::cmake4>.
-
- use alienfile;
-
-diff --git a/lib/Alien/Build/Plugin/Build/CMake.pm b/lib/Alien/Build/Plugin/Build/CMake.pm
-index ce7b533..a5c822f 100644
---- a/lib/Alien/Build/Plugin/Build/CMake.pm
-+++ b/lib/Alien/Build/Plugin/Build/CMake.pm
-@@ -42,7 +42,7 @@ sub init
- $meta->prop->{destdir} = $^O eq 'MSWin32' ? 0 : 1;
-
- $meta->add_requires('configure' => 'Alien::Build::Plugin::Build::CMake' => '0.99');
-- $meta->add_requires('share' => 'Alien::cmake3' => '0.02');
-+ $meta->add_requires('share' => 'Alien::cmake4' => '0');
-
- if(is_dmake())
- {
-@@ -70,7 +70,7 @@ sub init
- }
- }
-
-- $meta->interpolator->replace_helper('cmake' => sub { require Alien::cmake3; Alien::cmake3->exe });
-+ $meta->interpolator->replace_helper('cmake' => sub { require Alien::cmake4; Alien::cmake4->exe });
- $meta->interpolator->add_helper('cmake_generator' => \&cmake_generator);
-
- my @args = (
-@@ -179,7 +179,7 @@ Returns true if your Perls C<make> appears to be C<dmake>.
-
- =head2 cmake
-
--This plugin replaces the default C<cmake> helper with the one that comes from L<Alien::cmake3>.
-+This plugin replaces the default C<cmake> helper with the one that comes from L<Alien::cmake4>.
-
- =head2 cmake_generator
-
-diff --git a/maint/cip-before-install b/maint/cip-before-install
-index 41417f2..4e6c494 100755
---- a/maint/cip-before-install
-+++ b/maint/cip-before-install
-@@ -21,8 +21,6 @@ fi
-
- if [ "x$ALIEN_BUILD_INSTALL_EXTRA" == "x1" ]; then
-
-- cip exec env PERL_ALT_INSTALL=OVERWRITE cpanm -n Alt::Alien::cmake3::System
--
- cip exec cpanm -n \
- Test2::Harness \
- File::Listing \
-diff --git a/t/00_diag.t b/t/00_diag.t
-index 55c296f..c1d5b8d 100755
---- a/t/00_diag.t
-+++ b/t/00_diag.t
-@@ -14,7 +14,7 @@ $modules{$_} = $_ for qw(
- Acme::Alien::DontPanic
- Alien::Base::ModuleBuild
- Alien::Libbz2
-- Alien::cmake3
-+ Alien::cmake4
- Alien::gzip
- Alien::xz
- Archive::Tar
-diff --git a/t/alien_build_plugin_build_cmake.t b/t/alien_build_plugin_build_cmake.t
-index dbcee35..75d7236 100755
---- a/t/alien_build_plugin_build_cmake.t
-+++ b/t/alien_build_plugin_build_cmake.t
-@@ -6,8 +6,8 @@ use Test::Alien::Build;
- use Alien::Build::Plugin::Build::CMake;
- use Path::Tiny ();
-
--eval { require Alien::cmake3 };
--skip_all 'test requires Alien::cmake3' if $@;
-+eval { require Alien::cmake4 };
-+skip_all 'test requires Alien::cmake4' if $@;
-
- # To see the actual commands being executed
- $ENV{VERBOSE} = 1;
---
-2.55.0
-
diff --git a/Alien-Build-2.87-Replace-Alien-cmake3-with-Alien-cmake4.patch b/Alien-Build-2.87-Replace-Alien-cmake3-with-Alien-cmake4.patch
new file mode 100644
index 0000000..26729de
--- /dev/null
+++ b/Alien-Build-2.87-Replace-Alien-cmake3-with-Alien-cmake4.patch
@@ -0,0 +1,172 @@
+From 471137909ce10d08bfc0b782f9e1a35168b98efc Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Mon, 27 Jul 2026 14:10:06 +0200
+Subject: [PATCH] Replace Alien::cmake3 with Alien::cmake4
+
+In order to use system CMake which nowadays is CMake 4, incompatible
+with CMake 3.
+
+Related: https://github.com/PerlAlien/Alien-Build/issues/432
+---
+ corpus/cmake-libpalindrome/CMakeLists.txt | 2 +-
+ dist.ini | 4 ++--
+ lib/Alien/Build/Interpolate/Default.pm | 2 +-
+ lib/Alien/Build/Manual/FAQ.pod | 4 ++--
+ lib/Alien/Build/Plugin/Build/CMake.pm | 6 +++---
+ maint/cip-before-install | 2 --
+ t/00_diag.t | 2 +-
+ t/alien_build_plugin_build_cmake.t | 12 ++++++------
+ 8 files changed, 16 insertions(+), 18 deletions(-)
+
+diff --git a/corpus/cmake-libpalindrome/CMakeLists.txt b/corpus/cmake-libpalindrome/CMakeLists.txt
+index 09527c3..da2c69a 100644
+--- a/corpus/cmake-libpalindrome/CMakeLists.txt
++++ b/corpus/cmake-libpalindrome/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.0.0)
++cmake_minimum_required (VERSION 3.5.0)
+ project (libpalindrome C)
+ add_subdirectory (libpalindrome)
+ add_subdirectory (palx)
+diff --git a/dist.ini b/dist.ini
+index eb11143..0e8a2b2 100644
+--- a/dist.ini
++++ b/dist.ini
+@@ -78,7 +78,7 @@ diag = +Alien::gzip
+ diag = +IO::Socket::SSL
+ diag = +Net::SSLeay
+ diag = +LWP::Protocol::https
+-diag = +Alien::cmake3
++diag = +Alien::cmake4
+ diag = +Readonly
+ diag = +Env::ShellWords
+ diag = +Mojo::DOM58
+@@ -182,7 +182,7 @@ remove = URI::Escape
+ remove = Archive::Tar
+ remove = Archive::Zip
+ remove = Alien::gmake
+-remove = Alien::cmake3
++remove = Alien::cmake4
+ remove = Devel::Hide
+ remove = Net::SSLeay
+ remove = IO::Socket::SSL
+diff --git a/lib/Alien/Build/Interpolate/Default.pm b/lib/Alien/Build/Interpolate/Default.pm
+index 030a06c..26869e7 100644
+--- a/lib/Alien/Build/Interpolate/Default.pm
++++ b/lib/Alien/Build/Interpolate/Default.pm
+@@ -291,7 +291,7 @@ The C Compiler used to build Perl
+ Requires: L<Alien::CMake> 0.07 if cmake is not already in C<PATH>.
+
+ Deprecated: Use the L<Alien::Build::Plugin::Build::CMake> plugin instead (which will replace
+-this helper with one that works with L<Alien::cmake3> that works better).
++this helper with one that works with L<Alien::cmake4> that works better).
+
+ =head2 cp
+
+diff --git a/lib/Alien/Build/Manual/FAQ.pod b/lib/Alien/Build/Manual/FAQ.pod
+index 703d582..dba09e8 100644
+--- a/lib/Alien/Build/Manual/FAQ.pod
++++ b/lib/Alien/Build/Manual/FAQ.pod
+@@ -138,9 +138,9 @@ MSYS plugin and use a command sequence to do the build like this:
+
+ =head3 CMake
+
+-There is an alien L<Alien::cmake3> that provides C<cmake> 3.x or better (It is preferred to the
++There is an alien L<Alien::cmake4> that provides C<cmake> 4.x or better (It is preferred to the
+ older L<Alien::CMake>). Though it is recommended that you use the C<cmake>
+-(L<Alien::Build::Plugin::Build::CMake>) plugin instead of using L<Alien::cmake3>.
++(L<Alien::Build::Plugin::Build::CMake>) plugin instead of using L<Alien::cmake4>.
+
+ use alienfile;
+
+diff --git a/lib/Alien/Build/Plugin/Build/CMake.pm b/lib/Alien/Build/Plugin/Build/CMake.pm
+index cf619b0..ac3e5ed 100644
+--- a/lib/Alien/Build/Plugin/Build/CMake.pm
++++ b/lib/Alien/Build/Plugin/Build/CMake.pm
+@@ -42,7 +42,7 @@ sub init
+ $meta->prop->{destdir} = $^O eq 'MSWin32' ? 0 : 1;
+
+ $meta->add_requires('configure' => 'Alien::Build::Plugin::Build::CMake' => '0.99');
+- $meta->add_requires('share' => 'Alien::cmake3' => '0.02');
++ $meta->add_requires('share' => 'Alien::cmake4' => '0');
+
+ if(is_dmake())
+ {
+@@ -70,7 +70,7 @@ sub init
+ }
+ }
+
+- $meta->interpolator->replace_helper('cmake' => sub { require Alien::cmake3; Alien::cmake3->exe });
++ $meta->interpolator->replace_helper('cmake' => sub { require Alien::cmake4; Alien::cmake4->exe });
+ $meta->interpolator->add_helper('cmake_generator' => \&cmake_generator);
+
+ my @args = (
+@@ -179,7 +179,7 @@ Returns true if your Perls C<make> appears to be C<dmake>.
+
+ =head2 cmake
+
+-This plugin replaces the default C<cmake> helper with the one that comes from L<Alien::cmake3>.
++This plugin replaces the default C<cmake> helper with the one that comes from L<Alien::cmake4>.
+
+ =head2 cmake_generator
+
+diff --git a/maint/cip-before-install b/maint/cip-before-install
+index aa16e2b..3bc9d84 100755
+--- a/maint/cip-before-install
++++ b/maint/cip-before-install
+@@ -27,8 +27,6 @@ fi
+
+ if [ "x$ALIEN_BUILD_INSTALL_EXTRA" == "x1" ]; then
+
+- cip exec env PERL_ALT_INSTALL=OVERWRITE cpanm -n Alt::Alien::cmake3::System
+-
+ MODULES="
+ Test2::Harness
+ File::Listing
+diff --git a/t/00_diag.t b/t/00_diag.t
+index 20574af..ea0a6a2 100644
+--- a/t/00_diag.t
++++ b/t/00_diag.t
+@@ -13,7 +13,7 @@ $modules{$_} = $_ for qw(
+ Acme::Alien::DontPanic
+ Alien::Base::ModuleBuild
+ Alien::Libbz2
+- Alien::cmake3
++ Alien::cmake4
+ Alien::gzip
+ Alien::xz
+ Archive::Tar
+diff --git a/t/alien_build_plugin_build_cmake.t b/t/alien_build_plugin_build_cmake.t
+index 4c2cfcb..2df9cd7 100644
+--- a/t/alien_build_plugin_build_cmake.t
++++ b/t/alien_build_plugin_build_cmake.t
+@@ -5,8 +5,8 @@ use Test::Alien::Build;
+ use Alien::Build::Plugin::Build::CMake;
+ use Path::Tiny ();
+
+-eval { require Alien::cmake3 };
+-skip_all 'test requires Alien::cmake3' if $@;
++eval { require Alien::cmake4 };
++skip_all 'test requires Alien::cmake4' if $@;
+
+ # To see the actual commands being executed
+ $ENV{VERBOSE} = 1;
+@@ -15,11 +15,11 @@ $Alien::Build::Plugin::Fetch::LocalDir::VERSION ||= '0.99';
+ $Alien::Build::Plugin::Build::CMake::VERSION ||= '0.99';
+ $Alien::Build::Plugin::Gather::IsolateDynamic::VERSION ||= '0.99';
+
+-diag "Alien::cmake3::VERSION = $Alien::cmake3::VERSION";
+-diag "Alien::cmake3->bin_dir = ", my @bin_dir = Alien::cmake3->bin_dir;
+-diag "Alien::cmake3->exe = ", my $exe = Alien::cmake3->exe;
++diag "Alien::cmake4::VERSION = $Alien::cmake4::VERSION";
++diag "Alien::cmake4->bin_dir = ", my @bin_dir = Alien::cmake4->bin_dir;
++diag "Alien::cmake4->exe = ", my $exe = Alien::cmake4->exe;
+ my $full_exe = @bin_dir ? Path::Tiny::path(@bin_dir)->child($exe) : $exe;
+-diag "Alien::cmake3 full exe = $full_exe";
++diag "Alien::cmake4 full exe = $full_exe";
+ diag "cmake --version:\n", `$full_exe --version`;
+
+ my $xs = do { local $/; <DATA> };
+--
+2.55.0
+
diff --git a/perl-Alien-Build.spec b/perl-Alien-Build.spec
index 86ea3dc..e44248f 100644
--- a/perl-Alien-Build.spec
+++ b/perl-Alien-Build.spec
@@ -11,8 +11,8 @@
%endif
Name: perl-Alien-Build
-Version: 2.84
-Release: 7%{?dist}
+Version: 2.87
+Release: 1%{?dist}
Summary: Build external dependencies for use in CPAN
# lib/Alien/Build/Plugin/Test/Mock.pm contains Base64-encoded files for tests
# (a bash script, C source file, a gzipped tar archive, Mach-O 64-bit x86_64
@@ -28,7 +28,7 @@ Patch0: Alien-Build-2.83-Remove-redundant-pkgconfig-implementations.patc
Patch1: Alien-Build-2.65-Remove-redundant-SHA-implementations.patch
# Replace Alien::cmake3 with Alien::cmake4, proposed upstream
# <https://github.com/PerlAlien/Alien-Build/pull/435>
-Patch2: Alien-Build-2.84-Replace-Alien-cmake3-with-Alien-cmake4.patch
+Patch2: Alien-Build-2.87-Replace-Alien-cmake3-with-Alien-cmake4.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
@@ -83,7 +83,7 @@ BuildRequires: perl(JSON::PP)
BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(overload)
BuildRequires: perl(parent)
-BuildRequires: perl(Path::Tiny) >= 0.077
+BuildRequires: perl(Path::Tiny) >= 0.130
# Alien::Build::Plugin::PkgConfig::Negotiate finds a pkgconfig implementation
# in this order:
# PkgConfig::LibPkgConf 0.04, pkgconf, pkg-config, PkgConfig 0.14026.
@@ -185,7 +185,7 @@ Requires: perl(File::Find)
Requires: perl(HTTP::Tiny) >= 0.044
# (HTTP::Tiny and Mozilla::CA) or curl for Alien::Build::Plugin::Download::Negotiate
Requires: perl(Mozilla::CA)
-Requires: perl(Path::Tiny) >= 0.077
+Requires: perl(Path::Tiny) >= 0.130
# Alien::Build::Plugin::PkgConfig::Negotiate finds a pkgconfig implementation
# in this order:
# PkgConfig::LibPkgConf 0.04, pkgconf, pkg-config, PkgConfig 0.14026
@@ -228,7 +228,7 @@ Requires: perl(DynaLoader)
Requires: perl(FFI::CheckLib)
Requires: perl(File::Find)
Requires: perl(JSON::PP)
-Requires: perl(Path::Tiny) >= 0.077
+Requires: perl(Path::Tiny) >= 0.130
Requires: perl(Storable)
Requires: perl(Text::ParseWords) >= 3.26
# pkgconf-pkg-config for pkg-config tool executed by
@@ -473,6 +473,9 @@ make test
%{_libexecdir}/%{name}
%changelog
+* Tue Sep 15 2026 Petr Pisar <ppisar@redhat.com> - 2.87-1
+- 2.87 bump
+
* Mon Jul 27 2026 Petr Pisar <ppisar@redhat.com> - 2.84-7
- Support CMake with Alien::cmake4 (bug #2507309)
diff --git a/sources b/sources
index b46dbf8..456951b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Alien-Build-2.84.tar.gz) = 48f67543e44651f73d4f7668ea4e34d2b522cf8ca6cf4eb0713f13809d5876ed1c1439340e3f0277cac989e17bc03fc0d7671bc26272a39e7fbeb7cef5862784
+SHA512 (Alien-Build-2.87.tar.gz) = 4ee716cf2478f2eb287848875b17181f9574948e5161c30b508df6e48594a515820c0cd1f7ecf3dd2b0642eb1d3488501303391db9826132b413afb5d3026da7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-15 8:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 8:35 [rpms/perl-Alien-Build] f45: 2.87 bump
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox