public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Date-Extract] rawhide: spec cleanup and modernization
@ 2026-07-01  2:14 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-07-01  2:14 UTC (permalink / raw)
  To: git-commits

            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/*

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-01  2:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01  2:14 [rpms/perl-Date-Extract] rawhide: spec cleanup and modernization Filipe Rosset

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