Hello community,

here is the log from the commit of package perl-Date-Holidays-CZ for 
openSUSE:Factory checked in at 2020-02-18 10:42:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Date-Holidays-CZ (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Date-Holidays-CZ.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Date-Holidays-CZ"

Tue Feb 18 10:42:28 2020 rev:6 rq:774978 version:0.20

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Date-Holidays-CZ/perl-Date-Holidays-CZ.changes  
    2020-02-14 16:39:29.159656346 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Date-Holidays-CZ.new.26092/perl-Date-Holidays-CZ.changes
   2020-02-18 10:42:51.201244183 +0100
@@ -1,0 +2,19 @@
+Mon Feb 17 17:06:28 UTC 2020 - Nathan Cutler <[email protected]>
+
+- updated to 0.20
+   see /usr/share/doc/packages/perl-Date-Holidays-CZ/Changes
+
+-------------------------------------------------------------------
+Sat Feb 15 03:07:27 UTC 2020 -  <[email protected]>
+
+- updated to 0.18
+   see /usr/share/doc/packages/perl-Date-Holidays-CZ/Changes
+
+  
+  0.18 2020-02-14 09:43 CET
+  - CONTRIBUTING.rst: add new file
+  - Try to fix MANIFEST.SKIP
+  - CZ.pm: Add license text to main module POD
+  - t/pod.t: test POD
+
+-------------------------------------------------------------------

Old:
----
  Date-Holidays-CZ-0.17.tar.gz

New:
----
  Date-Holidays-CZ-0.20.tar.gz
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Date-Holidays-CZ.spec ++++++
--- /var/tmp/diff_new_pack.2uwgkX/_old  2020-02-18 10:42:54.357250622 +0100
+++ /var/tmp/diff_new_pack.2uwgkX/_new  2020-02-18 10:42:54.357250622 +0100
@@ -17,14 +17,15 @@
 
 
 Name:           perl-Date-Holidays-CZ
-Version:        0.17
+Version:        0.20
 Release:        0
 %define cpan_name Date-Holidays-CZ
 Summary:        Determine Czech holidays
 License:        BSD-3-Clause
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Date-Holidays-CZ/
-Source0:        Date-Holidays-CZ-0.17.tar.gz
+Url:            https://metacpan.org/release/%{cpan_name}
+Source0:        Date-Holidays-CZ-0.20.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -41,10 +42,10 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build build flags=%{?_smp_mflags}
 
 %check
@@ -56,6 +57,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes example LICENSE README.rst
+%doc Changes CONTRIBUTING.rst example README.rst
+%license LICENSE
 
 %changelog

++++++ Date-Holidays-CZ-0.17.tar.gz -> Date-Holidays-CZ-0.20.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Date-Holidays-CZ-0.17/CONTRIBUTING.rst 
new/Date-Holidays-CZ-0.20/CONTRIBUTING.rst
--- old/Date-Holidays-CZ-0.17/CONTRIBUTING.rst  1970-01-01 01:00:00.000000000 
+0100
+++ new/Date-Holidays-CZ-0.20/CONTRIBUTING.rst  2020-02-17 18:06:23.000000000 
+0100
@@ -0,0 +1,62 @@
+========================================
+Submitting Patches to Date::Holidays::CZ
+========================================
+
+If you have a patch that fixes an issue, feel free to open a GitHub pull 
request
+("PR") targeting the "master" branch, but do read this document first, as it
+contains important information for ensuring that your PR passes code review
+smoothly.
+
+Sign your work
+--------------
+
+The sign-off is a simple line at the end of the explanation for the
+commit, which certifies that you wrote it or otherwise have the right to
+pass it on as a open-source patch. The rules are pretty simple: if you
+can certify the below:
+
+Developer's Certificate of Origin 1.1
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+By making a contribution to this project, I certify that:
+
+   (a) The contribution was created in whole or in part by me and I
+       have the right to submit it under the open source license
+       indicated in the file; or
+
+   (b) The contribution is based upon previous work that, to the best
+       of my knowledge, is covered under an appropriate open source
+       license and I have the right under that license to submit that
+       work with modifications, whether created in whole or in part
+       by me, under the same open source license (unless I am
+       permitted to submit under a different license), as indicated
+       in the file; or
+
+   (c) The contribution was provided directly to me by some other
+       person who certified (a), (b) or (c) and I have not modified
+       it.
+
+   (d) I understand and agree that this project and the contribution
+       are public and that a record of the contribution (including all
+       personal information I submit with it, including my sign-off) is
+       maintained indefinitely and may be redistributed consistent with
+       this project or the open source license(s) involved.
+
+then you just add a line saying ::
+
+        Signed-off-by: Random J Developer <[email protected]>
+
+using your real name (sorry, no pseudonyms or anonymous contributions.)
+
+Git can sign off on your behalf
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Please note that git makes it trivially easy to sign commits. First, set the
+following config options::
+
+    $ git config --list | grep user
+    [email protected]
+    user.name=My Real Name
+
+Then just remember to use ``git commit -s``. Git will add the ``Signed-off-by``
+line automatically.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Date-Holidays-CZ-0.17/Changes 
new/Date-Holidays-CZ-0.20/Changes
--- old/Date-Holidays-CZ-0.17/Changes   2020-02-11 19:35:11.000000000 +0100
+++ new/Date-Holidays-CZ-0.20/Changes   2020-02-17 18:06:23.000000000 +0100
@@ -52,3 +52,17 @@
 0.17 2020-02-11 19:31 CET
 - Drop distro-specific prerelease.sh and release.sh
 
+0.18 2020-02-14 09:43 CET
+- CONTRIBUTING.rst: add new file
+- Try to fix MANIFEST.SKIP
+- CZ.pm: Add license text to main module POD
+- t/pod.t: test POD
+
+0.19 2020-02-17 12:21 CET
+- Fixed pod error as reported by CPANTS
+
+0.20 2020-02-17 17:53 CET
+- CZ.pm/POD: change "feiertage" to "svatky" in variable name
+- CZ.pm: make "van1" example look better
+- example/svatky.plx: fix "Use of uninitialized value in printf"
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Date-Holidays-CZ-0.17/MANIFEST 
new/Date-Holidays-CZ-0.20/MANIFEST
--- old/Date-Holidays-CZ-0.17/MANIFEST  2020-02-11 19:35:11.000000000 +0100
+++ new/Date-Holidays-CZ-0.20/MANIFEST  2020-02-17 18:06:23.000000000 +0100
@@ -1,5 +1,6 @@
 Build.PL
 Changes
+CONTRIBUTING.rst
 example/business-days-diff.plx
 example/svatky.plx
 lib/Date/Holidays/CZ.pm
@@ -14,3 +15,4 @@
 t/critic.t
 t/manifest.t
 t/perlcriticrc
+t/pod.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Date-Holidays-CZ-0.17/MANIFEST.SKIP 
new/Date-Holidays-CZ-0.20/MANIFEST.SKIP
--- old/Date-Holidays-CZ-0.17/MANIFEST.SKIP     2020-02-11 19:35:11.000000000 
+0100
+++ new/Date-Holidays-CZ-0.20/MANIFEST.SKIP     2020-02-17 18:06:23.000000000 
+0100
@@ -68,13 +68,11 @@
 \bBuild.COM$
 \bBUILD.COM$
 \bbuild.com$
-^MANIFEST\.SKIP
 
 # Avoid archives of this distribution
 \bApp-Dochazka-REST-[\d\.\_]+
 \bCPAN_NAME$
 release.sh$
-\bREADME\.md$
 
 # Avoid release script helper files
 \bCPAN_NAME$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Date-Holidays-CZ-0.17/META.json 
new/Date-Holidays-CZ-0.20/META.json
--- old/Date-Holidays-CZ-0.17/META.json 2020-02-11 19:35:11.000000000 +0100
+++ new/Date-Holidays-CZ-0.20/META.json 2020-02-17 18:06:23.000000000 +0100
@@ -35,7 +35,7 @@
    "provides" : {
       "Date::Holidays::CZ" : {
          "file" : "lib/Date/Holidays/CZ.pm",
-         "version" : "0.17"
+         "version" : "0.20"
       }
    },
    "release_status" : "stable",
@@ -50,6 +50,6 @@
          "url" : "https://github.com/smithfarm/date-holidays-cz.git";
       }
    },
