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

A new commit has been pushed.

Repo   : rpms/perl-Devel-Leak
Branch : rawhide
Commit : e79f7617d8a673a0c65a090261e2cb3b795c60cc
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-10-07T11:29:25+01:00
Stats  : +8/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Devel-Leak/c/e79f7617d8a673a0c65a090261e2cb3b795c60cc?branch=rawhide

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

---
diff --git a/perl-Devel-Leak.spec b/perl-Devel-Leak.spec
index a369e37..6441de5 100644
--- a/perl-Devel-Leak.spec
+++ b/perl-Devel-Leak.spec
@@ -1,6 +1,6 @@
 Name:           perl-Devel-Leak
 Version:        0.03
-Release:        63%{?dist}
+Release:        64%{?dist}
 Summary:        Utility for looking for perl objects that are not reclaimed
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Devel-Leak
@@ -14,7 +14,7 @@ BuildRequires:  perl-devel
 BuildRequires:  perl-generators
 BuildRequires:  perl-interpreter
 BuildRequires:  perl(Config)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 # Run-time:
 BuildRequires:  perl(base)
 BuildRequires:  perl(DynaLoader)
@@ -34,12 +34,11 @@ is allocating perl data and not releasing them again.
 %setup -q -n Devel-Leak-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
+%{make_build}
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -delete
+%{make_install}
 find %{buildroot} -type f -name '*.bs' -empty -delete
 %{_fixperms} -c %{buildroot}
 
@@ -53,6 +52,9 @@ make test
 %{_mandir}/man3/Devel::Leak.3*
 
 %changelog
+* Wed Oct  7 2026 Paul Howarth <paul@city-fan.org> - 0.03-64
+- Use %%{make_build} and %%{make_install}
+
 * Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-63
 - Perl 5.44 rebuild
 

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

only message in thread, other threads:[~2026-10-07 10:30 UTC | newest]

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