public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-SVK] rawhide: Specify all dependencies and unbundle Modules::Install
Date: Thu, 15 Oct 2026 16:18:38 GMT [thread overview]
Message-ID: <179208111873.1.1169959089952473476.rpms-perl-SVK-9f39f8c569ff@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-SVK
Branch : rawhide
Commit : 9f39f8c569ff0258a4132262e76c958f6e614016
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-10-15T18:17:28+02:00
Stats : +149/-58 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/perl-SVK/c/9f39f8c569ff0258a4132262e76c958f6e614016?branch=rawhide
Log:
Specify all dependencies and unbundle Modules::Install
---
diff --git a/SVK-v2.2.3-Disable-installing-dependencies-from-CPAN.patch b/SVK-v2.2.3-Disable-installing-dependencies-from-CPAN.patch
new file mode 100644
index 0000000..bbd3fe6
--- /dev/null
+++ b/SVK-v2.2.3-Disable-installing-dependencies-from-CPAN.patch
@@ -0,0 +1,26 @@
+From a18732049f7dd8bf11d82e9c3d5d6a981a91cc70 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Thu, 15 Oct 2026 17:40:03 +0200
+Subject: [PATCH] Disable installing dependencies from CPAN
+
+---
+ Makefile.PL | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index f1ecfd5..b76997f 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -149,9 +149,6 @@ features(
+ # Include subdirectory tests too.
+ tests("t/*.t t/*/*.t");
+
+-include('ExtUtils::AutoInstall');
+-auto_install();
+-
+ auto_provides();
+ WriteAll( sign => 0 );
+
+--
+2.56.0
+
diff --git a/SVK-v2.2.3-Fix-building-on-Perl-without-dot-in-INC.patch b/SVK-v2.2.3-Fix-building-on-Perl-without-dot-in-INC.patch
deleted file mode 100644
index 074c761..0000000
--- a/SVK-v2.2.3-Fix-building-on-Perl-without-dot-in-INC.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -up SVK-v2.2.3/Makefile.PL.orig SVK-v2.2.3/Makefile.PL
---- SVK-v2.2.3/Makefile.PL.orig 2017-05-22 14:13:08.731162763 +0200
-+++ SVK-v2.2.3/Makefile.PL 2017-05-22 14:13:32.861019523 +0200
-@@ -52,6 +52,7 @@
- my $required_svn = '1.3.0';
- my $required_svm = '0.71';
-
-+BEGIN { push @INC, '.'; }
- use strict;
- use inc::Module::Install;
-
diff --git a/perl-SVK.spec b/perl-SVK.spec
index 25e3b54..d7abbb5 100644
--- a/perl-SVK.spec
+++ b/perl-SVK.spec
@@ -15,58 +15,131 @@ License: GPL-2.0-only
SourceLicense: %{license} AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-2.0-or-later
URL: https://metacpan.org/release/SVK
Source0: https://cpan.metacpan.org/modules/by-authors/id/C/CL/CLKAO/SVK-v%{version}.tar.gz
-Patch0: SVK-v2.2.3-Fix-building-on-Perl-without-dot-in-INC.patch
# Fix subversion version check, CPAN RT#125150
-Patch1: SVK-v2.2.3-Fix-SVN-Core-version-check.patch
+Patch0: SVK-v2.2.3-Fix-SVN-Core-version-check.patch
+# Do not try to install dependencies from CPAN at build time
+Patch1: SVK-v2.2.3-Disable-installing-dependencies-from-CPAN.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
-BuildRequires: perl(Test::More)
-BuildRequires: perl(Algorithm::Annotate)
-BuildRequires: perl(Algorithm::Diff) >= 1.19
-BuildRequires: perl(App::CLI)
-BuildRequires: perl(Compress::Zlib)
-BuildRequires: perl(Class::Accessor::Fast)
-BuildRequires: perl(Class::Autouse) >= 1.15
-BuildRequires: perl(Class::Data::Inheritable)
-BuildRequires: perl(Data::Hierarchy) >= 0.30
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(File::Type)
-BuildRequires: perl(File::MMagic)
-BuildRequires: perl(FreezeThaw)
-BuildRequires: perl(IO::Digest)
-BuildRequires: perl(List::MoreUtils)
-BuildRequires: perl(Locale::Maketext::Lexicon)
-BuildRequires: perl(Log::Log4perl)
-BuildRequires: perl(Path::Class) >= 0.16
-BuildRequires: perl(PerlIO::eol) >= 0.13
-BuildRequires: perl(PerlIO::via::dynamic) >= 0.11
-BuildRequires: perl(PerlIO::via::symlink) >= 0.02
-BuildRequires: perl(Pod::Escapes)
-BuildRequires: perl(Pod::Simple)
-#BuildRequires: perl(SVN::Mirror) >= 0.71
-BuildRequires: perl(SVN::Simple::Edit) >= 0.27
-BuildRequires: perl(Term::ReadKey)
-BuildRequires: perl(UNIVERSAL::require)
-BuildRequires: perl(URI)
-BuildRequires: perl(version) >= 0.68
-BuildRequires: perl(YAML::Syck) >= 0.60
-BuildRequires: perl(Time::Progress)
-Requires: perl(App::CLI)
-Requires: perl(Class::Accessor::Fast)
-Requires: perl(Class::Data::Inheritable)
-Requires: perl(Pod::Escapes)
-Requires: perl(Pod::Simple)
-Requires: perl(ExtUtils::MakeMaker)
-#Requires: perl(SVN::Mirror) >= 0.71
-Requires: perl(Term::ReadKey)
-Requires: perl(Time::Progress)
-Requires: perl(URI)
-Provides: perl(SVK::Version) = %{version}
-
+BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Module::Install::Makefile)
+BuildRequires: perl(Module::Install::Metadata)
+BuildRequires: perl(Module::Install::Scripts)
+BuildRequires: perl(Module::Install::WriteAll)
+BuildRequires: perl(strict)
+BuildRequires: perl(SVN::Core) >= 1.3.0
+BuildRequires: perl(version) >= 0.77
+# Run-time:
+# No tests are performed
+#BuildRequires: perl(Algorithm::Annotate)
+#BuildRequires: perl(Algorithm::Diff) >= 1.19
+#BuildRequires: perl(App::CLI)
+#BuildRequires: perl(App::CLI::Command)
+#BuildRequires: perl(autouse)
+#BuildRequires: perl(base)
+#BuildRequires: perl(Carp)
+#BuildRequires: perl(Class::Accessor)
+#BuildRequires: perl(Class::Accessor::Fast)
+#BuildRequires: perl(Class::Autouse) >= 1.15
+#BuildRequires: perl(Class::Data::Inheritable)
+#BuildRequires: perl(Compress::Zlib)
+#BuildRequires: perl(Config)
+#BuildRequires: perl(constant)
+#BuildRequires: perl(Cwd)
+#BuildRequires: perl(Data::Dumper)
+#BuildRequires: perl(Data::Hierarchy) >= 0.30
+## Date::Format only on Win32
+#BuildRequires: perl(Digest::MD5)
+#BuildRequires: perl(Encode)
+#BuildRequires: perl(Encode::TW)
+#BuildRequires: perl(Exporter)
+#BuildRequires: perl(ExtUtils::MakeMaker)
+#BuildRequires: perl(Fcntl)
+#BuildRequires: perl(File::Compare)
+#BuildRequires: perl(File::Copy)
+#BuildRequires: perl(File::Find)
+#BuildRequires: perl(File::Glob)
+#BuildRequires: perl(File::LibMagic) >= 0.84
+#BuildRequires: perl(File::MMagic)
+#BuildRequires: perl(File::Path)
+#BuildRequires: perl(File::Spec)
+#BuildRequires: perl(File::Temp)
+#BuildRequires: perl(File::Type)
+#BuildRequires: perl(FreezeThaw)
+#BuildRequires: perl(Getopt::Long)
+#BuildRequires: perl(IO::Digest)
+#BuildRequires: perl(List::MoreUtils)
+#BuildRequires: perl(List::Util)
+#BuildRequires: perl(LWP::UserAgent)
+#BuildRequires: perl(MIME::Base64)
+#BuildRequires: perl(Path::Class) >= 0.16
+#BuildRequires: perl(PerlIO)
+#BuildRequires: perl(PerlIO::eol) >= 0.13
+#BuildRequires: perl(PerlIO::gzip)
+#BuildRequires: perl(PerlIO::scalar)
+#BuildRequires: perl(PerlIO::via)
+## PerlIO::via::Bzip2 not yet packaged
+#BuildRequires: perl(PerlIO::via::dynamic) >= 0.11
+#BuildRequires: perl(PerlIO::via::symlink) >= 0.02
+#BuildRequires: perl(POSIX)
+#BuildRequires: perl(Scalar::Util)
+#BuildRequires: perl(Socket)
+#BuildRequires: perl(Storable)
+#BuildRequires: perl(SVN::Client)
+#BuildRequires: perl(SVN::Core) >= 1.3.0
+#BuildRequires: perl(SVN::Delta)
+## SVN::Dump not yet packages not needed only replacing packaged SVK
+#BuildRequires: perl(SVN::Fs)
+## SVN::Mirror 0.71 retired
+#BuildRequires: perl(SVN::Ra)
+#BuildRequires: perl(SVN::Repos)
+#BuildRequires: perl(SVN::Simple::Edit) >= 0.27
+#BuildRequires: perl(Sys::Hostname)
+#BuildRequires: perl(Term::ReadKey)
+#BuildRequires: perl(Test::More)
+#BuildRequires: perl(Tie::Scalar)
+#BuildRequires: perl(Time::Local)
+#BuildRequires: perl(Time::Progress)
+#BuildRequires: perl(UNIVERSAL::require)
+#BuildRequires: perl(URI)
+#BuildRequires: perl(warnings)
+#BuildRequires: perl(YAML::Syck) >= 0.60
+## Optional run-time:
+#BuildRequires: perl(Locale::Maketext::Lexicon) >= 0.62
+#BuildRequires: perl(Locale::Maketext::Simple) >= 0.16
+#BuildRequires: perl(Log::Log4perl)
+# Tests:
+# Not performed
+Requires: perl(Algorithm::Diff) >= 1.19
+Requires: perl(Class::Autouse) >= 1.15
+Requires: perl(Cwd)
+Requires: perl(ExtUtils::MakeMaker)
+Requires: perl(File::Find)
+Recommends: perl(Locale::Maketext::Lexicon) >= 0.62
+Recommends: perl(Locale::Maketext::Simple) >= 0.16
+Recommends: perl(Log::Log4perl)
+Requires: perl(Path::Class) >= 0.16
+Requires: perl(PerlIO::gzip)
+# PerlIO::via::Bzip2 not yet packaged
+Requires: perl(PerlIO::via::dynamic) >= 0.11
+Requires: perl(PerlIO::via::symlink) >= 0.02
+Requires: perl(SVN::Core) >= 1.3.0
+# SVN::Dump not yet packages not needed only replacing packaged SVK
+# SVN::Mirror 0.71 retired
+Requires: perl(SVN::Simple::Edit) >= 0.27
+Requires: perl(Term::ReadKey)
+Requires: perl(Tie::Scalar)
+Requires: perl(Time::Local)
+Requires: perl(Time::Progress)
+Requires: perl(URI)
+Requires: perl(YAML::Syck) >= 0.60
+Provides: perl(SVK::Version) = %{version}
+
+# Remove uder-specified requires
+%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Algorithm::Diff|Class::Autouse|Path::Class|PerlIO::via::dynamic|PerlIO::via::symlink|SVN::Core|SVN::Simple::Edit|YAML::Syck)\\)$
# Remove under-specified provides
%global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}^perl\\(SVK\\)$
@@ -83,9 +156,12 @@ For more information about the SVK project, visit http://svk.elixus.org/.
%prep
%autosetup -p1 -n SVK-v%{version}
+# Remove bundled modules
+rm -r inc
+perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
%build
-perl Makefile.PL --skipdeps NO_PACKLIST=1 NO_PERLLOCAL=1 INSTALLDIRS=vendor
+perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1 INSTALLDIRS=vendor
%{make_build}
%install
reply other threads:[~2026-10-15 16:18 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=179208111873.1.1169959089952473476.rpms-perl-SVK-9f39f8c569ff@fedoraproject.org \
--to=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