[packages/perl-Time-modules] Up to 2026.0330 (Time-ParseDate 2026.033)
arekm
arekm at pld-linux.org
Fri Oct 30 08:55:03 CET 2026
commit 23b122342fbf180b3b29165d0a7187b05400aa01
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Oct 30 08:53:30 2026 +0100
Up to 2026.0330 (Time-ParseDate 2026.033)
The modules moved to the Time-ParseDate dist.
perl-Time-modules.spec | 24 +++++++++++++++---------
1 file changed, 15 insertions(+), 9 deletions(-)
---
diff --git a/perl-Time-modules.spec b/perl-Time-modules.spec
index 1aecc63..a61757c 100644
--- a/perl-Time-modules.spec
+++ b/perl-Time-modules.spec
@@ -3,19 +3,25 @@
%bcond_without tests # do not perform "make test"
%define pdir Time
-%define pnam modules
+%define pnam ParseDate
Summary: Various Time:: Perl modules
Summary(pl.UTF-8): Różne moduły Perla Time::
Name: perl-Time-modules
-Version: 2013.0912
-Release: 2
-License: free (see manuals)
+%define pver 2026.033
+Version: %{pver}0
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: a4330144e24c356ca4c925d14e5ab06b
-URL: http://search.cpan.org/dist/Time-modules/
+Source0: https://www.cpan.org/authors/id/B/BP/BPS/%{pdir}-%{pnam}-%{pver}.tar.gz
+# Source0-md5: 31e4fb54f3e047255285fc3f9d73d559
+URL: https://metacpan.org/dist/Time-ParseDate
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+# t/datetime.t, t/order*.t set TZ to America/Los_Angeles, Europe/Moscow
+BuildRequires: tzdata-zoneinfo
+%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -28,7 +34,7 @@ Pakiet Time-modules zawiera nastepujące moduły: Time::CTime,
Time::JulianDay, Time::ParseDate, Time::Timezone, Time::DaysInMonth.
%prep
-%setup -q -n %{pdir}-%{pnam}-%{version}
+%setup -q -n %{pdir}-%{pnam}-%{pver}
%build
%{__perl} Makefile.PL \
@@ -48,6 +54,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README CHANGELOG
+%doc Changes README
%{perl_vendorlib}/Time/*.pm
%{_mandir}/man3/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Time-modules.git/commitdiff/23b122342fbf180b3b29165d0a7187b05400aa01
More information about the pld-cvs-commit
mailing list