-   "version" : "0.17",
+   "version" : "0.20",
    "x_serialization_backend" : "JSON::PP version 2.27400_02"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Date-Holidays-CZ-0.17/META.yml 
new/Date-Holidays-CZ-0.20/META.yml
--- old/Date-Holidays-CZ-0.17/META.yml  2020-02-11 19:35:11.000000000 +0100
+++ new/Date-Holidays-CZ-0.20/META.yml  2020-02-17 18:06:23.000000000 +0100
@@ -17,7 +17,7 @@
 provides:
   Date::Holidays::CZ:
     file: lib/Date/Holidays/CZ.pm
-    version: '0.17'
+    version: '0.20'
 requires:
   Date::Calc: '5'
   perl: '5.01'
@@ -25,5 +25,5 @@
   bugtracker: https://github.com/smithfarm/date-holidays-cz/issues
   license: http://opensource.org/licenses/bsd-license.php
   repository: https://github.com/smithfarm/date-holidays-cz.git
-version: '0.17'
+version: '0.20'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Date-Holidays-CZ-0.17/README.rst 
new/Date-Holidays-CZ-0.20/README.rst
--- old/Date-Holidays-CZ-0.17/README.rst        2020-02-11 19:35:11.000000000 
+0100
+++ new/Date-Holidays-CZ-0.20/README.rst        2020-02-17 18:06:23.000000000 
+0100
@@ -19,7 +19,8 @@
 Installation
 ------------
 
-To install this module type the following::
+To install this module, first install all the dependencies listed in
+``Build.PL``, and then type the following::
 
    perl Build.PL
    ./Build
@@ -30,18 +31,6 @@
 Submitting patches
 ------------------
 
-Patches are welcome. If you can, please fork the project on github::
-
-    http://github.com/smithfarm/date-holidays-cz.git
-
-and open a Pull Request.
-
-
-Dependencies
-------------
-
-This module requires these other modules and libraries::
-
-* Date::Calc 5.0
-* POSIX, Time::Local (from the standard Perl distribution)
+Before you submit a patch, read carefully the file ``CONTRIBUTING.rst`` in the
+same directory as this ``README.rst``.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Date-Holidays-CZ-0.17/example/svatky.plx 
new/Date-Holidays-CZ-0.20/example/svatky.plx
--- old/Date-Holidays-CZ-0.17/example/svatky.plx        2020-02-11 
19:35:11.000000000 +0100
+++ new/Date-Holidays-CZ-0.20/example/svatky.plx        2020-02-17 
18:06:23.000000000 +0100
@@ -12,6 +12,7 @@
 # See the manpage for a list of all aliases.
 my %svatky_full_names = (
     'obss' => 'Restoration Day of the Independent Czech State',
+    'velk' => 'Good Friday',
     'veln' => 'Easter Sunday',
     'velp' => 'Easter Monday', 
     'svpr' => 'Labor Day', 
@@ -34,7 +35,7 @@
 
 # Get the list of holidays for next year
 my @svatky = @{holidays( WHERE  => ['all'], 
-                         FORMAT => "%#:%d.%m.%Y (%s seconds since the epoch)",
+                         FORMAT => "%#:%d.%m.%Y",
                          YEAR   => $pristi
              )};
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Date-Holidays-CZ-0.17/lib/Date/Holidays/CZ.pm 
new/Date-Holidays-CZ-0.20/lib/Date/Holidays/CZ.pm
--- old/Date-Holidays-CZ-0.17/lib/Date/Holidays/CZ.pm   2020-02-11 
19:35:11.000000000 +0100
+++ new/Date-Holidays-CZ-0.20/lib/Date/Holidays/CZ.pm   2020-02-17 
18:06:23.000000000 +0100
@@ -10,7 +10,7 @@
 use POSIX qw(strftime);
 use Time::Local;
 
-
+=encoding utf8
 
 =head1 NAME
 
@@ -39,11 +39,11 @@
 
 =head1 VERSION
 
-Version 0.17
+Version 0.20
 
 =cut
 
-our $VERSION   = '0.17';
+our $VERSION   = '0.20';
 
 
 
@@ -112,7 +112,7 @@
 The format definition I<%#> will print the internal abbreviation used for each
 holiday. 
 
-  FORMAT=>"%#:%d.%m"              van1:25.12.
+  FORMAT=>"%#: %d.%m"             van1: 25.12.
 
 As the module doesn't want to deal with i18n 
 issues, you'll have to find your own way to translate the aliases into your 
@@ -146,10 +146,10 @@
 Get all holidays in 2004, except those that occur on weekends.
 Return the date list in human readable format:
 
-  my $feiertage_ref = holidays( FORMAT   => "%a, %d.%m.%Y",
-                                WEEKENDS => 0,
-                                YEAR     => 2004,
-                              );
+  my $svatky_ref = holidays( FORMAT   => "%a, %d.%m.%Y",
+                             WEEKENDS => 0,
+                             YEAR     => 2004,
+                           );
 
 
 =head1 PREREQUISITES
@@ -347,6 +347,68 @@
 
 
 
+=head1 LICENSE
+
+The code in this module is based heavily on Date::Holidays::DE version 0.16 by
+Martin Schmitt. That code is governed by the following license:
+
+    Copyright (c) 2012, Martin Schmitt <mas at scsy dot de>, 
+    including patches contributed by Marc Andre Selig, Oliver Paukstadt,
+    Tobias Leich and Christian Loos
+  
+    Permission to use, copy, modify, and/or distribute this software for any
+    purpose with or without fee is hereby granted, provided that the above
+    copyright notice and this permission notice appear in all copies.
+  
+    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+    WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+    MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+    ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+    WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+    ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+    OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+All modifications to the original Date::Holidays::DE code, as well as all new
+code, are governed by the following:
+
+    Copyright (c) 2015-2020, SUSE LLC
+    All rights reserved.
+  
+    This is free software, licensed under:
+  
+      The (three-clause) BSD License
+  
+    The BSD License
+  
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are
+    met:
+  
+      * Redistributions of source code must retain the above copyright
+        notice, this list of conditions and the following disclaimer.
+  
+      * Redistributions in binary form must reproduce the above copyright
+        notice, this list of conditions and the following disclaimer in the
+        documentation and/or other materials provided with the distribution. 
+  
+      * Neither the name of SUSE LLC nor the names of its contributors may 
+        be used to endorse or promote products derived from this software 
+        without specific prior written permission. 
+  
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+    IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+    TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER 
+    OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+    PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
 =head1 SEE ALSO
 
 L<perl>, L<Date::Calc>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Date-Holidays-CZ-0.17/t/pod.t 
new/Date-Holidays-CZ-0.20/t/pod.t
--- old/Date-Holidays-CZ-0.17/t/pod.t   1970-01-01 01:00:00.000000000 +0100
+++ new/Date-Holidays-CZ-0.20/t/pod.t   2020-02-17 18:06:23.000000000 +0100
@@ -0,0 +1,6 @@
+use strict;
+use warnings;
+use Test::More;
+eval "use Test::Pod 1.00";
+plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+all_pod_files_ok();

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#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

Reply via email to