Hello community, here is the log from the commit of package perl-Calendar-Simple for openSUSE:Factory checked in at 2018-02-27 16:57:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Calendar-Simple (Old) and /work/SRC/openSUSE:Factory/.perl-Calendar-Simple.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Calendar-Simple" Tue Feb 27 16:57:29 2018 rev:12 rq:579747 version:1.23 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Calendar-Simple/perl-Calendar-Simple.changes 2012-12-09 14:11:14.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Calendar-Simple.new/perl-Calendar-Simple.changes 2018-02-27 16:57:37.460765080 +0100 @@ -1,0 +2,6 @@ +Fri Feb 23 06:05:06 UTC 2018 - co...@suse.com + +- updated to 1.23 + see /usr/share/doc/packages/perl-Calendar-Simple/Changes + +------------------------------------------------------------------- Old: ---- Calendar-Simple-1.21.tar.gz New: ---- Calendar-Simple-1.23.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Calendar-Simple.spec ++++++ --- /var/tmp/diff_new_pack.vUpXec/_old 2018-02-27 16:57:38.952711173 +0100 +++ /var/tmp/diff_new_pack.vUpXec/_new 2018-02-27 16:57:38.956711028 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Calendar-Simple # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -15,59 +15,31 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - -%bcond_with pod -%bcond_with opt Name: perl-Calendar-Simple +Version: 1.23 +Release: 0 %define cpan_name Calendar-Simple Summary: Perl extension to create simple calendars -Version: 1.21 -Release: 3 -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Calendar-Simple/ -Source: http://www.cpan.org/authors/id/D/DA/DAVECROSS/Calendar-Simple-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/D/DA/DAVECROSS/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl -%if 0%{?suse_version} <= 1130 BuildRequires: perl-macros -%endif -BuildRequires: perl(Module::Build) -BuildRequires: perl(Test::More) -%if %{with pod} -BuildRequires: perl(Test::Pod) >= 1.00 -BuildRequires: perl(Test::Pod::Coverage) >= 1.00 -%endif -%if %{with opt} -BuildRequires: perl(DateTime) -%endif -BuildRequires: perl(Carp) -BuildRequires: perl(Config) -BuildRequires: perl(Time::Local) -Requires: perl(Carp) -Requires: perl(Config) -Requires: perl(Time::Local) -%if 0%{?suse_version} > 1010 +BuildRequires: perl(Module::Build) >= 0.420000 Recommends: perl(DateTime) -%endif +%{perl_requires} %description -A very simple perl module that models a calendar month. - -This function returns a data structure representing the dates in a month. The -data structure returned is an array of array references. The first level array -represents the weeks in the month. The second level array contains the actual -days. By default, each week starts on a Sunday and the value in the array is -the date of that day. Any days at the beginning of the first week or the end of -the last week that are from the previous or next month have the value undef. +A very simple module that exports one function called 'calendar'. %prep %setup -q -n %{cpan_name}-%{version} -%{__chmod} 0644 lib/Calendar/Simple.pm +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Build.PL installdirs=vendor @@ -77,14 +49,11 @@ ./Build test %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc Changes README %changelog ++++++ Calendar-Simple-1.21.tar.gz -> Calendar-Simple-1.23.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Calendar-Simple-1.21/Build.PL new/Calendar-Simple-1.23/Build.PL --- old/Calendar-Simple-1.21/Build.PL 2010-04-02 18:34:11.000000000 +0200 +++ new/Calendar-Simple-1.23/Build.PL 2018-02-22 18:28:25.000000000 +0100 @@ -22,6 +22,11 @@ }, create_makefile_pl => 'traditional', script_files => [ 'bin/pcal' ], + meta_merge => { + resources => { + repository => 'https://github.com/davorg/calendar-simple', + } + }, ); $build->create_build_script; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Calendar-Simple-1.21/Changes new/Calendar-Simple-1.23/Changes --- old/Calendar-Simple-1.21/Changes 2010-04-02 18:34:11.000000000 +0200 +++ new/Calendar-Simple-1.23/Changes 2018-02-22 18:28:25.000000000 +0100 @@ -1,162 +1,184 @@ -2010-04-02 Dave Cross <d...@angel.mag-sol.com> +2018-02-22 Dave Cross <d...@dave.org.uk> - * Build.PL: Remove signing. + * lib/Calendar/Simple.pm: Bump version for another release. Thanks + Mohammed Anwar - * lib/Calendar/Simple.pm: Bump to version 1.21 for release. +2018-02-22 Mohammad S Anwar <mohammad.an...@yahoo.com> - * t/no_dt.t: Patch to fix tests under 5.11.0+. Thanks to Ruslan Zakirov. + * Build.PL, MANIFEST, README.xml: - Removed +x bit from Build.PL as + reported by CPANTS. -2009-12-02 Dave Cross <d...@dave.org.uk> +2018-02-22 Dave Cross <d...@dave.org.uk> - * lib/Calendar/Simple.pm: Small amount of perlcritic work + * lib/Calendar/Simple.pm: Bump version to a number that that's not + already on CPAN :-/ + * Build.PL: Remove signing. + * lib/Calendar/Simple.pm: Bump version for release. + * lib/Calendar/Simple.pm: Change the arguments passed to timelocal() + Following advice in the documentation: "Whenever possible, use an + absolute four digit year instead." -2009-03-19 Dave Cross <d...@dave.org.uk> +2016-01-04 Dave Cross <d...@dave.org.uk> - * Build.PL, lib/Calendar/Simple.pm: Switch to hard-coded version number in - Calendar/Simple.pm. + * Build.PL: Added repo details to Build.PL -2008-04-19 Dave Cross <d...@dave.org.uk> +2015-07-18 Dave Cross <d...@dave.org.uk> - * Build.PL: Increment version + * .travis.yml: Removed 5.22 from .travis.yml - * Build.PL: Add Perl version. Add Config to prereqs. +2015-07-17 Dave Cross <d...@dave.org.uk> -2008-03-09 Dave Cross <d...@dave.org.uk> + * .travis.yml: .travis.yml - * Build.PL: Incremented release number. +2015-04-11 Dave Cross <d...@dave.org.uk> - * Build.PL: Added Licence. Slightly rejigged dependencies. + * .gitignore: Added .gitignore -2008-03-08 Dave Cross <d...@dave.org.uk> +2014-01-10 Dave Cross <dave.cr...@net-a-porter.com> - * MANIFEST: Removed COPYING for MANIFEST. + * .travis.yml: Added .travis.yml - * COPYING: Remove COPYING. +2011-07-23 Dave Cross <d...@dave.org.uk> - * t/no_dt.t: Skip 2100 test on 64-bit systems. + * Build.PL, MANIFEST, README.xml, t/date_span.t, t/pod_coverage.t: + Various changes (mainly permissions) - * lib/Calendar/Simple.pm: Turn "licence" into a verb so CPANTS will recognise - it. +2010-04-02 Dave Cross <d...@angel.mag-sol.com> - * lib/Calendar/Simple.pm: Require Perl 5.6 (and, hence, use "our" and - "warnings"). Use svn revision number. Create licence section. + * t/no_dt.t: Patch to fix tests under 5.11.0+. Thanks to Ruslan + Zakirov. - * : Make files non-executable. +2009-12-02 Dave Cross <d...@dave.org.uk> - * Build.PL: Correct dependencies. Change email address to mag-sol.com. - Increment version number. + * lib/Calendar/Simple.pm: Small amount of perlcritic work -2006-10-18 Dave Cross <d...@dave.org.uk> +2009-03-19 Dave Cross <d...@dave.org.uk> - * lib/Calendar/Simple.pm: Fixed undef values in comparisons + * Build.PL, lib/Calendar/Simple.pm: Switch to hard-coded version + number in Calendar/Simple.pm. -2006-10-16 Dave Cross <d...@dave.org.uk> +2008-04-19 Dave Cross <d...@dave.org.uk> - * lib/Calendar/Simple.pm: Bump version for release. + * Build.PL: Increment version + * Build.PL: Add Perl version. Add Config to prereqs. - * Build.PL: Added pcal to Build.PL. +2008-03-09 Dave Cross <d...@dave.org.uk> -2006-10-15 Dave Cross <d...@dave.org.uk> + * Build.PL: Incremented release number. + * Build.PL: Added Licence. Slightly rejigged dependencies. - * MANIFEST, lib/Calendar/Simple.pm: Fixed MANIFEST, bumped version number. +2008-03-08 Dave Cross <d...@dave.org.uk> - * bin/pcal, lib/Calendar/Simple.pm: Added pcal to the distribution + * MANIFEST: Removed COPYING for MANIFEST. + * COPYING: Remove COPYING. + * t/no_dt.t: Skip 2100 test on 64-bit systems. + * lib/Calendar/Simple.pm: Turn "licence" into a verb so CPANTS will + recognise it. + * lib/Calendar/Simple.pm: Require Perl 5.6 (and, hence, use "our" and + "warnings"). Use svn revision number. Create licence section. + * Build.PL, COPYING, MANIFEST: Make files non-executable. + * Build.PL: Correct dependencies. Change email address to mag- + sol.com. Increment version number. - * lib/Calendar/Simple.pm, t/date_span.t: Added date_span function (and tests) +2006-10-18 Dave Cross <d...@dave.org.uk> -2006-10-11 Dave Cross <d...@dave.org.uk> + * lib/Calendar/Simple.pm: Fixed undef values in comparisons + +2006-10-16 Dave Cross <d...@dave.org.uk> - * lib/Calendar/Simple.pm: Removed excess parentheses + * lib/Calendar/Simple.pm: Bump version for release. + * Build.PL: Added pcal to Build.PL. - * t/no_dt.t, t/test.t: Slightly improved some tests +2006-10-15 Dave Cross <d...@dave.org.uk> + + * MANIFEST, lib/Calendar/Simple.pm: Fixed MANIFEST, bumped version + number. + * bin/pcal, lib/Calendar/Simple.pm: Added pcal to the distribution + * lib/Calendar/Simple.pm, t/date_span.t: Added date_span function + (and tests) + +2006-10-11 Dave Cross <d...@dave.org.uk> + + * lib/Calendar/Simple.pm: Removed excess parentheses + * t/no_dt.t, t/test.t: Slightly improved some tests 2006-09-10 (no author) <(no author)> - * README.xml, lib/Calendar/Simple.pm: Changed copywrite to Magnum Solutions. - Updated README to use Build.PL. + * README.xml, lib/Calendar/Simple.pm: Changed copywrite to Magnum + Solutions. Updated README to use Build.PL. 2006-09-04 (no author) <(no author)> - * lib/Calendar/Simple.pm: Changed to manual version number + * lib/Calendar/Simple.pm: Changed to manual version number 2005-05-31 Dave Cross <d...@dave.org.uk> - * Build.PL, lib/Calendar/Simple.pm: Fixes to Build.PL. Small changes to Pod. + * Build.PL, lib/Calendar/Simple.pm: Fixes to Build.PL. Small changes + to Pod. 2005-03-01 Dave Cross <d...@dave.org.uk> - * lib/Calendar/Simple.pm: Adding pod coverage tests - - * MANIFEST, t/no_dt.t, t/pod_coverage.t, t/test.t: Added pod coverage tests + * lib/Calendar/Simple.pm: Adding pod coverage tests + * MANIFEST, t/no_dt.t, t/pod_coverage.t, t/test.t: Added pod coverage + tests 2004-12-04 Dave Cross <d...@dave.org.uk> - * lib/Calendar/Simple.pm: Added 'see also' reference to DateTime - - * t/test.t: Don't run 2100 test if DateTime isn't installed + * lib/Calendar/Simple.pm: Added 'see also' reference to DateTime + * t/test.t: Don't run 2100 test if DateTime isn't installed 2004-10-30 Dave Cross <d...@dave.org.uk> - * lib/Calendar/Simple.pm: Moved Simple.pm - - * Build.PL, MANIFEST, Makefile.PL: Removed Makefile.PL (now generated by - Build.PL) Added Build.PL Updated MANIFEST + * lib/Calendar/Simple.pm: Moved Simple.pm + * Build.PL, MANIFEST, Makefile.PL: Removed Makefile.PL (now generated + by Build.PL) Added Build.PL Updated MANIFEST 2004-10-23 Dave Cross <d...@dave.org.uk> - * lib/Calendar/Simple.pm, t/no_dt.t, t/pod.t, t/test.t: Improved test - coverage + * lib/Calendar/Simple.pm, t/no_dt.t, t/pod.t, t/test.t: Improved test + coverage 2004-05-23 Dave Cross <d...@dave.org.uk> - * README, README.xml: Replace README with README.xml + * README, README.xml: Replace README with README.xml 2004-05-22 Dave Cross <d...@dave.org.uk> - * t/test.t: Added more tests to increase coverage + * t/test.t: Added more tests to increase coverage 2003-05-14 Dave Cross <d...@dave.org.uk> - * t/pod.t, t/test.t: Added support for DateTime.pm (but only is it's - installed). Updated POD tests. - - * lib/Calendar/Simple.pm: Added support for DateTime.pm (but only is it's - installed). + * t/pod.t, t/test.t: Added support for DateTime.pm (but only is it's + installed). Updated POD tests. + * lib/Calendar/Simple.pm: Added support for DateTime.pm (but only is + it's installed). 2003-02-19 Dave Cross <d...@dave.org.uk> - * Changes: Removed from CVS - - * t/pod.t, t/test.t: New test files - - * Makefile.PL: Added Test::More and Test::Pod as prereqs. - - * MANIFEST: Removed test.pl Added t/* - - * test.pl: Moved tests to t/* - - * lib/Calendar/Simple.pm: Ensure that all week arrays contain seven elements - - previously the last one ended on the last day of the month. + * Changes: Removed from CVS + * t/pod.t, t/test.t: New test files + * Makefile.PL: Added Test::More and Test::Pod as prereqs. + * MANIFEST: Removed test.pl Added t/* + * test.pl: Moved tests to t/* + * lib/Calendar/Simple.pm: Ensure that all week arrays contain seven + elements - previously the last one ended on the last day of the + month. 2002-07-30 Dave Cross <d...@dave.org.uk> - * Changes, lib/Calendar/Simple.pm: Fixed the stupid error from the last fix. - - * lib/Calendar/Simple.pm: Fixed undefined value errors + * Changes, lib/Calendar/Simple.pm: Fixed the stupid error from the + last fix. + * lib/Calendar/Simple.pm: Fixed undefined value errors 2002-07-13 Dave Cross <d...@dave.org.uk> - * lib/Calendar/Simple.pm: Doc patches + * lib/Calendar/Simple.pm: Doc patches 2002-07-12 Dave Cross <d...@dave.org.uk> - * COPYING, MANIFEST: Added COPYING - - * lib/Calendar/Simple.pm: Added CVS tags - - * lib/Calendar/Simple.pm, test.pl: Added start day option - - * Calendar-Simple-0.01.tar, Makefile: Unnecessary Checkin - - * Calendar-Simple-0.01.tar, Changes, MANIFEST, Makefile, Makefile.PL, README, - lib/Calendar/Simple.pm, test.pl: Initial revision + * COPYING, MANIFEST: Added COPYING + * lib/Calendar/Simple.pm: Added CVS tags + * lib/Calendar/Simple.pm, test.pl: Added start day option + * Calendar-Simple-0.01.tar, Makefile: Unnecessary Checkin + * Calendar-Simple-0.01.tar, Changes, MANIFEST, Makefile, Makefile.PL, + README, lib/Calendar/Simple.pm, test.pl: Initial revision diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Calendar-Simple-1.21/MANIFEST new/Calendar-Simple-1.23/MANIFEST --- old/Calendar-Simple-1.21/MANIFEST 2010-04-02 18:34:11.000000000 +0200 +++ new/Calendar-Simple-1.23/MANIFEST 2018-02-22 18:28:25.000000000 +0100 @@ -11,3 +11,4 @@ t/date_span.t bin/pcal META.yml Module meta-data (added by MakeMaker) +META.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Calendar-Simple-1.21/META.json new/Calendar-Simple-1.23/META.json --- old/Calendar-Simple-1.21/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/Calendar-Simple-1.23/META.json 2018-02-22 18:28:25.000000000 +0100 @@ -0,0 +1,56 @@ +{ + "abstract" : "Perl extension to create simple calendars", + "author" : [ + "Dave Cross <d...@mag-sol.com>" + ], + "dynamic_config" : 1, + "generated_by" : "Module::Build version 0.422", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "Calendar-Simple", + "prereqs" : { + "build" : { + "requires" : { + "Test::More" : "0" + } + }, + "configure" : { + "requires" : { + "Module::Build" : "0.42" + } + }, + "runtime" : { + "recommends" : { + "DateTime" : "0" + }, + "requires" : { + "Carp" : "0", + "Config" : "0", + "Time::Local" : "0", + "perl" : "v5.6.0" + } + } + }, + "provides" : { + "Calendar::Simple" : { + "file" : "lib/Calendar/Simple.pm", + "version" : "1.23" + } + }, + "release_status" : "stable", + "resources" : { + "license" : [ + "http://dev.perl.org/licenses/" + ], + "repository" : { + "url" : "https://github.com/davorg/calendar-simple" + } + }, + "version" : "1.23", + "x_serialization_backend" : "JSON::PP version 2.27300_01" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Calendar-Simple-1.21/META.yml new/Calendar-Simple-1.23/META.yml --- old/Calendar-Simple-1.21/META.yml 2010-04-02 18:34:11.000000000 +0200 +++ new/Calendar-Simple-1.23/META.yml 2018-02-22 18:28:25.000000000 +0100 @@ -3,26 +3,29 @@ author: - 'Dave Cross <d...@mag-sol.com>' build_requires: - Test::More: 0 + Test::More: '0' configure_requires: - Module::Build: 0.36 -generated_by: 'Module::Build version 0.3603' + Module::Build: '0.42' +dynamic_config: 1 +generated_by: 'Module::Build version 0.422, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Calendar-Simple provides: Calendar::Simple: file: lib/Calendar/Simple.pm - version: 1.21 + version: '1.23' recommends: - DateTime: 0 + DateTime: '0' requires: - Carp: 0 - Config: 0 - Time::Local: 0 + Carp: '0' + Config: '0' + Time::Local: '0' perl: v5.6.0 resources: license: http://dev.perl.org/licenses/ -version: 1.21 + repository: https://github.com/davorg/calendar-simple +version: '1.23' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Calendar-Simple-1.21/Makefile.PL new/Calendar-Simple-1.23/Makefile.PL --- old/Calendar-Simple-1.21/Makefile.PL 2010-04-02 18:34:11.000000000 +0200 +++ new/Calendar-Simple-1.23/Makefile.PL 2018-02-22 18:28:25.000000000 +0100 @@ -1,20 +1,20 @@ -# Note: this file was auto-generated by Module::Build::Compat version 0.3603 +# Note: this file was auto-generated by Module::Build::Compat version 0.4220 require 5.006000; use ExtUtils::MakeMaker; WriteMakefile ( - 'NAME' => 'Calendar::Simple', - 'VERSION_FROM' => 'lib/Calendar/Simple.pm', - 'PREREQ_PM' => { - 'Carp' => 0, - 'Config' => 0, - 'Test::More' => 0, - 'Time::Local' => 0 - }, - 'INSTALLDIRS' => 'site', - 'EXE_FILES' => [ - 'bin/pcal' - ], - 'PL_FILES' => {} - ) + 'NAME' => 'Calendar::Simple', + 'VERSION_FROM' => 'lib/Calendar/Simple.pm', + 'PREREQ_PM' => { + 'Carp' => 0, + 'Config' => 0, + 'Test::More' => 0, + 'Time::Local' => 0 + }, + 'INSTALLDIRS' => 'site', + 'EXE_FILES' => [ + 'bin/pcal' + ], + 'PL_FILES' => {} +) ; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Calendar-Simple-1.21/lib/Calendar/Simple.pm new/Calendar-Simple-1.23/lib/Calendar/Simple.pm --- old/Calendar-Simple-1.21/lib/Calendar/Simple.pm 2010-04-02 18:34:11.000000000 +0200 +++ new/Calendar-Simple-1.23/lib/Calendar/Simple.pm 2018-02-22 18:28:25.000000000 +0100 @@ -31,7 +31,7 @@ our @EXPORT = qw(calendar); our @EXPORT_OK = qw(date_span); -our $VERSION = '1.21'; +our $VERSION = '1.23'; use Time::Local; use Carp; @@ -86,7 +86,7 @@ month => $mon, day => 1)->day_of_week % 7; } else { - $first = (localtime timelocal 0, 0, 0, 1, $mon -1, $year - 1900)[6]; + $first = (localtime timelocal 0, 0, 0, 1, $mon -1, $year)[6]; } $first -= $start_day; ++++++ 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