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

A new commit has been pushed.

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

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

---
diff --git a/perl-Geography-Countries.spec b/perl-Geography-Countries.spec
index 3691fb0..305cc75 100644
--- a/perl-Geography-Countries.spec
+++ b/perl-Geography-Countries.spec
@@ -1,6 +1,6 @@
 Name:           perl-Geography-Countries
 Version:        2009041301
-Release:        45%{?dist}
+Release:        46%{?dist}
 Summary:        2-letter, 3-letter, and numerical codes for countries
 License:        MIT
 URL:            https://metacpan.org/release/Geography-Countries
@@ -8,11 +8,10 @@ Source0:        https://cpan.metacpan.org/modules/by-module/Geography/Geography-
 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
 # Runtime
 BuildRequires:  perl(constant)
 BuildRequires:  perl(Exporter)
@@ -30,12 +29,11 @@ codes, as defined by the ISO-3166 maintenance agency, and defined by the UNSD.
 %setup -q -n Geography-Countries-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make
+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
@@ -47,6 +45,9 @@ make test
 %{_mandir}/man3/Geography::Countries.3*
 
 %changelog
+* Mon Oct  5 2026 Paul Howarth <paul@city-fan.org> - 2009041301-46
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2009041301-45
 - 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:12 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:12 [rpms/perl-Geography-Countries] 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