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

A new commit has been pushed.

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

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

---
diff --git a/perl-Test-XML.spec b/perl-Test-XML.spec
index b2cb57d..147bace 100644
--- a/perl-Test-XML.spec
+++ b/perl-Test-XML.spec
@@ -1,6 +1,6 @@
 Name:		perl-Test-XML
 Version:	0.08
-Release:	34%{?dist}
+Release:	35%{?dist}
 Summary:	Compare XML in perl tests
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Test-XML
@@ -8,11 +8,10 @@ Source0:	https://cpan.metacpan.org/modules/by-module/Test/Test-XML-%{version}.ta
 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
 # Module
 BuildRequires:	perl(Carp)
 BuildRequires:	perl(strict)
@@ -66,12 +65,11 @@ is_good_xml(XML [, TESTNAME ])
 %setup -q -n Test-XML-%{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}
 
 %check
@@ -86,6 +84,9 @@ make test
 %{_mandir}/man3/Test::XML::XPath.3*
 
 %changelog
+* Wed Sep 23 2026 Paul Howarth <paul@city-fan.org> - 0.08-35
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-34
 - 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  9:43 UTC | newest]

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