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

A new commit has been pushed.

Repo   : rpms/perl-Unicode-CheckUTF8
Branch : rawhide
Commit : 34e2f4ec24564038ffb40adac99c5b6d5f92cf34
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-09-22T10:22:09+01:00
Stats  : +8/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Unicode-CheckUTF8/c/34e2f4ec24564038ffb40adac99c5b6d5f92cf34?branch=rawhide

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

---
diff --git a/perl-Unicode-CheckUTF8.spec b/perl-Unicode-CheckUTF8.spec
index e241ee5..d6153f3 100644
--- a/perl-Unicode-CheckUTF8.spec
+++ b/perl-Unicode-CheckUTF8.spec
@@ -12,7 +12,7 @@
 Summary:	Checks if scalar is valid UTF-8
 Name:		perl-Unicode-CheckUTF8
 Version:	1.03
-Release:	48%{?dist}
+Release:	49%{?dist}
 License:	Unicode-3.0 AND (GPL-1.0-or-later OR Artistic-1.0-Perl)
 URL:		https://metacpan.org/release/Unicode-CheckUTF8
 Source0:	https://cpan.metacpan.org/modules/by-module/Unicode/Unicode-CheckUTF8-%{version}.tar.gz
@@ -24,7 +24,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(base)
 BuildRequires:	perl(Exporter)
@@ -51,12 +51,11 @@ sure it's valid UTF-8 before continuing.
 %setup -q -n Unicode-CheckUTF8-%{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}
 
@@ -70,6 +69,9 @@ make test
 %{_mandir}/man3/Unicode::CheckUTF8.3*
 
 %changelog
+* Tue Sep 22 2026 Paul Howarth <paul@city-fan.org> - 1.03-49
+- Use %%{make_build} and %%{make_install}
+
 * Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-48
 - Perl 5.44 rebuild
 

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

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

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