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

A new commit has been pushed.

Repo   : rpms/perl-Package-Anon
Branch : rawhide
Commit : 176c6b9a881918ecca5ef4fd4f9ca46488026a98
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-09-25T11:34:43+01:00
Stats  : +8/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Package-Anon/c/176c6b9a881918ecca5ef4fd4f9ca46488026a98?branch=rawhide

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

---
diff --git a/perl-Package-Anon.spec b/perl-Package-Anon.spec
index 87fda59..96fd657 100644
--- a/perl-Package-Anon.spec
+++ b/perl-Package-Anon.spec
@@ -1,6 +1,6 @@
 Name:		perl-Package-Anon
 Version:	0.05
-Release:	46%{?dist}
+Release:	47%{?dist}
 Summary:	Anonymous packages
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Package-Anon
@@ -14,7 +14,7 @@ BuildRequires:	perl-devel
 BuildRequires:	perl-generators
 BuildRequires:	perl-interpreter
 BuildRequires:	perl(:VERSION) >= 5.14
-BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
 # Module
 BuildRequires:	perl(Scalar::Util)
 BuildRequires:	perl(strict)
@@ -44,12 +44,11 @@ namespace and only available through an object instance, not by name.
 %setup -q -n Package-Anon-%{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}
 
@@ -64,6 +63,9 @@ make test RELEASE_TESTING=1
 %{_mandir}/man3/Package::Anon.3*
 
 %changelog
+* Fri Sep 25 2026 Paul Howarth <paul@city-fan.org> - 0.05-47
+- Use %%{make_build} and %%{make_install}
+
 * Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-46
 - Perl 5.44 rebuild
 

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

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

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