public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-PPIx-Utilities] rawhide: Use %{make_build} and %{make_install}
@ 2026-09-25  8:24 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-09-25  8:24 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-PPIx-Utilities
Branch : rawhide
Commit : 23ef9bd8a96d3ee3bb87bc7cad5eb3bdb97b3759
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-09-25T09:22:34+01:00
Stats  : +9/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-PPIx-Utilities/c/23ef9bd8a96d3ee3bb87bc7cad5eb3bdb97b3759?branch=rawhide

Log:
Use %{make_build} and %{make_install}

---
diff --git a/perl-PPIx-Utilities.spec b/perl-PPIx-Utilities.spec
index 41cd1bf..a9a92b0 100644
--- a/perl-PPIx-Utilities.spec
+++ b/perl-PPIx-Utilities.spec
@@ -7,7 +7,7 @@
 
 Name:		perl-PPIx-Utilities
 Version:	1.001000
-Release:	57%{?dist}
+Release:	58%{?dist}
 Summary:	Extensions to PPI
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/PPIx-Utilities
@@ -15,11 +15,10 @@ Source0:	https://cpan.metacpan.org/authors/id/E/EL/ELLIOTJS/PPIx-Utilities-%{ver
 BuildArch:	noarch
 # Build:
 BuildRequires:	coreutils
-BuildRequires:	findutils
 BuildRequires:	make
 BuildRequires:	perl-generators
 BuildRequires:	perl-interpreter
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:	sed
 # Run-time:
 BuildRequires:	perl(base)
@@ -41,6 +40,7 @@ BuildRequires:	perl(Test::More)
 # Extra tests:
 # PPI needed by Perl::Critic, so don't run extra tests when bootstrapping
 %if 0%{!?perl_bootstrap:1} && %{with perl_PPIx_Utilities_enables_extra_test}
+BuildRequires:	findutils
 BuildRequires:	perl(File::Find)
 BuildRequires:	perl(File::Slurp)
 BuildRequires:	perl(Perl::Critic::Policy::Miscellanea::RequireRcsKeywords)
@@ -69,12 +69,11 @@ rm xt/author/copyright.t
 sed -i -e '/copyright\.t/d' MANIFEST
 
 %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 -delete
+%{make_install}
 %{_fixperms} -c %{buildroot}
 
 %check
@@ -93,6 +92,9 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
 %{_mandir}/man3/PPIx::Utilities::Statement.3*
 
 %changelog
+* Fri Sep 25 2026 Paul Howarth <paul@city-fan.org> - 1.001000-58
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.001000-57
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-09-25  8:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25  8:24 [rpms/perl-PPIx-Utilities] rawhide: Use %{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