public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Emmanuel Seyman <emmanuel@seyman.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Text-RecordParser] epel10.2: Clean up spec file
Date: Fri, 07 Aug 2026 13:12:48 GMT	[thread overview]
Message-ID: <178610836859.1.15506926505580248282.rpms-perl-Text-RecordParser-5aeda61c9f6e@fedoraproject.org> (raw)

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
 

                 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=178610836859.1.15506926505580248282.rpms-perl-Text-RecordParser-5aeda61c9f6e@fedoraproject.org \
    --to=emmanuel@seyman.fr \
    --cc=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