public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Text-RecordParser] epel10.2: Clean up spec file
@ 2026-08-07 13:12 Emmanuel Seyman
0 siblings, 0 replies; only message in thread
From: Emmanuel Seyman @ 2026-08-07 13:12 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Text-RecordParser
Branch : epel10.2
Commit : 5aeda61c9f6ed4b4b1525e8efe15cd94d2ced26b
Author : Emmanuel Seyman <emmanuel@seyman.fr>
Date : 2022-01-28T18:55:39+01:00
Stats : +16/-11 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Text-RecordParser/c/5aeda61c9f6ed4b4b1525e8efe15cd94d2ced26b?branch=epel10.2
Log:
Clean up spec file
---
diff --git a/perl-Text-RecordParser.spec b/perl-Text-RecordParser.spec
index 7612cef..0a80d86 100644
--- a/perl-Text-RecordParser.spec
+++ b/perl-Text-RecordParser.spec
@@ -1,13 +1,13 @@
Name: perl-Text-RecordParser
Version: 1.6.5
-Release: 22%{?dist}
+Release: 23%{?dist}
Summary: Read record-oriented files
License: GPLv2
URL: https://metacpan.org/release/Text-RecordParser
Source0: https://cpan.metacpan.org/authors/id/K/KC/KCLARK/Text-RecordParser-%{version}.tar.gz
BuildArch: noarch
# Build
-BuildRequires: make
+BuildRequires: make
BuildRequires: coreutils
BuildRequires: perl-interpreter
BuildRequires: perl-generators
@@ -47,7 +47,7 @@ BuildRequires: perl(Test::More)
# Optional tests only
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
-Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "$(/usr/bin/perl -V:version)"; echo $version))
%description
This module is for reading record-oriented data in a delimited text file.
@@ -61,7 +61,7 @@ you can still bind your own field names via bind_fields. Either way, you
can then use many methods to get at the data as arrays or hashes.
%package tools
-Summary: %{name} command-line tools
+Summary: The %{name} command-line tools
Obsoletes: %{name} < 1.6.5-21
%description tools
@@ -73,21 +73,21 @@ specific to the tools.
%prep
%setup -q -n Text-RecordParser-%{version}
# Remove bundled modules
-rm -r ./inc/*
-sed -i -e '/^inc\//d' MANIFEST
+/usr/bin/rm -r ./inc/*
+/usr/bin/perl -pi -e '/^inc\//d' MANIFEST
# Fix shebangs
-perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
+/usr/bin/perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
%build
-perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-make %{?_smp_mflags}
+/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
%install
-make pure_install DESTDIR=%{buildroot}
+%{make_install}
%{_fixperms} %{buildroot}/*
%check
-make test
+%{make_build} test
%files
%doc Changes README TODO
@@ -98,6 +98,11 @@ make test
%{_bindir}/*
%changelog
+* Fri Jan 28 2022 Emmanuel Seyman <emmanuel@seyman.fr> - 1.6.5-23
+- Use an absolute path for perl everywhere
+- Use %%{make_build} and %%{make_install} where appropriate
+- Pass NO_PERLLOCAL to Makefile.PL
+
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 13:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 13:12 [rpms/perl-Text-RecordParser] epel10.2: Clean up spec file Emmanuel Seyman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox