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

A new commit has been pushed.

Repo   : rpms/perl-Spreadsheet-WriteExcel
Branch : rawhide
Commit : cdd248cf5b8de7254ba28eac0e3a0481e576c2ef
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-09-24T14:50:17+01:00
Stats  : +8/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Spreadsheet-WriteExcel/c/cdd248cf5b8de7254ba28eac0e3a0481e576c2ef?branch=rawhide

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

---
diff --git a/perl-Spreadsheet-WriteExcel.spec b/perl-Spreadsheet-WriteExcel.spec
index db07827..509de01 100644
--- a/perl-Spreadsheet-WriteExcel.spec
+++ b/perl-Spreadsheet-WriteExcel.spec
@@ -1,6 +1,6 @@
 Name:			perl-Spreadsheet-WriteExcel
 Version:		2.40
-Release:		36%{?dist}
+Release:		37%{?dist}
 Summary:		Write formatted text and numbers to a cross-platform Excel binary file
 License:		GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:			https://metacpan.org/release/Spreadsheet-WriteExcel
@@ -9,11 +9,10 @@ Patch0:			Spreadsheet-WriteExcel-2.40-utf8.patch
 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
 # Runtime
 BuildRequires:		perl(autouse)
 BuildRequires:		perl(Carp)
@@ -75,12 +74,11 @@ Excel file.
 perl -pi -e 's/\r\n/\n/g' examples/*.txt
 
 %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
@@ -113,6 +111,9 @@ make test
 %{_mandir}/man3/Spreadsheet::WriteExcel::Worksheet.3*
 
 %changelog
+* Thu Sep 24 2026 Paul Howarth <paul@city-fan.org> - 2.40-37
+- Use %%{make_build} and %%{make_install}
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.40-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-24 13:51 UTC | newest]

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