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

A new commit has been pushed.

Repo   : rpms/perl-File-Slurp-Tiny
Branch : rawhide
Commit : 38c918bc9b3ff2fc69b62fa31206293bda1bd160
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-10-05T13:32:18+01:00
Stats  : +8/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-File-Slurp-Tiny/c/38c918bc9b3ff2fc69b62fa31206293bda1bd160?branch=rawhide

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

---
diff --git a/perl-File-Slurp-Tiny.spec b/perl-File-Slurp-Tiny.spec
index 45235f2..14fcbe3 100644
--- a/perl-File-Slurp-Tiny.spec
+++ b/perl-File-Slurp-Tiny.spec
@@ -1,6 +1,6 @@
 Name:		perl-File-Slurp-Tiny
 Version:	0.004
-Release:	31%{?dist}
+Release:	32%{?dist}
 Summary:	A simple, sane and efficient file slurper
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/File-Slurp-Tiny
@@ -8,11 +8,10 @@ Source0:	https://cpan.metacpan.org/modules/by-module/File/File-Slurp-Tiny-%{vers
 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
 # Module
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(Exporter) >= 5.57
@@ -34,12 +33,11 @@ of files.
 %setup -q -n File-Slurp-Tiny-%{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 -delete
+%{make_install}
 %{_fixperms} -c %{buildroot}
 
 %check
@@ -52,6 +50,9 @@ make test
 %{_mandir}/man3/File::Slurp::Tiny.3*
 
 %changelog
+* Mon Oct  5 2026 Paul Howarth <paul@city-fan.org> - 0.004-32
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.004-31
 - 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 12:35 UTC | newest]

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