commit perl-Time-Period for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Time-Period for openSUSE:Factory checked in at 2013-07-31 17:24:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Time-Period (Old) and /work/SRC/openSUSE:Factory/.perl-Time-Period.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Time-Period" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Time-Period/perl-Time-Period.changes 2011-11-21 12:49:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Time-Period.new/perl-Time-Period.changes 2013-07-31 17:24:46.000000000 +0200 @@ -1,0 +2,6 @@ +Sat Jul 27 11:58:36 UTC 2013 - coolo@suse.com + +- updated to 1.24 + - Minor doc update. + +------------------------------------------------------------------- Old: ---- Time-Period-1.23.tar.gz New: ---- Time-Period-1.24.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Time-Period.spec ++++++ --- /var/tmp/diff_new_pack.mN10Lw/_old 2013-07-31 17:24:47.000000000 +0200 +++ /var/tmp/diff_new_pack.mN10Lw/_new 2013-07-31 17:24:47.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Time-Period # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,35 +16,30 @@ # - Name: perl-Time-Period -Version: 1.23 -Release: 1 -License: GPL-1.0+ or Artistic-1.0 +Version: 1.24 +Release: 0 %define cpan_name Time-Period Summary: A Perl module to deal with time periods. +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Time-Period/ -#Source: http://www.cpan.org/authors/id/P/PB/PBOYD/%{cpan_name}-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/P/PB/PBOYD/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31 -BuildRequires: perl(Test::More) +#BuildRequires: perl(Time::Period) %{perl_requires} %description -Time-Period.pm is a Perl module that contains code for dealing with time -periods. Currently, there is only one function in this module. That -function is called inPeriod(). +The *inPeriod* function determines if a given time falls within a given +period. *inPeriod* returns *1* if the time does fall within the given +period, *0* if not, and *-1* if *inPeriod* detects a malformed time or +period. %prep %setup -q -n %{cpan_name}-%{version} -%if 0%{?sles_version} == 10 -%{__perl} -p -i -e 's|6.31|6.30|' Makefile.PL -%endif %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -58,9 +53,6 @@ %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) %doc LICENSE README ++++++ Time-Period-1.23.tar.gz -> Time-Period-1.24.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Period-1.23/LICENSE new/Time-Period-1.24/LICENSE --- old/Time-Period-1.23/LICENSE 2011-02-27 11:53:20.000000000 +0100 +++ new/Time-Period-1.24/LICENSE 2013-07-04 17:04:09.000000000 +0200 @@ -1,4 +1,4 @@ -This software is copyright (c) 2011 by Paul Boyd. +This software is copyright (c) 1997 by Patrick Ryan. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,21 +12,22 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2011 by Paul Boyd. +This software is Copyright (c) 1997 by Patrick Ryan. This is free software, licensed under: The GNU General Public License, Version 1, February 1989 - GNU GENERAL PUBLIC LICENSE - Version 1, February 1989 + GNU GENERAL PUBLIC LICENSE + Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble + Preamble The license agreements of most software companies try to keep users at the mercy of those companies. By contrast, our General Public @@ -67,7 +68,7 @@ The precise terms and conditions for copying, distribution and modification follow. - GNU GENERAL PUBLIC LICENSE + GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any program or other work which @@ -185,7 +186,7 @@ of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN @@ -207,9 +208,9 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS + END OF TERMS AND CONDITIONS - Appendix: How to Apply These Terms to Your New Programs + Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to humanity, the best way to achieve this is to make it @@ -235,8 +236,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA + Also add information on how to contact you by electronic and paper mail. @@ -270,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2011 by Paul Boyd. +This software is Copyright (c) 1997 by Patrick Ryan. This is free software, licensed under: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Period-1.23/META.yml new/Time-Period-1.24/META.yml --- old/Time-Period-1.23/META.yml 2011-02-27 11:53:20.000000000 +0100 +++ new/Time-Period-1.24/META.yml 2013-07-04 17:04:09.000000000 +0200 @@ -5,10 +5,12 @@ build_requires: POSIX: 0 Test::More: 0 + strict: 0 + warnings: 0 configure_requires: - ExtUtils::MakeMaker: 6.31 + ExtUtils::MakeMaker: 6.30 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400' +generated_by: 'Dist::Zilla version 4.300028, CPAN::Meta::Converter version 2.120921' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -17,4 +19,4 @@ requires: Exporter: 0 perl: 5.001 -version: 1.23 +version: 1.24 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Period-1.23/Makefile.PL new/Time-Period-1.24/Makefile.PL --- old/Time-Period-1.23/Makefile.PL 2011-02-27 11:53:20.000000000 +0100 +++ new/Time-Period-1.24/Makefile.PL 2013-07-04 17:04:09.000000000 +0200 @@ -2,32 +2,34 @@ use strict; use warnings; -BEGIN { require 5.001; } +use 5.001; -use ExtUtils::MakeMaker 6.31; +use ExtUtils::MakeMaker 6.30; my %WriteMakefileArgs = ( - 'ABSTRACT' => 'A Perl module to deal with time periods.', - 'AUTHOR' => 'Patrick Ryan, Paul Boyd <pboyd@dev3l.net>', - 'BUILD_REQUIRES' => { - 'POSIX' => '0', - 'Test::More' => '0' + "ABSTRACT" => "A Perl module to deal with time periods.", + "AUTHOR" => "Patrick Ryan, Paul Boyd <pboyd\@dev3l.net>", + "BUILD_REQUIRES" => { + "POSIX" => 0, + "Test::More" => 0, + "strict" => 0, + "warnings" => 0 }, - 'CONFIGURE_REQUIRES' => { - 'ExtUtils::MakeMaker' => '6.31' + "CONFIGURE_REQUIRES" => { + "ExtUtils::MakeMaker" => "6.30" }, - 'DISTNAME' => 'Time-Period', - 'EXE_FILES' => [], - 'LICENSE' => 'perl', - 'NAME' => 'Time::Period', - 'PREREQ_PM' => { - 'Exporter' => '0' + "DISTNAME" => "Time-Period", + "EXE_FILES" => [], + "LICENSE" => "perl", + "NAME" => "Time::Period", + "PREREQ_PM" => { + "Exporter" => 0 }, - 'VERSION' => '1.23', - 'test' => { - 'TESTS' => 't/*.t' + "VERSION" => "1.24", + "test" => { + "TESTS" => "t/*.t" } ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Period-1.23/dist.ini new/Time-Period-1.24/dist.ini --- old/Time-Period-1.23/dist.ini 2011-02-27 11:53:19.000000000 +0100 +++ new/Time-Period-1.24/dist.ini 2013-07-04 17:04:09.000000000 +0200 @@ -2,7 +2,10 @@ author = Patrick Ryan, Paul Boyd <pboyd@dev3l.net> license = Perl_5 -version = 1.23 +copyright_holder = Patrick Ryan +copyright_year = 1997 + +version = 1.24 [GatherDir] [PruneCruft] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Time-Period-1.23/lib/Time/Period.pm new/Time-Period-1.24/lib/Time/Period.pm --- old/Time-Period-1.23/lib/Time/Period.pm 2011-02-27 11:53:20.000000000 +0100 +++ new/Time-Period-1.24/lib/Time/Period.pm 2013-07-04 17:04:09.000000000 +0200 @@ -61,9 +61,9 @@ v-v -For the range specification v-v, if the second value is larger than -the first value, the range wraps around unless the scale specification -is year. +For the range specification v-v, if the first value is larger than the second +value (e.g. "min {20-10}"), the range wraps around unless the scale +specification is year. Year does not wrap because the year is never really reset, it just increments. Ignoring that fact has lead to the dreaded year 2000 @@ -160,10 +160,14 @@ =head1 VERSION -1.23 +1.24 =head1 HISTORY + Version 1.24 + ------------ + - Minor doc update. + Version 1.23 ------------ - Bug fixes: @@ -222,7 +226,7 @@ @ISA = qw(Exporter); @EXPORT = qw(inPeriod); -$VERSION = "1.23"; +$VERSION = "1.24"; sub inPeriod { -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de