public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Locale-US] rawhide: Use %{make_build} and %{make_install}
Date: Wed, 30 Sep 2026 07:56:13 GMT	[thread overview]
Message-ID: <179075497356.1.16165404858649147707.rpms-perl-Locale-US-232162e4f532@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Locale-US
Branch : rawhide
Commit : 232162e4f532c7ef0c93c80c8e229f24cac08498
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-09-30T08:55:01+01:00
Stats  : +8/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Locale-US/c/232162e4f532c7ef0c93c80c8e229f24cac08498?branch=rawhide

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

---
diff --git a/perl-Locale-US.spec b/perl-Locale-US.spec
index 7ad6abd..2a9fb62 100644
--- a/perl-Locale-US.spec
+++ b/perl-Locale-US.spec
@@ -1,6 +1,6 @@
 Name:           perl-Locale-US
 Version:        3.04
-Release:        32%{?dist}
+Release:        33%{?dist}
 Summary:        Two letter codes for state identification in the United States and vice versa
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Locale-US
@@ -9,11 +9,10 @@ Patch1:         Locale-US-2.112140-rt56989.patch
 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
 BuildRequires:  sed
 # Run-time
 BuildRequires:  perl(Data::Section::Simple)
@@ -40,12 +39,11 @@ sed -i -e '/use Data::Dumper/d' lib/Locale/US.pm t/1.t
 chmod -c +x kruft2codes.pl
 
 %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
@@ -58,6 +56,9 @@ make test
 %{_mandir}/man3/Locale::US*.3*
 
 %changelog
+* Wed Sep 30 2026 Paul Howarth <paul@city-fan.org> - 3.04-33
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.04-32
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-09-30  7:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179075497356.1.16165404858649147707.rpms-perl-Locale-US-232162e4f532@fedoraproject.org \
    --to=paul@city-fan.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox