Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Calendar-Simple for
openSUSE:Factory checked in at 2023-08-08 17:26:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Calendar-Simple (Old)
and /work/SRC/openSUSE:Factory/.perl-Calendar-Simple.new.22712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Calendar-Simple"
Tue Aug 8 17:26:48 2023 rev:16 rq:1102952 version:2.0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Calendar-Simple/perl-Calendar-Simple.changes
2023-07-29 20:10:31.638008876 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Calendar-Simple.new.22712/perl-Calendar-Simple.changes
2023-08-08 17:26:49.703507457 +0200
@@ -1,0 +2,12 @@
+Wed Aug 2 03:07:01 UTC 2023 - Tina Müller <[email protected]>
+
+- updated to 2.0.3
+ see /usr/share/doc/packages/perl-Calendar-Simple/Changes.md
+
+ ## [2.0.3] 2023-08-01
+
+ ### Added
+
+ - Improvements to `pcal`
+
+-------------------------------------------------------------------
Old:
----
Calendar-Simple-v2.0.2.tar.gz
New:
----
Calendar-Simple-v2.0.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Calendar-Simple.spec ++++++
--- /var/tmp/diff_new_pack.E1RoQe/_old 2023-08-08 17:26:50.991515460 +0200
+++ /var/tmp/diff_new_pack.E1RoQe/_new 2023-08-08 17:26:50.995515485 +0200
@@ -18,7 +18,7 @@
%define cpan_name Calendar-Simple
Name: perl-Calendar-Simple
-Version: 2.0.2
+Version: 2.0.3
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl extension to create simple calendars
++++++ Calendar-Simple-v2.0.2.tar.gz -> Calendar-Simple-v2.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Calendar-Simple-v2.0.2/Changes.md
new/Calendar-Simple-v2.0.3/Changes.md
--- old/Calendar-Simple-v2.0.2/Changes.md 2023-07-27 13:19:34.000000000
+0200
+++ new/Calendar-Simple-v2.0.3/Changes.md 2023-08-01 10:07:03.000000000
+0200
@@ -4,6 +4,12 @@
The format is based on [Keep a
Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).
+## [2.0.3] 2023-08-01
+
+### Added
+
+- Improvements to `pcal`
+
## [2.0.2] 2023-07-27
### Fixed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Calendar-Simple-v2.0.2/META.json
new/Calendar-Simple-v2.0.3/META.json
--- old/Calendar-Simple-v2.0.2/META.json 2023-07-27 13:19:34.000000000
+0200
+++ new/Calendar-Simple-v2.0.3/META.json 2023-08-01 10:07:03.000000000
+0200
@@ -39,7 +39,7 @@
"provides" : {
"Calendar::Simple" : {
"file" : "lib/Calendar/Simple.pm",
- "version" : "v2.0.2"
+ "version" : "v2.0.3"
}
},
"release_status" : "stable",
@@ -56,6 +56,6 @@
"web" : "https://github.com/davorg/calendar-simple"
}
},
- "version" : "v2.0.2",
+ "version" : "v2.0.3",
"x_serialization_backend" : "JSON::PP version 4.16"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Calendar-Simple-v2.0.2/META.yml
new/Calendar-Simple-v2.0.3/META.yml
--- old/Calendar-Simple-v2.0.2/META.yml 2023-07-27 13:19:34.000000000 +0200
+++ new/Calendar-Simple-v2.0.3/META.yml 2023-08-01 10:07:03.000000000 +0200
@@ -16,7 +16,7 @@
provides:
Calendar::Simple:
file: lib/Calendar/Simple.pm
- version: v2.0.2
+ version: v2.0.3
recommends:
DateTime: '0'
requires:
@@ -28,5 +28,5 @@
bugtracker: https://github.com/davorg/calendar-simple/issues
license: http://dev.perl.org/licenses/
repository: https://github.com/davorg/calendar-simple.git
-version: v2.0.2
+version: v2.0.3
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Calendar-Simple-v2.0.2/bin/pcal
new/Calendar-Simple-v2.0.3/bin/pcal
--- old/Calendar-Simple-v2.0.2/bin/pcal 2023-07-27 13:19:34.000000000 +0200
+++ new/Calendar-Simple-v2.0.3/bin/pcal 2023-08-01 10:07:03.000000000 +0200
@@ -9,14 +9,18 @@
my $mon = shift || (localtime)[4] + 1;
my $yr = shift || (localtime)[5] + 1900;
+my $sd = shift;
+$sd = 1 unless defined $sd;
-my @month = calendar($mon, $yr);
-
+my @month = calendar($mon, $yr, $sd);
my $mon_name = $months[$mon - 1];
my $pad = int((20 - length("$mon_name $yr")) / 2);
-
print "\n", ' ' x $pad, "$months[$mon - 1] $yr\n";
-print "Mo Tu We Th Fr Sa Su\n";
+
+my @days = qw(Su Mo Tu We Th Fr Sa);
+push @days, splice @days, 0, $sd;
+print "@days\n";
+
foreach (@month) {
print map { $_ ? sprintf "%2d ", $_ : ' ' } @$_;
print "\n";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Calendar-Simple-v2.0.2/lib/Calendar/Simple.pm
new/Calendar-Simple-v2.0.3/lib/Calendar/Simple.pm
--- old/Calendar-Simple-v2.0.2/lib/Calendar/Simple.pm 2023-07-27
13:19:34.000000000 +0200
+++ new/Calendar-Simple-v2.0.3/lib/Calendar/Simple.pm 2023-08-01
10:07:03.000000000 +0200
@@ -31,7 +31,7 @@
our @EXPORT = qw(calendar);
our @EXPORT_OK = qw(date_span);
-our $VERSION = '2.0.2';
+our $VERSION = '2.0.3';
use Time::Local;
use Carp;
@@ -232,11 +232,16 @@
my $mon = shift || (localtime)[4] + 1;
my $yr = shift || (localtime)[5] + 1900;
+ my $sd = shift;
+ $ds = 1 unless defined $sd;
- my @month = calendar($mon, $yr);
-
+ my @month = calendar($mon, $yr, $sd);
print "\n$months[$mon -1] $yr\n\n";
- print "Su Mo Tu We Th Fr Sa\n";
+
+ my @days = qw(Su Mo Tu We Th Fr Sa);
+ push @days, splice @days, 0, $sd;
+ print "@days\n";
+
foreach (@month) {
print map { $_ ? sprintf "%2d ", $_ : ' ' } @$_;
print "\n";