Accepting request 311950 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/311950 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime-Locale?expand=0&rev=25
This commit is contained in:
parent
f06edd1895
commit
9c22bb4e46
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8aa1b8db0baccc26ed88f8976a228d2cdf4f6ed4e10fc88c1501ecd8f3ccaf9c
|
|
||||||
size 1079736
|
|
3
DateTime-Locale-0.46.tar.gz
Normal file
3
DateTime-Locale-0.46.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b4ceaa0dc0b89d4eb180eb970a927cf376e3d04ef42de98de2e034cd2021348d
|
||||||
|
size 2556441
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal 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
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Wed Feb 12 18:39:28 UTC 2014 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-DateTime-Locale
|
# spec file for package perl-DateTime-Locale
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,73 +16,54 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_with test
|
|
||||||
|
|
||||||
Name: perl-DateTime-Locale
|
Name: perl-DateTime-Locale
|
||||||
|
Version: 0.46
|
||||||
|
Release: 0
|
||||||
%define cpan_name DateTime-Locale
|
%define cpan_name DateTime-Locale
|
||||||
Summary: Localization support for DateTime.pm
|
Summary: Localization support for DateTime.pm
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Version: 0.45
|
|
||||||
Release: 0
|
|
||||||
Url: http://search.cpan.org/dist/DateTime-Locale/
|
Url: http://search.cpan.org/dist/DateTime-Locale/
|
||||||
#Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-Locale-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: perl(Test::Output)
|
|
||||||
#BuildRequires: perl(Test::Pod)
|
|
||||||
#BuildRequires: perl(Test::Pod::Coverage)
|
|
||||||
%endif
|
|
||||||
BuildRequires: perl(List::MoreUtils)
|
BuildRequires: perl(List::MoreUtils)
|
||||||
BuildRequires: perl(Params::Validate) >= 0.91
|
BuildRequires: perl(Params::Validate)
|
||||||
#
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
|
Requires: perl(Dist::CheckConflicts) >= 0.02
|
||||||
Requires: perl(List::MoreUtils)
|
Requires: perl(List::MoreUtils)
|
||||||
Requires: perl(Params::Validate) >= 0.91
|
Requires: perl(Params::Validate)
|
||||||
# MANUAL
|
%{perl_requires}
|
||||||
Provides: perl(DateTime::Locale) = %{version}00
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
DateTime::Locale is primarily a factory for the various locale subclasses.
|
DateTime::Locale is primarily a factory for the various locale subclasses.
|
||||||
It also provides some functions for getting information on all the
|
It also provides some functions for getting information on all the
|
||||||
available locales.
|
available locales.
|
||||||
|
|
||||||
If you want to know what methods are available for locale objects,
|
If you want to know what methods are available for locale objects, then
|
||||||
then please read the DateTime::Locale::Base documentation.
|
please read the 'DateTime::Locale::Base' documentation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
# rpmlint: spurious-executable-perm
|
|
||||||
find . -type f -print0 | xargs -0 chmod 644
|
|
||||||
%if 0%{?rhel_version} || 0%{?centos_version}
|
|
||||||
%{__rm} -rf tools
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
./Build
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%if 0%{suse_version}
|
%doc Changes LICENSE LICENSE.cldr MANIFEST.base README README.md
|
||||||
%doc Changes LICENSE README SIGNATURE tools
|
|
||||||
%else
|
|
||||||
%doc Changes LICENSE README SIGNATURE
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user