Accepting request 1190308 from devel:languages:perl:autoupdate

- updated to 1.43
   see /usr/share/doc/packages/perl-DateTime-Locale/Changes
  1.43     2024-07-27
  - Fixed the prefers_24_hour_time method. This was incorrectly returning false when the locale's
    time_format_short method contained a quote string with "h" or "K" in it. For example, the fr-CA
    locale's time_format_short is `HH 'h' mm`. The quoted 'h' caused this method to return
    false. Fixed by Jacques Deguest (@jackdeguest). PR #39.

OBS-URL: https://build.opensuse.org/request/show/1190308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Locale?expand=0&rev=88
This commit is contained in:
Dirk Stoecker 2024-07-31 16:28:34 +00:00 committed by Git OBS Bridge
commit e2661a9f4b
7 changed files with 866 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d8a138fa32faf24af30a1dbdee4dd11988ddb6a129138004d220b6cc4053cb0
size 2015405

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c859c17cf274749dfc2c6aaf6bf4b492b605fabdddd23712efbbd5caf601de1
size 2003421

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -0,0 +1,718 @@
-------------------------------------------------------------------
Sun Jul 28 05:29:51 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 1.43
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.43 2024-07-27
- Fixed the prefers_24_hour_time method. This was incorrectly returning false when the locale's
time_format_short method contained a quote string with "h" or "K" in it. For example, the fr-CA
locale's time_format_short is `HH 'h' mm`. The quoted 'h' caused this method to return
false. Fixed by Jacques Deguest (@jackdeguest). PR #39.
-------------------------------------------------------------------
Fri Apr 19 03:06:36 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 1.42
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.42 2024-04-18
- Rebuilt all locale data with the data from CLDR 45.0.0
1.41 2024-04-06
- Rebuilt all locale data with the data from CLDR 44.1.0.
-------------------------------------------------------------------
Sun Nov 5 03:06:17 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 1.40
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.40 2023-11-04
- Rebuilt all locale data with the data from CLDR 44.0.1.
-------------------------------------------------------------------
Mon May 29 03:07:12 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 1.39
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.39 2023-05-28
- Fixed parsing of the 'el-polyton' locale code. This had the same issue as
'be-tarask', which was fixed in 1.36. This is now fixed in such a way that
similar language+variant codes will be parsed correctly in the
future. Reported by @yvanzo. GH #37.
-------------------------------------------------------------------
Sat Apr 15 03:07:08 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 1.38
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.38 2023-04-14
- Rebuilt all locale data with the data from CLDR 43.0.0.
-------------------------------------------------------------------
Mon Oct 24 03:06:17 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.37
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.37 2022-10-23
- Rebuilt all locale data with the data from CLDR 42.0.0.
-------------------------------------------------------------------
Sun Aug 21 03:07:01 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.36
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.36 2022-08-20
- Fixed misparsing of the `be-tarask` locale code. This is a locale with just
a language name and a variant. The locale parsing code assumed that all
two-part locale codes had either a script or territory, not a variant. This
caused the catalog to show the name of this locale as "Belarusian", the same
as the `be` code. Reported by yvanzo. Fixes GH #32.
-------------------------------------------------------------------
Sun Apr 24 03:06:18 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.35
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.35 2022-04-23
- The code passed to DateTime::Locale->load is now validated and untainted
before using it to load and eval data from the filesystem. I don't think
there were any security issues without this, as the load method would only
attempt to load data from disk if the code was already known. This means
that attempting to pass in any sort of arbitrary path to the load method
would simply result in an error that the code was invalid, and there would
be no attempt to read from disk. Based on GH #30. Implemented by James
Raspass.
-------------------------------------------------------------------
Sat Apr 9 03:06:18 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.34
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.34 2022-04-08
- Rebuilt all locale data with the data from CLDR 40.0.0.
-------------------------------------------------------------------
Sun Oct 31 03:07:33 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.33
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.33 2021-10-30
- Rebuilt all locale data with the data from CLDR 40.0.0. There are some
notable data changes in CLDR 40.0.0.
- Data change: The root locale is now named "und", not "root".
- Data change: The "en-US-POSIX" locale has been removed from CLDR. If you
load this locale you will now get the "en-US" locale.
-------------------------------------------------------------------
Sat May 1 03:06:59 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.32
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.32 2021-04-30
- Rebuilt all locale data with the data from CLDR 39.0.0.
-------------------------------------------------------------------
Wed Dec 23 03:07:34 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 1.31
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.31 2020-12-22
- The docs for each locale now show examples of its strftime patterns as well.
-------------------------------------------------------------------
Wed Dec 16 03:08:54 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 1.30
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.30 2020-12-15
- The previous release included some locale data for locales that had been
deleted from CLDR 38.0.0.
1.29 2020-12-14
- Rebuilt all locale data with the data from CLDR 38.0.0 and glibc 2.32.
-------------------------------------------------------------------
Sat Aug 29 03:10:10 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 1.28
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.28 2020-08-28
- Move a test that was added in 1.27 to xt. This test is a sensitive to small
variations in error message text, and testing it locally and in CI is
sufficient. Reported by Kent Fredric. GH #27.
1.27 2020-08-28
- The $locale->locale_data method now returns a deep clone of the locale's
data. This allows you to safely modify any elements of the returned hash
without breaking the original locale. Implemented by Alexander Pankoff. GH
#26.
- We now support loading locale data from relative directories in
@INC. Implemented by Alexander Pankoff. GH #25.
- When loading locale data, we now check $! for read errors, as well as
checking for an error eval'ing the file's contents in $@. Fixed by Alexander
Pankoff. GH #24.
-------------------------------------------------------------------
Sat Jul 4 03:08:59 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 1.26
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.26 2020-07-03
- Rebuilt all locale data with CLDR 37, released on 2020-04-23.
-------------------------------------------------------------------
Thu Oct 10 08:54:16 UTC 2019 - <timueller+perl@suse.de>
- updated to 1.25
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.25 2019-10-09
- Rebuilt all locale data with CLDR 36, released on 2019-10-04.
-------------------------------------------------------------------
Fri Mar 29 06:11:19 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 1.24
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.24 2019-03-28
- Rebuilt all locale data with CLDR 35, released on 2019-03-27.
-------------------------------------------------------------------
Thu Nov 8 06:15:15 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to 1.23
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.23 2018-10-17
- Rebuilt all locale data with CLDR 34, released on 2018-10-15.
-------------------------------------------------------------------
Fri Jun 15 05:17:57 UTC 2018 - coolo@suse.com
- updated to 1.22
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.22 2018-06-08
- Update the glibc source data to the data from glibc 2.27.
- Added documentation for this glibc data.
- Reformatted the DateTime::Locale::FromData docs.
1.21 2018-06-08
- Added a new DateTime::Local->register_from_data method. This replaces the
old custom locale registration system with something much simpler. Instead
of providing a new class you simply provide a hash of data for the locale
and it becomes available for use via DateTime::Local->load. Implemented by
Ryley Breiddal. PR #21. Addresse GH #19.
-------------------------------------------------------------------
Mon May 7 05:14:35 UTC 2018 - coolo@suse.com
- updated to 1.20
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.20 2018-05-06
- Fix test failures on Windows. Reported by Adrian Devries. GH #23.
-------------------------------------------------------------------
Sun Apr 22 05:16:03 UTC 2018 - coolo@suse.com
- updated to 1.19
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.19 2018-04-21
- Fix handling of a locale (nds) that does not provide a native name for its
own locale code. This is a bug in CLDR, but since it exists we should handle
it sanely.
- If you attempted to thaw a DateTime::Locale::FromData object in a process
that had not loaded DateTime::Locale this would fail. Reported by Gregor
Herrmann. GH #18.
-------------------------------------------------------------------
Wed Apr 4 05:17:47 UTC 2018 - coolo@suse.com
- updated to 1.18
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.18 2018-04-03
- Rebuilt all locale data with CLDR 33, released on 2018-03-26.
-------------------------------------------------------------------
Sun Nov 5 06:17:14 UTC 2017 - coolo@suse.com
- updated to 1.17
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.17 2017-11-04
- Rebuilt all locale data with CLDR 32, released on 2017-11-01.
-------------------------------------------------------------------
Thu May 25 07:52:01 UTC 2017 - coolo@suse.com
- updated to 1.16
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.16 2017-03-22
- Rebuilt all locale data with CLDR 31, released on 2017-03-20.
1.15 2017-03-15 (TRIAL RELEASE)
- Most data is now stored in a share dir and only loaded as needed. This
should reduce the memory usage from just loading DateTime::Locale by about
4mb. Based on a PR by sergey. GH #14.
1.14 2017-03-05
- Codes with just a language and script code were not parsed correctly,
leading to bugs in their data, so that they did not report a script_code,
nor did their name reflect the script. So for example "bs-Latn" was just
"Bosnian" instead of "Bosnian Latin".
1.13 2017-03-05
- Fixed a regression bug where providing a locale's English name or native
name to DateTime::Locale->load no longer worked. Fixed by Sergey. GH #13.
1.12 2017-01-29
- Rebuilt all locale data with CLDR 30.0.3, released on 2016-12-02.
1.11 2016-11-12
- Switched from RT to the GitHub issue tracker.
1.10 2016-10-22
- Don't let warnings from other modules cause t/09version-check.t to
fail. Reported by Graham Ollis. RT #118465
1.09 2016-10-10
- Rebuilt all locale data with CLDR 30, released on 2016-10-05.
1.08 2016-09-23
- Require namespace::autoclean 0.19+.
1.07 2016-09-17
- Bump minimum required Perl to 5.8.4 from 5.8.1. This matches DateTime.pm
itself.
1.06 2016-09-16
- Replaced Params::Validate with Params::ValidationCompiler.
-------------------------------------------------------------------
Mon Jun 27 07:53:49 UTC 2016 - coolo@suse.com
- updated to 1.05
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.05 2016-06-26
- Instead of using the DATA handle to get at as-yet-unloaded locale data in
DateTime::Locale::Data, we now read the raw data into memory once, and use
eval to turn it into Perl data structures as a particular locale is
requested. This may fix a problem where reading from the DATA handle somehow
returned the wrong chunk of data (or overlapped multiple locales). The
downside is that loading DateTime::Locale now uses an additional 4MB of
memory on my system, regardless of how many individual locales are
instantiated. Reported by Greg Oschwald. GitHub #3.
-------------------------------------------------------------------
Thu Jun 23 06:12:50 UTC 2016 - coolo@suse.com
- updated to 1.04
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.04 2016-06-17
- Replaced List::MoreUtils with List::Util.
-------------------------------------------------------------------
Tue Mar 29 09:16:32 UTC 2016 - coolo@suse.com
- updated to 1.03
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.03 2016-03-25
- Rebuilt all locale data with CLDR 29, released on 2016-03-19.
-------------------------------------------------------------------
Thu Dec 10 09:49:20 UTC 2015 - coolo@suse.com
- updated to 1.02
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.02 2015-12-09
- Make the DateTime::Locale->load method accept a locale in any non-canonical
casing, such as "en-us". Reported by Shawn Moore. RT #110244.
-------------------------------------------------------------------
Sun Nov 8 09:41:33 UTC 2015 - coolo@suse.com
- updated to 1.01
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
1.01 2015-11-07
- Prevent CPAN from indexing the tools directory, which is just for the
author's use.
1.00 2015-11-07
* All of these changes were originally released in previous trial releases,
but I'm repeating them here for clarity.
[ENHANCEMENTS]
- This release uses the locale data from CLDR version 28. The last major
update of the locale data used CLDR 1.7.1, released in 2009, so this is a
big change. Many things have changed in terms of locale data.
- Some locales are no longer available because they are not in the CLDR data.
- The CLDR data no longer includes default date and time format lengths. This
is now "medium" for every locale, simply to provide some level of backwards
compatibility.
- Loading DateTime::Locale itself is now quite a bit faster. The whole locale
registration system has been removed entirely, except for custom
locales. This fixes RT #78794. Requested by Michael Conrad.
- A long-standing issue with the Austrian locale not using the Austrian name
for January has been fixed. RT #52337. Reported by Thomas Klausner.
[BACKWARDS INCOMPATIBILITIES]
- This is a big new release, and includes a number of backwards-incompatible
changes. However, most users should be unaffected by this change. If you
only use this module via DateTime.pm, you are unlikely to notice any changes
other than changes to the locale data.
- The old API deprecated since 0.40 has been removed (almost) entirely.
- We now refer to things as "code" in the docs and method names where we used
to call them ids. This includes locale, language, script, territory, and
variant codes. This is more in line with the various ISO standards and the
CLDR packages.
- All the $locale->*_id methods (including $locale->id) are deprecated. Use
the relevant $locale->*_code method instead.
- The canonical form of the locale codes now uses dashes (-) instead of
underscores (_). Loading a locale with an underscore in the name
(e.g. en_US) still works.
- The way that locale data is packaged has changed quite a bit. We no longer
package each locale in its own class. Instead, all locale data is in a
single module (mostly in a __DATA__ section) and loaded into memory as
needed. If you have any code that checks $locale->isa, that code may
break.
- Locales are no longer subclasses of DateTime::Locale::Base. This module is
still included in the distribution in case someone has a custom locale that
inherits from this module. However, this module will go away in a future
release.
z
- The "ii-*" aliases for the "he-*" locales have been removed.
- The "no-*" aliases for the "nn-*" locales have been removed.
- The value of $locale->code no longer reflects the value passed to
DateTime::Locale->load. This only affects aliases and non-canonical forms of
the code. For example, if you load "en_US" then $locale->code will return
"en-US". If you load "C" or "POSIX" the returned code will be "en-US-POSIX".
- All of the documentation related to creating aliases and registering custom
locales has been removed. All of these methods still work, but I don't think
this system got much use, so I don't want to emphasize it in the docs. (But
let me know if you are using this and want to see these docs restored).
0.96 2015-10-04 (TRIAL RELEASE)
- Locale data with characters in the 0x80-0xFF range was not marked as UTF-8
by Perl. This could cause all sorts of weirdness and was generally bad.
0.95 2015-09-30 (TRIAL RELEASE)
- Added .pod files for each locale that document the data for that locale.
0.94 2015-09-30 (TRIAL RELEASE)
- Restored the datetime_format method to individual locale objects for
backwards compatibility.
0.93 2015-09-28 (TRIAL RELEASE)
- Really release a trial release this time. I'm not kidding. See 0.90 for the
interesting changes.
-------------------------------------------------------------------
Mon Sep 28 08:37:51 UTC 2015 - coolo@suse.com
- updated to 0.92
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
0.92 2015-09-27
- I accidentally released 0.90 as a non-trial release. This release is the
same as 0.46, so that the newest non-trial release does not break the
DateTime.pm tests.
0.91 2015-09-27
- Released the changes in 0.90 as a trial release.
0.90 2015-09-27
[ENHANCEMENTS]
- Updated based on version 28 of the CLDR data. The last update was based on
the CLDR 1.7.1 release from 2009, so this is a big change. Many things have
changed in terms of locale data.
- Some locales are no longer available because they are not in the CLDR data.
- The CLDR data no longer includes default date and time format lengths. This
is now "medium" for every locale, simply to provide some level of backwards
compatibility.
- The old API deprecated since 0.40 has been removed (almost) entirely.
- Loading DateTime::Locale itself is now quite a bit faster. The whole locale
registration system has been removed entirely, except for custom
locales. This fixes RT #78794. Requested by Michael Conrad.
- A long-standing issue with the Austrian locale not using the Austrian name
for January has been fixed. RT #52337. Reported by Thomas Klausner.
[BACKWARDS INCOMPATIBILITIES]
* This is a big new release, and includes a number of backwards-incompatible
changes. However, most users should be unaffected by this change. If you
only use this module via DateTime.pm, you are unlikely to notice any changes
other than changes to the locale data.
* We now refer to things as "code" in the docs and method names where we used
to call them ids. This includes locale, language, script, territory, and
variant codes. This is more in line with the various ISO standards and the
CLDR packages.
* All the $locale->*_id methods (including $locale->id) are deprecated. Use
the relevant $locale->*_code method instead.
* The canonical form of the locale codes now uses dashes (-) instead of
underscores (_). Loading a locale with an underscore in the name
(e.g. en_US) still works.
* The way that locale data is packaged has changed quite a bit. We no longer
package each locale in its own class. Instead, all locale data is in a
single module (mostly in a __DATA__ section) and loaded into memory as
needed. If you have any code that checks $locale->isa, that code may
break.
* Locales are no longer subclasses of DateTime::Locale::Base. However, this
module is still included in the distribution in case someone has a custom
locale that inherits from this module. However, this module will go away in
a future release.
* The "ii-*" aliases for the "he-*" locales have been removed.
* The "no-*" aliases for the "nn-*" locales have been removed.
* The value of $locale->code no longer reflects the value passed to
DateTime::Locale->load. This only affects aliases and non-canonical forms of
the code. For example, if you load "en_US" then $locale->code returns
"en-US". If you load "C" or "POSIX" the code is "en-US-POSIX".
* All of the documentation related to creating aliases and registering custom
locales has been removed. All of these methods still work, but I don't think
this system got much use, so I don't want to emphasize it in the docs (but
let me know if you are using this and want to see these docs restored).
-------------------------------------------------------------------
Wed Jul 29 00:33:01 CEST 2015 - ro@suse.de
- make sure we provide > 0.4001 (perl versions mismatch with rpm)
(same change as on Feb 12th)
-------------------------------------------------------------------
Sun Jun 14 08:04:17 UTC 2015 - coolo@suse.com
- updated to 0.46
see /usr/share/doc/packages/perl-DateTime-Locale/Changes
0.46 2015-05-21
- Fixed handling of C locales like "C.UTF-8". Passing these to
DateTime::Locale->load would cause a warning followed by an exception, ubt
all "C" locales should be special-cased as an alias of en-US-POSIX. Reported
by David Wheeler. RT #104574.
-------------------------------------------------------------------
Wed Feb 12 18:39:28 UTC 2014 - coolo@suse.com
- make sure we provide > 0.4001 (perl versions mismatch with rpm)
- regenerate with cpanspec, centos support no longer interesting
-------------------------------------------------------------------
Fri Nov 18 11:10:54 UTC 2011 - coolo@suse.com
- use original .tar.gz
-------------------------------------------------------------------
Mon Aug 29 21:06:41 UTC 2011 - chris@computersalat.de
- fix build/deps for RHEL, CentOS
* AutoReq seem to be broken: need to remove tools dir, cause otherwise
wrong Requires would be defined, e.g. perl(Moose),....
-------------------------------------------------------------------
Tue Nov 30 19:20:09 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Fri Jul 16 14:25:32 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
o fix deps
- added bcond_with test
-------------------------------------------------------------------
Sun Apr 11 18:39:41 UTC 2010 - chris@computersalat.de
- update to 0.45
- Installing this release will cause older versions of
DateTime::Format::Strptime to warn like crazy. Please update
DateTime::Format::Strptime if you install this release.
- This is an interim release still based on CLDR 1.7.1 pending the release of
Locale::CLDR, which will happen real soon now, for some definition of soon.
- Removed dependency on Class::ISA and just copied what we need from said
module directly. Class::ISA warns as deprecated if used with Perl 5.11.0,
even though it works just fine (doh). RT #53940.
- All methods deprecated in the last release now warn when called.
- Added methods to return per-locale strftime formats from the glibc
data. These methods are not yet documented. They are just there for now to
allow me to update DateTime::Format::Strptime.
- 0.44 2009-09-12
- All methods which return strftime-style patterns are officially deprecated
(and have been a little broken for some time, regardless). This includes all
date and time format methods ending in "_format".
- Other deprecated methods include:
date_parts_order, date_before_time
era, eras
month_name, month_abbreviation, month_narrow
month_names, month_abbreviations, month_narrows
day_name, day_abbreviation, day_narrow
day_names, day_abbreviations, day_narrows
quarter_name, quarter_abbreviation, quarter_narrow
quarter_names, quarter_abbreviations
am_pm, am_pms
era_name, era_abbreviation
era_narrow, era_names, era_abbreviations
- All of these deprecated methods will eventually be removed. If you are using
them directly, please change your code.
- Converted data files in tools/t/test-data to Unix line endings. This works
around a bug in Module::Signature. Reported by Zefram. RT #49085.
- Require Params::Validate 0.91, since 0.89 caused test failures for
someone. Reported by Jeremy Hetzler. RT #41365.
- Moved code to my hg repo at http://hg.urth.org/hg/DateTime-Locale.
- 0.43 2009-06-30
- Based on CLDR 1.7.1, which includes support for several new
languages, as well as lots of changes.
- removed .packlist, perllocal.pod files
> noarch package
- cleanup spec
o removed useless comments
o fixed Header
o fixed License
o fixed deps
- perl-macros < 1120
- perl(Params::Validate) >= 0.91
o fixed description
o moved changelog to changes file
-------------------------------------------------------------------
Sat Jul 25 19:36:45 CEST 2009 - chris@computersalat.de
- spec mods
* removed ^----------
* removed ^#---------
-------------------------------------------------------------------
Sun Jun 21 19:48:49 CEST 2009 - chris@computersalat.de
- added perl-macros
o autogen filelist with perl_gen_filelist
- spec mods
o added header
o fixed deps
-------------------------------------------------------------------
Sun Oct 26 10:17:25 UTC 2008 - gerrit.beine@gmx.de
- update to 0.42
-------------------------------------------------------------------
Sun Jun 8 14:33:16 UTC 2008 - gerrit.beine@gmx.de
- first release 0.4001

