public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Archive-Peek] epel10.2: Modernize spec using %{make_build} and %{make_install}
@ 2026-08-25 12:54 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-08-25 12:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Archive-Peek
Branch : epel10.2
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.2

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-25 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 12:54 [rpms/perl-Archive-Peek] epel10.2: Modernize spec using %{make_build} and %{make_install} Paul Howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox