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

A new commit has been pushed.

Repo   : rpms/perl-File-Comments
Branch : rawhide
Commit : d51529d87b3881c99b9f922fb8a4d14eae5b5bc2
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-10-05T16:31:11+01:00
Stats  : +8/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-File-Comments/c/d51529d87b3881c99b9f922fb8a4d14eae5b5bc2?branch=rawhide

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

---
diff --git a/perl-File-Comments.spec b/perl-File-Comments.spec
index fd364df..e1ad9ba 100644
--- a/perl-File-Comments.spec
+++ b/perl-File-Comments.spec
@@ -1,7 +1,7 @@
 Summary:	Recognizes file formats and extracts format-specific comments
 Name:		perl-File-Comments
 Version:	0.08
-Release:	45%{?dist}
+Release:	46%{?dist}
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 Url:		https://metacpan.org/release/File-Comments
 Source0:	https://cpan.metacpan.org/modules/by-module/File/File-Comments-%{version}.tar.gz
@@ -9,11 +9,10 @@ Patch0:		File-Comments-0.08-provides.patch
 BuildArch:	noarch
 # Module Build
 BuildRequires:	coreutils
-BuildRequires:	findutils
 BuildRequires:	make
 BuildRequires:	perl-generators
 BuildRequires:	perl-interpreter
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
 # Module Runtime
 BuildRequires:	perl(File::Basename)
 BuildRequires:	perl(HTML::TokeParser) >= 2.28
@@ -54,12 +53,11 @@ JavaScript, Python and PHP.
 %patch -P 0
 
 %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
@@ -81,6 +79,9 @@ make test TEST_VERBOSE=1
 %{_mandir}/man3/File::Comments::Plugin::Shell.3*
 
 %changelog
+* Mon Oct  5 2026 Paul Howarth <paul@city-fan.org> - 0.08-46
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-45
 - 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-10-05 15:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 15:34 [rpms/perl-File-Comments] 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