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

A new commit has been pushed.

Repo   : rpms/perl-PPI-HTML
Branch : rawhide
Commit : c008dfd4cf2e4cbcc3234ed577590b2bd71d5cc2
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-09-25T09:46:09+01:00
Stats  : +10/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-PPI-HTML/c/c008dfd4cf2e4cbcc3234ed577590b2bd71d5cc2?branch=rawhide

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

---
diff --git a/perl-PPI-HTML.spec b/perl-PPI-HTML.spec
index ab494bb..4689553 100644
--- a/perl-PPI-HTML.spec
+++ b/perl-PPI-HTML.spec
@@ -1,6 +1,6 @@
 Name:           perl-PPI-HTML
 Version:        1.08
-Release:        40%{?dist}
+Release:        41%{?dist}
 Summary:        Generate syntax-highlighted HTML for Perl using PPI
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/PPI-HTML
@@ -8,10 +8,10 @@ Source0:        https://cpan.metacpan.org/modules/by-module/PPI/PPI-HTML-%{versi
 BuildArch:      noarch
 # Build
 BuildRequires:  coreutils
-BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl-generators
 BuildRequires:  perl-interpreter
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(inc::Module::Install)
 # Module Run-time:
 BuildRequires:  perl(CSS::Tiny) >= 1.10
@@ -42,16 +42,15 @@ PPI::HTML converts Perl documents into syntax highlighted HTML pages.
 %setup -q -n PPI-HTML-%{version}
 
 # Remove bundled inc::Module::Install
-rm -r inc/
+rm -rv inc/
 sed -i '/^\/inc\//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
@@ -65,6 +64,9 @@ make test
 %{_mandir}/man3/PPI::HTML.3*
 
 %changelog
+* Fri Sep 25 2026 Paul Howarth <paul@city-fan.org> - 1.08-41
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.08-40
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 
@@ -78,7 +80,7 @@ make test
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
 
 * Tue Aug 06 2024 Miroslav Suchý <msuchy@redhat.com> - 1.08-36
-- convert license to SPDX
+- Convert license to SPDX
 
 * Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.08-35
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

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

only message in thread, other threads:[~2026-09-25  8:49 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:49 [rpms/perl-PPI-HTML] 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