public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Date-Extract] rawhide: spec cleanup and modernization
Date: Wed, 01 Jul 2026 02:14:03 GMT [thread overview]
Message-ID: <178287204364.1.3508595845526414959.rpms-perl-Date-Extract-cb03083d6559@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/perl-Date-Extract
Branch : rawhide
Commit : cb03083d65597ed591a13f271d8f5b68d72ab54a
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-30T23:13:54-03:00
Stats : +10/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Date-Extract/c/cb03083d65597ed591a13f271d8f5b68d72ab54a?branch=rawhide
Log:
spec cleanup and modernization
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/perl-Date-Extract.spec b/perl-Date-Extract.spec
index fe669f6..2037c55 100644
--- a/perl-Date-Extract.spec
+++ b/perl-Date-Extract.spec
@@ -7,19 +7,20 @@ URL: https://metacpan.org/release/Date-Extract
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Date-Extract-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: %{__make}
-BuildRequires: perl-generators
+BuildRequires: make
BuildRequires: perl(Carp)
BuildRequires: perl(Class::Data::Inheritable)
BuildRequires: perl(DateTime::Format::Natural) >= 0.60
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(List::Util)
+BuildRequires: perl(Test::MockTime::HiRes)
+BuildRequires: perl(Test::More)
BuildRequires: perl(parent)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
-BuildRequires: perl(Test::MockTime::HiRes)
-BuildRequires: perl(Test::More)
+BuildRequires: perl-generators
+BuildRequires: perl-interpreter
%description
@@ -27,20 +28,21 @@ Search a string for something that looks like a date string, and build a
DateTime object out of it.
%prep
-%setup -q -n Date-Extract-%{version}
+%autosetup -n Date-Extract-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{make_install}
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} %{buildroot}/*
%check
-%{__make} test
+make test
%files
+%license LICENCE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
reply other threads:[~2026-07-01 2:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178287204364.1.3508595845526414959.rpms-perl-Date-Extract-cb03083d6559@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox