[packages/perl-DateTime-Locale] - updated to 1.32

qboosh qboosh at pld-linux.org
Tue May 18 18:46:02 CEST 2021


commit c9d5299c62cb496cdae2fa34963f32846a00cf33
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 18 18:48:18 2021 +0200

    - updated to 1.32

 perl-DateTime-Locale.spec | 36 +++++++++++++++++++++++++++---------
 1 file changed, 27 insertions(+), 9 deletions(-)
---
diff --git a/perl-DateTime-Locale.spec b/perl-DateTime-Locale.spec
index caa9372..188343f 100644
--- a/perl-DateTime-Locale.spec
+++ b/perl-DateTime-Locale.spec
@@ -7,16 +7,16 @@
 Summary:	DateTime::Locale - localization support for DateTime
 Summary(pl.UTF-8):	DateTime::Locale - wsparcie międzynarodowe dla DateTime
 Name:		perl-DateTime-Locale
-Version:	1.25
+Version:	1.32
 Release:	1
 # same as perl 5 + Unicode for CLDR data
 License:	GPL v1+ or Artistic with Unicode parts
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/DateTime/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	5a733800022bf1fc42d5ea6561846f47
+# Source0-md5:	23ba33ef2d40f349f213ed00680f86aa
 URL:		https://metacpan.org/release/DateTime-Locale
 BuildRequires:	perl-Dist-CheckConflicts >= 0.02
-BuildRequires:	perl-File-ShareDir-Install >= 0.03
+BuildRequires:	perl-File-ShareDir-Install >= 0.06
 BuildRequires:	perl-devel >= 1:5.8.4
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
@@ -24,15 +24,14 @@ BuildRequires:	perl-CPAN-Meta-Check >= 0.011
 BuildRequires:	perl-CPAN-Meta-Requirements
 BuildRequires:	perl-IPC-System-Simple
 BuildRequires:	perl-Params-ValidationCompiler >= 0.13
+BuildRequires:	perl-Path-Tiny
 BuildRequires:	perl-Scalar-List-Utils >= 1.45
 BuildRequires:	perl-Specio
 BuildRequires:	perl-Storable
-BuildRequires:	perl-Test-Fatal
 BuildRequires:	perl-Test-File-ShareDir
-BuildRequires:	perl-Test-Pod >= 1.41
-BuildRequires:	perl-Test-Simple >= 0.96
-BuildRequires:	perl-Test-Requires
-BuildRequires:	perl-Test-Warnings
+BuildRequires:	perl-Test-Simple >= 1.302015
+BuildRequires:	perl-Test2-Suite
+BuildRequires:	perl-Test2-Plugin-NoWarnings
 BuildRequires:	perl-namespace-autoclean >= 0.19
 %endif
 BuildConflicts:	perl-DateTime-Format-Strptime <= 1.1000
@@ -78,6 +77,8 @@ for f in $RPM_BUILD_ROOT%{perl_vendorlib}/auto/share/dist/DateTime-Locale/*.pl ;
 		langtag=
 	fi
 	echo "${langtag}%{perl_vendorlib}/auto/share/dist/DateTime-Locale/${basename}.pl"
+	manname="$(echo "$basename" | tr - _)"
+	echo "${langtag}%{_mandir}/man3/DateTime::Locale::${manname}.3pm*"
 done > %{name}.lang
 
 %clean
@@ -89,4 +90,21 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorlib}/DateTime/Locale.pm
 %{perl_vendorlib}/DateTime/Locale
 %dir %{perl_vendorlib}/auto/share/dist/DateTime-Locale
-%{_mandir}/man3/DateTime::Locale*.3pm*
+%{_mandir}/man3/DateTime::Locale.3pm*
+%{_mandir}/man3/DateTime::Locale::Base.3pm*
+%{_mandir}/man3/DateTime::Locale::Catalog.3pm*
+%{_mandir}/man3/DateTime::Locale::Data.3pm*
+%{_mandir}/man3/DateTime::Locale::FromData.3pm*
+%{_mandir}/man3/DateTime::Locale::Util.3pm*
+# generic man pages, without correspoding .pl files, so not caught by script
+%lang(ar) %{_mandir}/man3/DateTime::Locale::ar.3pm*
+%{_mandir}/man3/DateTime::Locale::en.3pm*
+%{_mandir}/man3/DateTime::Locale::en_CA.3pm*
+%{_mandir}/man3/DateTime::Locale::en_US.3pm*
+%lang(es) %{_mandir}/man3/DateTime::Locale::es.3pm*
+%lang(fr_FR) %{_mandir}/man3/DateTime::Locale::fr_FR.3pm*
+%lang(hi) %{_mandir}/man3/DateTime::Locale::hi.3pm*
+%lang(ja_JP) %{_mandir}/man3/DateTime::Locale::ja_JP.3pm*
+%lang(pt_BR) %{_mandir}/man3/DateTime::Locale::pt_BR.3pm*
+%lang(zh_CN) %{_mandir}/man3/DateTime::Locale::zh_Hans_CN.3pm*
+%lang(zh_TW) %{_mandir}/man3/DateTime::Locale::zh_Hant_TW.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-DateTime-Locale.git/commitdiff/c9d5299c62cb496cdae2fa34963f32846a00cf33



More information about the pld-cvs-commit mailing list