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

A new commit has been pushed.

Repo   : rpms/perl-Math-Calc-Units
Branch : rawhide
Commit : b87474b023ceaacc08f4388a715624f66f95d972
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-09-29T11:56:47+01:00
Stats  : +8/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Math-Calc-Units/c/b87474b023ceaacc08f4388a715624f66f95d972?branch=rawhide

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

---
diff --git a/perl-Math-Calc-Units.spec b/perl-Math-Calc-Units.spec
index 4fb17d9..36fe1ed 100644
--- a/perl-Math-Calc-Units.spec
+++ b/perl-Math-Calc-Units.spec
@@ -1,6 +1,6 @@
 Name:		perl-Math-Calc-Units
 Version:	1.07
-Release:	47%{?dist}
+Release:	48%{?dist}
 Summary:	Human-readable unit-aware calculator
 License:	GPL-2.0-only OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Math-Calc-Units
@@ -8,11 +8,10 @@ Source0:	https://cpan.metacpan.org/modules/by-module/Math/Math-Calc-Units-%{vers
 BuildArch:	noarch
 # Module Build
 BuildRequires:	coreutils
-BuildRequires:	findutils
 BuildRequires:	make
 BuildRequires:	perl-generators
 BuildRequires:	perl-interpreter
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.76
 # Module Runtime
 BuildRequires:	perl(base)
 BuildRequires:	perl(Carp)
@@ -46,12 +45,11 @@ singular forms).
 %setup -q -n Math-Calc-Units-%{version}
 
 %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}
 
 # Remove file we don't need packaging
@@ -68,6 +66,9 @@ make test
 %{_mandir}/man3/Math::Calc::Units.3*
 
 %changelog
+* Tue Sep 29 2026 Paul Howarth <paul@city-fan.org> - 1.07-48
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-47
 - 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-09-29 10:59 UTC | newest]

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