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

A new commit has been pushed.

Repo   : rpms/perl-Perl-Destruct-Level
Branch : rawhide
Commit : d7ebe28f4db711863761a4de632aa9d149b7fe50
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-09-25T10:20:30+01:00
Stats  : +8/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Perl-Destruct-Level/c/d7ebe28f4db711863761a4de632aa9d149b7fe50?branch=rawhide

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

---
diff --git a/perl-Perl-Destruct-Level.spec b/perl-Perl-Destruct-Level.spec
index 4bae99f..01927d4 100644
--- a/perl-Perl-Destruct-Level.spec
+++ b/perl-Perl-Destruct-Level.spec
@@ -1,7 +1,7 @@
 Name:		perl-Perl-Destruct-Level
 Summary:	Allows you to change perl's internal destruction level
 Version:	0.02
-Release:	47%{?dist}
+Release:	48%{?dist}
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Perl-Destruct-Level
 Source0:	https://cpan.metacpan.org/modules/by-module/Perl/Perl-Destruct-Level-%{version}.tar.gz
@@ -13,7 +13,7 @@ BuildRequires:	make
 BuildRequires:	perl-devel
 BuildRequires:	perl-generators
 BuildRequires:	perl-interpreter
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
 # Module Runtime
 BuildRequires:	perl(strict)
 BuildRequires:	perl(warnings)
@@ -43,12 +43,11 @@ destruction level for their own purposes: mod_perl does that, for example.
 %setup -q -n Perl-Destruct-Level-%{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}
 
@@ -61,6 +60,9 @@ make test
 %{_mandir}/man3/Perl::Destruct::Level.3*
 
 %changelog
+* Fri Sep 25 2026 Paul Howarth <paul@city-fan.org> - 0.02-48
+- Use %%{make_build} and %%{make_install}
+
 * Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 0.02-47
 - Perl 5.44 rebuild
 

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

only message in thread, other threads:[~2026-09-25  9:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25  9:25 [rpms/perl-Perl-Destruct-Level] 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