public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Text-RecordParser] epel10.2: Fix building on Perl without "." in @INC
Date: Fri, 07 Aug 2026 13:12:39 GMT [thread overview]
Message-ID: <178610835916.1.6379095500055132657.rpms-perl-Text-RecordParser-6f57a0c4bdfb@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Text-RecordParser
Branch : epel10.2
Commit : 6f57a0c4bdfb2e19b4567941638fc65730e8c02c
Author : Petr Písař <ppisar@redhat.com>
Date : 2017-05-18T10:15:28+02:00
Stats : +17/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Text-RecordParser/c/6f57a0c4bdfb2e19b4567941638fc65730e8c02c?branch=epel10.2
Log:
Fix building on Perl without "." in @INC
This is implemented by unbundling ./inc modules.
---
diff --git a/perl-Text-RecordParser.spec b/perl-Text-RecordParser.spec
index 28f9beb..7fab7d7 100644
--- a/perl-Text-RecordParser.spec
+++ b/perl-Text-RecordParser.spec
@@ -1,30 +1,26 @@
Name: perl-Text-RecordParser
Version: 1.6.5
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Read record-oriented files
License: GPLv2
-Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-RecordParser/
Source0: http://search.cpan.org/CPAN/authors/id/K/KC/KCLARK/Text-RecordParser-%{version}.tar.gz
BuildArch: noarch
# Build
+BuildRequires: coreutils
BuildRequires: perl
BuildRequires: perl-generators
-BuildRequires: perl(Config)
-BuildRequires: perl(Cwd)
-BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
-BuildRequires: perl(ExtUtils::MM_Unix)
-BuildRequires: perl(Fcntl)
-BuildRequires: perl(File::Basename)
-BuildRequires: perl(File::Find)
-BuildRequires: perl(File::Path)
-BuildRequires: perl(strict)
-BuildRequires: perl(vars)
+BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Module::Install::Metadata)
+BuildRequires: perl(Module::Install::Scripts)
+BuildRequires: perl(Module::Install::WriteAll)
+BuildRequires: sed
# Runtime
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Class::Accessor)
BuildRequires: perl(English)
+BuildRequires: perl(File::Basename)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(GraphViz)
BuildRequires: perl(IO::Scalar)
@@ -33,12 +29,14 @@ BuildRequires: perl(List::Util)
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(Readonly)
BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(strict)
BuildRequires: perl(Text::Autoformat)
BuildRequires: perl(Text::ParseWords)
BuildRequires: perl(Text::TabularDisplay)
BuildRequires: perl(version)
BuildRequires: perl(warnings)
# Tests only
+BuildRequires: perl(Config)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp)
BuildRequires: perl(FindBin)
@@ -63,6 +61,10 @@ can then use many methods to get at the data as arrays or hashes.
%prep
%setup -q -n Text-RecordParser-%{version}
+# Remove bundled modules
+rm -r ./inc/*
+sed -i -e '/^inc\//d' MANIFEST
+# Fix shebangs
perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
%build
@@ -83,6 +85,9 @@ make test
%{_mandir}/man[13]/*
%changelog
+* Thu May 18 2017 Petr Pisar <ppisar@redhat.com> - 1.6.5-7
+- Fix building on Perl without "." in @INC (CPAN RT#121759)
+
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
reply other threads:[~2026-08-07 13:12 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=178610835916.1.6379095500055132657.rpms-perl-Text-RecordParser-6f57a0c4bdfb@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