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-PPI-HTML] rawhide: Use %{make_build} and %{make_install}
Date: Fri, 25 Sep 2026 08:49:32 GMT	[thread overview]
Message-ID: <179032617238.1.7272481992755852030.rpms-perl-PPI-HTML-c008dfd4cf2e@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-09-25  8:49 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=179032617238.1.7272481992755852030.rpms-perl-PPI-HTML-c008dfd4cf2e@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