95
perl-DateTime-Locale.spec Normal file
View File

@ -0,0 +1,95 @@
#
# spec file for package perl-DateTime-Locale
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name DateTime-Locale
Name: perl-DateTime-Locale
Version: 1.430000
Release: 0
%define cpan_version 1.43
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Localization support for DateTime.pm
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
BuildRequires: perl(File::ShareDir)
BuildRequires: perl(File::ShareDir::Install) >= 0.06
BuildRequires: perl(IPC::System::Simple)
BuildRequires: perl(List::Util) >= 1.45
BuildRequires: perl(Params::ValidationCompiler) >= 0.13
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(Specio::Declare)
BuildRequires: perl(Specio::Library::String)
BuildRequires: perl(Test2::Plugin::NoWarnings)
BuildRequires: perl(Test2::Plugin::UTF8)
BuildRequires: perl(Test2::Require::Module)
BuildRequires: perl(Test2::V0)
BuildRequires: perl(Test::File::ShareDir::Dist)
BuildRequires: perl(Test::More) >= 1.302015
BuildRequires: perl(namespace::autoclean) >= 0.19
Requires: perl(Dist::CheckConflicts) >= 0.02
Requires: perl(File::ShareDir)
Requires: perl(List::Util) >= 1.45
Requires: perl(Params::ValidationCompiler) >= 0.13
Requires: perl(Specio::Declare)
Requires: perl(Specio::Library::String)
Requires: perl(namespace::autoclean) >= 0.19
Provides: perl(DateTime::Locale) = %{version}
Provides: perl(DateTime::Locale::Base) = %{version}
Provides: perl(DateTime::Locale::Catalog) = %{version}
Provides: perl(DateTime::Locale::Data) = %{version}
Provides: perl(DateTime::Locale::FromData) = %{version}
Provides: perl(DateTime::Locale::Util) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
DateTime::Locale is primarily a factory for the various locale subclasses.
It also provides some functions for getting information on all the
available locales.
If you want to know what methods are available for locale objects, then
please read the DateTime::Locale::FromData documentation.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
%license LICENSE LICENSE.cldr
%changelog