public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Data-Section-Simple] rawhide: Use %{make_build} and %{make_install}, run pod test unconditionally
@ 2026-10-07 14:22 Paul Howarth
  0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-10-07 14:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Data-Section-Simple
Branch : rawhide
Commit : 97061848d7f6291b9171fedb21a7f1a140f312c9
Author : Paul Howarth <paul@city-fan.org>
Date   : 2026-10-07T15:21:03+01:00
Stats  : +9/-13 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Data-Section-Simple/c/97061848d7f6291b9171fedb21a7f1a140f312c9?branch=rawhide

Log:
Use %{make_build} and %{make_install}, run pod test unconditionally

---
diff --git a/perl-Data-Section-Simple.spec b/perl-Data-Section-Simple.spec
index 2e22ef3..39ad2bd 100644
--- a/perl-Data-Section-Simple.spec
+++ b/perl-Data-Section-Simple.spec
@@ -1,6 +1,6 @@
 Name:		perl-Data-Section-Simple
 Version:	0.07
-Release:	35%{?dist}
+Release:	36%{?dist}
 Summary:	Read data from __DATA__
 License:	GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:		https://metacpan.org/release/Data-Section-Simple
@@ -8,11 +8,10 @@ Source0:	https://cpan.metacpan.org/modules/by-module/Data/Data-Section-Simple-%{
 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
 BuildRequires:	perl(warnings)
 # Module
 BuildRequires:	perl(base)
@@ -21,9 +20,7 @@ BuildRequires:	perl(strict)
 # Test Suite
 BuildRequires:	perl(lib)
 BuildRequires:	perl(Test::More) >= 0.88
-%if 0%{?fedora} || 0%{?rhel} > 6
 BuildRequires:	perl(Test::Pod) >= 1.41
-%endif
 # Dependencies
 # (none)
 
@@ -35,20 +32,15 @@ section of the file.
 %setup -q -n Data-Section-Simple-%{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
-%if 0%{?fedora} || 0%{?rhel} > 6
 make test RELEASE_TESTING=1
-%else
-make test
-%endif
 
 %files
 %license LICENSE
@@ -57,6 +49,10 @@ make test
 %{_mandir}/man3/Data::Section::Simple.3*
 
 %changelog
+* Wed Oct  7 2026 Paul Howarth <paul@city-fan.org> - 0.07-36
+- Use %%{make_build} and %%{make_install}
+- Run pod test unconditionally
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-35
 - 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-10-07 14:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 14:22 [rpms/perl-Data-Section-Simple] rawhide: Use %{make_build} and %{make_install}, run pod test unconditionally Paul Howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox