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-Math-Calc-Units] rawhide: Use %{make_build} and %{make_install}
Date: Tue, 29 Sep 2026 10:59:42 GMT	[thread overview]
Message-ID: <179067958225.1.17354593855508262970.rpms-perl-Math-Calc-Units-b87474b023ce@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-09-29 10:59 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=179067958225.1.17354593855508262970.rpms-perl-Math-Calc-Units-b87474b023ce@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