public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Archive-Peek] epel10.3: Modernize spec using %{make_build} and %{make_install}
Date: Tue, 25 Aug 2026 12:43:17 GMT	[thread overview]
Message-ID: <178766179793.1.2866865091166490319.rpms-perl-Archive-Peek-f6dc09966d8c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Archive-Peek
Branch : epel10.3
Commit : f6dc09966d8cccf1e3c01f83bd7b99bed3da55e3
Author : Paul Howarth <paul@city-fan.org>
Date   : 2019-06-11T09:59:40+01:00
Stats  : +14/-9 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Archive-Peek/c/f6dc09966d8cccf1e3c01f83bd7b99bed3da55e3?branch=epel10.3

Log:
Modernize spec using %{make_build} and %{make_install}

---
diff --git a/perl-Archive-Peek.spec b/perl-Archive-Peek.spec
index 4c503a2..12248ae 100644
--- a/perl-Archive-Peek.spec
+++ b/perl-Archive-Peek.spec
@@ -1,14 +1,17 @@
 Name:		perl-Archive-Peek
 Version:	0.35
-Release:	16%{?dist}
+Release:	17%{?dist}
 Summary:	Peek into archives without extracting them
 License:	GPL+ or Artistic
 URL:		https://metacpan.org/release/Archive-Peek
-Source0:	https://cpan.metacpan.org/authors/id/L/LB/LBROCARD/Archive-Peek-%{version}.tar.gz
+Source0:	https://cpan.metacpan.org/modules/by-module/Archive/Archive-Peek-%{version}.tar.gz
 BuildArch:	noarch
 # Module Build
+BuildRequires:	coreutils
+BuildRequires:	make
 BuildRequires:	perl-generators
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl-interpreter
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:	perl(strict)
 BuildRequires:	perl(warnings)
 # Module Runtime
@@ -33,13 +36,12 @@ supports tar files and zip files.
 %setup -q -n Archive-Peek-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-%{_fixperms} %{buildroot}
+%{make_install}
+%{_fixperms} -c %{buildroot}
 
 %check
 make test
@@ -47,9 +49,12 @@ make test
 %files
 %doc CHANGES README
 %{perl_vendorlib}/Archive/
-%{_mandir}/man3/Archive::Peek.3pm*
+%{_mandir}/man3/Archive::Peek.3*
 
 %changelog
+* Tue Jun 11 2019 Paul Howarth <paul@city-fan.org> - 0.35-17
+- Modernize spec using %%{make_build} and %%{make_install}
+
 * Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.35-16
 - Perl 5.30 rebuild
 

                 reply	other threads:[~2026-08-25 12:43 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=178766179793.1.2866865091166490319.rpms-perl-Archive-Peek-f6dc09966d8c@fedoraproject.org \
    --to=paul@city-fan.org \
    --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