public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Date-Simple] rawhide: Use %{make_build} and %{make_install}
@ 2026-10-07 13:39 Paul Howarth
0 siblings, 0 replies; only message in thread
From: Paul Howarth @ 2026-10-07 13:39 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Date-Simple
Branch : rawhide
Commit : fbcd7100111b851f593c019d9cda9dbecc3bbabe
Author : Paul Howarth <paul@city-fan.org>
Date : 2026-10-07T14:29:55+01:00
Stats : +8/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Date-Simple/c/fbcd7100111b851f593c019d9cda9dbecc3bbabe?branch=rawhide
Log:
Use %{make_build} and %{make_install}
---
diff --git a/perl-Date-Simple.spec b/perl-Date-Simple.spec
index b03aefa..f9f0ff8 100644
--- a/perl-Date-Simple.spec
+++ b/perl-Date-Simple.spec
@@ -1,7 +1,7 @@
Summary: Simple date object for perl
Name: perl-Date-Simple
Version: 3.03
-Release: 56%{?dist}
+Release: 57%{?dist}
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Date-Simple
Source0: https://cpan.metacpan.org/authors/id/I/IZ/IZUT/Date-Simple-%{version}.tar.gz
@@ -13,7 +13,7 @@ BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: sed
# Module Runtime
BuildRequires: perl(base)
@@ -52,12 +52,11 @@ rm -f lib/Date/Simple/NoXS.pm
sed -i -e '/^lib\/Date\/Simple\/NoXS\.pm$/d' MANIFEST
%build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-make %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
+%{make_build}
%install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -delete
+%{make_install}
find %{buildroot} -type f -name '*.bs' -a -empty -delete
%{_fixperms} -c %{buildroot}
@@ -75,6 +74,9 @@ make test
%{_mandir}/man3/Date::Simple::ISO.3*
%changelog
+* Wed Oct 7 2026 Paul Howarth <paul@city-fan.org> - 3.03-57
+- Use %%{make_build} and %%{make_install}
+
* Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 3.03-56
- Perl 5.44 rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 13:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 13:39 [rpms/perl-Date-Simple] 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