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

A new commit has been pushed.

Repo   : rpms/perl-Eval-Closure
Branch : rawhide
Commit : 009c546c58cfba0f9805148a15d60a9c7053acbd
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-10-06T15:46:22+01:00
Stats  : +8/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Eval-Closure/c/009c546c58cfba0f9805148a15d60a9c7053acbd?branch=rawhide

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

---
diff --git a/perl-Eval-Closure.spec b/perl-Eval-Closure.spec
index 6ca2194..6ec5e0f 100644
--- a/perl-Eval-Closure.spec
+++ b/perl-Eval-Closure.spec
@@ -7,7 +7,7 @@
 
 Name:           perl-Eval-Closure
 Version:        0.14
-Release:        28%{?dist}
+Release:        29%{?dist}
 Summary:        Safely and cleanly create closures via string eval
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Eval-Closure
@@ -15,11 +15,10 @@ Source0:        https://cpan.metacpan.org/authors/id/D/DO/DOY/Eval-Closure-%{ver
 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(Carp)
 BuildRequires:  perl(constant)
@@ -68,12 +67,11 @@ is to work properly).
 %setup -q -n Eval-Closure-%{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
@@ -86,6 +84,9 @@ make test
 %{_mandir}/man3/Eval::Closure.3*
 
 %changelog
+* Tue Oct  6 2026 Paul Howarth <paul@city-fan.org> - 0.14-29
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-28
 - 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-06 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 14:49 [rpms/perl-Eval-Closure] 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