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

A new commit has been pushed.

Repo   : rpms/perl-Test-TinyMocker
Branch : rawhide
Commit : d6fa0dcdc200c86aa6bdae02ac3435368b007bcc
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-09-23T11:34:06+01:00
Stats  : +8/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Test-TinyMocker/c/d6fa0dcdc200c86aa6bdae02ac3435368b007bcc?branch=rawhide

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

---
diff --git a/perl-Test-TinyMocker.spec b/perl-Test-TinyMocker.spec
index 7f877ff..86b6459 100644
--- a/perl-Test-TinyMocker.spec
+++ b/perl-Test-TinyMocker.spec
@@ -3,7 +3,7 @@
 
 Name:           perl-Test-TinyMocker
 Version:        0.05
-Release:        36%{?dist}
+Release:        37%{?dist}
 Summary:        A very simple tool to mock external modules
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Test-TinyMocker
@@ -11,11 +11,10 @@ Source0:        https://cpan.metacpan.org/modules/by-module/Test/Test-TinyMocker
 BuildArch:      noarch
 # Build
 BuildRequires:  coreutils
-BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl-generators
 BuildRequires:  perl-interpreter
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 # Module
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
@@ -43,12 +42,11 @@ you simulate some kind of behavior for your tests.
 %setup -q -n Test-TinyMocker-%{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} %{buildroot}
 
 %check
@@ -61,6 +59,9 @@ make test RELEASE_TESTING=1
 %{_mandir}/man3/Test::TinyMocker.3*
 
 %changelog
+* Wed Sep 23 2026 Paul Howarth <paul@city-fan.org> - 0.05-37
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.05-36
 - 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-23 10:35 UTC | newest]

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