Hello community,
here is the log from the commit of package perl-Date-Holidays-CZ for
openSUSE:Factory checked in at 2016-04-22 16:23:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Date-Holidays-CZ (Old)
and /work/SRC/openSUSE:Factory/.perl-Date-Holidays-CZ.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Date-Holidays-CZ"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Date-Holidays-CZ/perl-Date-Holidays-CZ.changes
2016-01-28 17:25:35.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Date-Holidays-CZ.new/perl-Date-Holidays-CZ.changes
2016-04-22 16:23:19.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Mar 23 10:35:23 UTC 2016 - [email protected]
+
+- added a version 0.09 for the changes since 0.08
+- updated to latest upstream version (0.11). The only significant
+ change is:
+ + CZ.pm: support Good Friday (new holiday as of 2016)
+
+-------------------------------------------------------------------
Old:
----
Date-Holidays-CZ-0.08.tar.gz
New:
----
Date-Holidays-CZ-0.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Date-Holidays-CZ.spec ++++++
--- /var/tmp/diff_new_pack.yMWQW5/_old 2016-04-22 16:23:20.000000000 +0200
+++ /var/tmp/diff_new_pack.yMWQW5/_new 2016-04-22 16:23:20.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Date-Holidays-CZ
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Date-Holidays-CZ
-Version: 0.08
+Version: 0.11
Release: 0
%define cpan_name Date-Holidays-CZ
Summary: Determine Czech holidays
++++++ Date-Holidays-CZ-0.08.tar.gz -> Date-Holidays-CZ-0.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Date-Holidays-CZ-0.08/Changes
new/Date-Holidays-CZ-0.11/Changes
--- old/Date-Holidays-CZ-0.08/Changes 2015-09-12 11:13:23.000000000 +0200
+++ new/Date-Holidays-CZ-0.11/Changes 2016-03-23 11:24:41.000000000 +0100
@@ -11,6 +11,24 @@
distribution
0.07 Removed auto-added docu-cruft from CZ.pm
-0.08 TBA
+0.08
- complete rewrite based on Date::Holidays::DE
+0.09
+- Add release and pre-release scripts
+- Build.PL: do not auto-generate README
+- CZ.pm: POD cleanup
+- Require perl 5.010 and later, instead of 5.012
+- Build.PL: do not require a particular version of Module::Build
+- t/00-load.t: use done_testing() instead of bareword
+- t/00-load.t: support SLE_11_SP3
+
+0.10 2016-03-23
+- CZ.pm: support Good Friday
+- META.{json,yml}: add META files to git repo
+- release.sh: fix brokenness in release script
+
+0.11 2016-03-23 11:23 CET
+- Update prerelease and release scripts to latest upstream
+- prerelease.sh: adapt to two significant digits in version number
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Date-Holidays-CZ-0.08/META.json
new/Date-Holidays-CZ-0.11/META.json
--- old/Date-Holidays-CZ-0.08/META.json 2015-09-12 11:13:23.000000000 +0200
+++ new/Date-Holidays-CZ-0.11/META.json 2016-03-23 11:24:41.000000000 +0100
@@ -35,7 +35,7 @@
"provides" : {
"Date::Holidays::CZ" : {
"file" : "lib/Date/Holidays/CZ.pm",
- "version" : "0.08"
+ "version" : "0.11"
}
},
"release_status" : "stable",
@@ -44,11 +44,12 @@
"web" : "https://github.com/smithfarm/date-holidays-cz/issues"
},
"license" : [
- "http://opensource.org/licenses/BSD-3-Clause"
+ "http://opensource.org/licenses/bsd-license.php"
],
"repository" : {
"url" : "https://github.com/smithfarm/date-holidays-cz.git"
}
},
- "version" : "0.08"
+ "version" : "0.11",
+ "x_serialization_backend" : "JSON::PP version 2.27203"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Date-Holidays-CZ-0.08/META.yml
new/Date-Holidays-CZ-0.11/META.yml
--- old/Date-Holidays-CZ-0.08/META.yml 2015-09-12 11:13:23.000000000 +0200
+++ new/Date-Holidays-CZ-0.11/META.yml 2016-03-23 11:24:41.000000000 +0100
@@ -8,7 +8,7 @@
Module::Build: '0'
Software::License: '0'
dynamic_config: 1
-generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version
2.142060'
+generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version
2.150005'
license: bsd
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -17,12 +17,13 @@
provides:
Date::Holidays::CZ:
file: lib/Date/Holidays/CZ.pm
- version: '0.08'
+ version: '0.11'
requires:
Date::Calc: '5'
perl: '5.01'
resources:
bugtracker: https://github.com/smithfarm/date-holidays-cz/issues
- license: http://opensource.org/licenses/BSD-3-Clause
+ license: http://opensource.org/licenses/bsd-license.php
repository: https://github.com/smithfarm/date-holidays-cz.git
-version: '0.08'
+version: '0.11'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Date-Holidays-CZ-0.08/lib/Date/Holidays/CZ.pm
new/Date-Holidays-CZ-0.11/lib/Date/Holidays/CZ.pm
--- old/Date-Holidays-CZ-0.08/lib/Date/Holidays/CZ.pm 2015-09-12
11:13:23.000000000 +0200
+++ new/Date-Holidays-CZ-0.11/lib/Date/Holidays/CZ.pm 2016-03-23
11:24:41.000000000 +0100
@@ -39,11 +39,11 @@
=head1 VERSION
-Version 0.08
+Version 0.11
=cut
-our $VERSION = '0.08';
+our $VERSION = '0.11';
@@ -54,6 +54,7 @@
The module knows about the following holidays (official names):
obss Den obnovy samostatného českého státu
+ velk Velikonoční pátek
veln Velikonoční neděle
velp Velikonoční pondělí
svpr Svátek práce
@@ -72,6 +73,7 @@
The module knows about the following holidays (English names):
obss Restoration Day of the Independent Czech State
+ velk Good Friday
veln Easter Sunday
velp Easter Monday
svpr Labor Day
@@ -179,6 +181,7 @@
# Aliases for holidays
#
# obss Restoration Day of the Independent Czech State
+ # velk Good Friday
# veln Easter Sunday
# velp Easter Monday
# svpr Labor Day
@@ -198,7 +201,7 @@
#
my %holidays;
# Common holidays throughout the Czech Republic
- @{$holidays{'common'}} = qw( obss veln velp svpr dvit
+ @{$holidays{'common'}} = qw( obss velk veln velp svpr dvit
cyme mhus wenc vzcs bojs sted van1 van2 );
#
@@ -246,6 +249,11 @@
Date::Calc::Add_Delta_Days($year, $month, $day, 1);
$holiday{'velp'} = _date2timestamp($y_velp, $m_velp, $d_velp);
+ # Good Friday = Easter Sunday minus 2 days
+ my ($y_velk, $m_velk, $d_velk) =
+ Date::Calc::Add_Delta_Days($year, $month, $day, -2);
+ $holiday{'velk'} = _date2timestamp($y_velk, $m_velk, $d_velk);
+
#
# Build list for returning
#