1
0
forked from pool/perl-DateTime

Accepting request 377331 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/377331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2016-03-26 14:26:49 +00:00 committed by Git OBS Bridge
commit c027987201
4 changed files with 21 additions and 10 deletions

View File

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

3
DateTime-1.26.tar.gz Normal file
View File

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

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Mar 22 10:06:11 UTC 2016 - coolo@suse.com
- updated to 1.26
see /usr/share/doc/packages/perl-DateTime/Changes
1.26 2016-03-21
- Switched from Module::Build to ExtUtils::MakeMaker. Implementation by Karen
Etheridge. GitHub #13.
-------------------------------------------------------------------
Tue Mar 8 10:07:34 UTC 2016 - coolo@suse.com

View File

@ -17,7 +17,7 @@
Name: perl-DateTime
Version: 1.25
Version: 1.26
Release: 0
%define cpan_name DateTime
Summary: Date and Time Object for Perl
@ -31,7 +31,6 @@ BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(DateTime::Locale) >= 0.410000
BuildRequires: perl(DateTime::TimeZone) >= 1.74
BuildRequires: perl(Module::Build) >= 0.280000
BuildRequires: perl(Params::Validate) >= 1.03
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
@ -65,18 +64,19 @@ For infinite datetimes, please see the DateTime::Infinite module.
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
./Build test
%{__make} test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CREDITS leaptab.txt LICENSE README.md TODO
%doc Changes CONTRIBUTING.md CREDITS leaptab.txt LICENSE README.md TODO
%changelog