public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-POE-Component-Client-LDAP] rawhide: Unbundle Module::Install
@ 2026-10-14 14:31 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-14 14:31 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-POE-Component-Client-LDAP
Branch : rawhide
Commit : 782fecd1bd393bb908e188f0714e3cccfe46f78a
Author : Petr Písař <ppisar@redhat.com>
Date   : 2026-10-14T16:30:12+02:00
Stats  : +35/-24 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-POE-Component-Client-LDAP/c/782fecd1bd393bb908e188f0714e3cccfe46f78a?branch=rawhide

Log:
Unbundle Module::Install

---
diff --git a/POE-Component-Client-LDAP-0.04-Do-not-install-dependencies-from-CPAN.patch b/POE-Component-Client-LDAP-0.04-Do-not-install-dependencies-from-CPAN.patch
new file mode 100644
index 0000000..c4eca80
--- /dev/null
+++ b/POE-Component-Client-LDAP-0.04-Do-not-install-dependencies-from-CPAN.patch
@@ -0,0 +1,25 @@
+From 3e79ed1dcf0c5310adef04ea7628b80061b9b3ae Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Wed, 14 Oct 2026 16:23:39 +0200
+Subject: [PATCH] Do not install dependencies from CPAN
+
+---
+ Makefile.PL | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 83f3afb..35ae8cb 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -25,8 +25,5 @@ requires	'POE::Driver::SysRW'	=> 0;
+ # Do not index our example modules
+ no_index        directory           => 'scripts';
+ 
+-# Auto-install all dependencies from CPAN
+-auto_install;
+-
+ # Generate the Makefile
+ WriteAll;
+-- 
+2.56.0
+

diff --git a/POE-Component-Client-LDAP-0.04-Fix-building-on-Perl-without-dot-in-INC.patch b/POE-Component-Client-LDAP-0.04-Fix-building-on-Perl-without-dot-in-INC.patch
deleted file mode 100644
index 13bcc1c..0000000
--- a/POE-Component-Client-LDAP-0.04-Fix-building-on-Perl-without-dot-in-INC.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -up POE-Component-Client-LDAP-0.04/Makefile.PL.orig POE-Component-Client-LDAP-0.04/Makefile.PL
---- POE-Component-Client-LDAP-0.04/Makefile.PL.orig	2017-05-17 14:44:06.885501272 +0200
-+++ POE-Component-Client-LDAP-0.04/Makefile.PL	2017-05-17 14:44:26.995416245 +0200
-@@ -1,4 +1,5 @@
- # Load the Module::Install bundled in ./inc/
-+BEGIN { push @INC, '.'; }
- use inc::Module::Install;
- 
- # Name of your distribution

diff --git a/perl-POE-Component-Client-LDAP.spec b/perl-POE-Component-Client-LDAP.spec
index a1ebdf4..a02b408 100644
--- a/perl-POE-Component-Client-LDAP.spec
+++ b/perl-POE-Component-Client-LDAP.spec
@@ -5,29 +5,19 @@ Summary:        Async LDAP access for POE
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/POE-Component-Client-LDAP            
 Source0:        https://cpan.metacpan.org/authors/id/H/HA/HACHI/POE-Component-Client-LDAP-%{version}.tar.gz
-Patch0:         POE-Component-Client-LDAP-0.04-Fix-building-on-Perl-without-dot-in-INC.patch
+Patch0:         POE-Component-Client-LDAP-0.04-Do-not-install-dependencies-from-CPAN.patch
 BuildArch:      noarch
 BuildRequires:  coreutils
 BuildRequires:  dos2unix
 BuildRequires:  make
 BuildRequires:  perl-interpreter
 BuildRequires:  perl-generators
-BuildRequires:  perl(Carp)
-BuildRequires:  perl(Config)
-BuildRequires:  perl(CPAN)
-BuildRequires:  perl(Cwd)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(ExtUtils::Manifest)
-BuildRequires:  perl(ExtUtils::MM_Unix)
-BuildRequires:  perl(File::Find)
-BuildRequires:  perl(File::Path)
-BuildRequires:  perl(File::Spec)
-BuildRequires:  perl(FindBin)
-BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(strict)
-BuildRequires:  perl(vars)
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::WriteAll)
 # Run-time:
 BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(Convert::ASN1)
 BuildRequires:  perl(Net::LDAP) >= 0.31
 BuildRequires:  perl(Net::LDAP::ASN)
@@ -38,6 +28,7 @@ BuildRequires:  perl(POE::Filter::Stream)
 BuildRequires:  perl(POE::Wheel::Null)
 BuildRequires:  perl(POE::Wheel::ReadWrite)
 BuildRequires:  perl(POE::Wheel::SocketFactory)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
 # Tests:
 BuildRequires:  perl(Test::More)
@@ -49,6 +40,9 @@ object, allowing it to be used in async mode properly within a POE program.
 
 %prep
 %autosetup -p1 -n POE-Component-Client-LDAP-%{version}
+# Remove bundled modules
+rm -r ./inc
+perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
 # fix line endings...
 dos2unix scripts/search.pl
 
@@ -78,6 +72,7 @@ make test
 %changelog
 * Wed Oct 14 2026 Petr Pisar <ppisar@redhat.com> - 0.04-54
 - Modernize a spec file
+- Unbundle Module::Install
 
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-53
 - 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-10-14 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 14:31 [rpms/perl-POE-Component-Client-LDAP] rawhide: Unbundle Module::Install 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox