commit perl-common-sense for openSUSE:Factory
Hello community, here is the log from the commit of package perl-common-sense for openSUSE:Factory checked in at 2020-04-07 10:32:02 Comparing /work/SRC/openSUSE:Factory/perl-common-sense (Old) and /work/SRC/openSUSE:Factory/.perl-common-sense.new.3248 (New) Package is "perl-common-sense" Tue Apr 7 10:32:02 2020 rev:23 rq:791865 version:3.75 Changes: --- /work/SRC/openSUSE:Factory/perl-common-sense/perl-common-sense.changes 2015-07-05 18:02:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-common-sense.new.3248/perl-common-sense.changes 2020-04-07 10:32:49.866616605 +0200 @@ -1,0 +2,15 @@ +Fri Apr 3 03:10:19 UTC 2020 - + +- updated to 3.75 + see /usr/share/doc/packages/perl-common-sense/Changes + + 3.75 Thu Apr 2 09:53:01 CEST 2020 + - make build (more) reproducible. + - removed "portable" from the warnngs list, as 32 bit perls (as +opposed to 32 bit platforms) are practically extinct and it +warns about a weird subset of operations, i.e. 64 bit hex() is +not ok, 64 bit addition is fine, makes no sense. Moreso, other +than hex/oct etc. harassment, there is nothing in this category +that could be otherwise useful. + +--- Old: common-sense-3.74.tar.gz New: common-sense-3.75.tar.gz Other differences: -- ++ perl-common-sense.spec ++ --- /var/tmp/diff_new_pack.cArJfP/_old 2020-04-07 10:32:50.314617189 +0200 +++ /var/tmp/diff_new_pack.cArJfP/_new 2020-04-07 10:32:50.318617195 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-common-sense # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 @@ -12,20 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-common-sense -Version:3.74 +Version:3.75 Release:0 -#Upstream: CHECK(GPL-1.0+ or Artistic-1.0) +#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) %define cpan_name common-sense -Summary:Save a Tree and a Kitten, Use Common::Sense! -License:GPL-1.0+ or Artistic-1.0 +Summary:Save a tree AND a kitten, use common::sense! +License:GPL-1.0-or-later OR Artistic-1.0 Group: Development/Libraries/Perl -Url:http://search.cpan.org/dist/common-sense/ -Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Url:https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz Source1:cpanspec.yml # MANUAL #BuildArch: noarch @@ -58,16 +58,16 @@ * _uninitialised_ - 'undef' is a well-defined feature of perl, and enabling warnings for - using it rarely catches any bugs, but considerably limits you in what you - can do, so uninitialised warnings are disabled. +'undef' is a well-defined feature of perl, and enabling warnings for using +it rarely catches any bugs, but considerably limits you in what you can do, +so uninitialised warnings are disabled. * _malloc_ - Freeing something twice on the C level is a serious bug, usually causing - memory corruption. It often leads to side effects much later in the - program and there are no advantages to not reporting this, so malloc - warnings are fatal by default. +Freeing something twice on the C level is a serious bug, usually causing +memory corruption. It often leads to side effects much later in the program +and there are no advantages to not reporting this, so malloc warnings are +fatal by default. Unfortunately, there is no fine-grained warning control in perl, so often whole groups of useful warnings had to be excluded because of a single @@ -81,14 +81,14 @@ %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -97,6 +97,7 @@ %files -f %{name}.files %defattr(-,root,root,755)
commit perl-common-sense for openSUSE:Factory
Hello community, here is the log from the commit of package perl-common-sense for openSUSE:Factory checked in at 2015-07-05 18:02:37 Comparing /work/SRC/openSUSE:Factory/perl-common-sense (Old) and /work/SRC/openSUSE:Factory/.perl-common-sense.new (New) Package is perl-common-sense Changes: --- /work/SRC/openSUSE:Factory/perl-common-sense/perl-common-sense.changes 2015-04-16 14:13:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-common-sense.new/perl-common-sense.changes 2015-07-05 18:02:38.0 +0200 @@ -1,0 +2,9 @@ +Thu Jul 2 09:34:30 UTC 2015 - co...@suse.com + +- updated to 3.74 + see /usr/share/doc/packages/perl-common-sense/Changes + + 3.74 Mon Jun 29 14:39:26 CEST 2015 + - the generated README file was empty. + +--- Old: common-sense-3.73.tar.gz New: common-sense-3.74.tar.gz Other differences: -- ++ perl-common-sense.spec ++ --- /var/tmp/diff_new_pack.1LPGBO/_old 2015-07-05 18:02:39.0 +0200 +++ /var/tmp/diff_new_pack.1LPGBO/_new 2015-07-05 18:02:39.0 +0200 @@ -17,7 +17,7 @@ Name: perl-common-sense -Version:3.73 +Version:3.74 Release:0 #Upstream: CHECK(GPL-1.0+ or Artistic-1.0) %define cpan_name common-sense ++ common-sense-3.73.tar.gz - common-sense-3.74.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.73/Changes new/common-sense-3.74/Changes --- old/common-sense-3.73/Changes 2014-05-31 22:37:24.0 +0200 +++ new/common-sense-3.74/Changes 2015-06-29 14:39:31.0 +0200 @@ -1,5 +1,8 @@ Revision history for perl pragma common::sense. +3.74 Mon Jun 29 14:39:26 CEST 2015 + - the generated README file was empty. + 3.73 Sat May 31 22:37:21 CEST 2014 - remove deprecated, as it turned out to be yet another time bomb as p5p don't care the least about backwards compatibility diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.73/META.json new/common-sense-3.74/META.json --- old/common-sense-3.73/META.json 2014-05-31 22:38:40.0 +0200 +++ new/common-sense-3.74/META.json 2015-06-29 14:40:14.0 +0200 @@ -4,7 +4,7 @@ unknown ], dynamic_config : 1, - generated_by : ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter version 2.133380, + generated_by : ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001, license : [ unknown ], @@ -35,5 +35,5 @@ } }, release_status : stable, - version : 3.73 + version : 3.74 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.73/META.yml new/common-sense-3.74/META.yml --- old/common-sense-3.73/META.yml 2014-05-31 22:38:40.0 +0200 +++ new/common-sense-3.74/META.yml 2015-06-29 14:40:14.0 +0200 @@ -3,19 +3,19 @@ author: - unknown build_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' configure_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter version 2.133380' +generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: common-sense no_index: directory: - t - inc requires: {} -version: 3.73 +version: 3.74 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.73/Makefile.PL new/common-sense-3.74/Makefile.PL --- old/common-sense-3.73/Makefile.PL 2013-08-01 04:00:12.0 +0200 +++ new/common-sense-3.74/Makefile.PL 2015-06-29 14:39:14.0 +0200 @@ -2,7 +2,7 @@ WriteMakefile( dist = { - PREOP = 'pod2text sense.pm | tee README $(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', + PREOP = 'pod2text sense.pod | tee README $(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', COMPRESS= 'gzip -9v', SUFFIX = '.gz', }, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.73/README new/common-sense-3.74/README --- old/common-sense-3.73/README2014-05-31 22:38:40.0 +0200 +++ new/common-sense-3.74/README2015-06-29 14:40:14.0 +0200 @@ -0,0 +1,411 @@ +NAME +common::sense - save a tree AND a kitten, use common::sense! +
commit perl-common-sense for openSUSE:Factory
Hello community, here is the log from the commit of package perl-common-sense for openSUSE:Factory checked in at 2015-04-16 14:13:22 Comparing /work/SRC/openSUSE:Factory/perl-common-sense (Old) and /work/SRC/openSUSE:Factory/.perl-common-sense.new (New) Package is perl-common-sense Changes: --- /work/SRC/openSUSE:Factory/perl-common-sense/perl-common-sense.changes 2013-08-13 10:18:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-common-sense.new/perl-common-sense.changes 2015-04-16 14:13:29.0 +0200 @@ -1,0 +2,13 @@ +Tue Apr 14 19:19:52 UTC 2015 - co...@suse.com + +- updated to 3.73 + see /usr/share/doc/packages/perl-common-sense/Changes + + 3.73 Sat May 31 22:37:21 CEST 2014 + - remove deprecated, as it turned out to be yet another time bomb +as p5p don't care the least about backwards compatibility +anymore (https://rt.perl.org/Public/Bug/Display.html?id=119123). + - switching paths once more as this turned out to be a doc bug +in eumm. this should not affect anything though. + +--- Old: common-sense-3.72.tar.gz New: common-sense-3.73.tar.gz cpanspec.yml Other differences: -- ++ perl-common-sense.spec ++ --- /var/tmp/diff_new_pack.pxzFim/_old 2015-04-16 14:13:30.0 +0200 +++ /var/tmp/diff_new_pack.pxzFim/_new 2015-04-16 14:13:30.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-common-sense # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,19 +17,21 @@ Name: perl-common-sense -Version:3.72 +Version:3.73 Release:0 +#Upstream: CHECK(GPL-1.0+ or Artistic-1.0) %define cpan_name common-sense -Summary:Save a tree AND a kitten, use common::sense! +Summary:Save a Tree and a Kitten, Use Common::Sense! License:GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/common-sense/ -Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Source1:cpanspec.yml +# MANUAL +#BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -#BuildRequires: perl(common::sense) -#BuildRequires: perl(feature) %{perl_requires} %description @@ -82,7 +84,7 @@ find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE=%{optflags} %{__make} %{?_smp_mflags} %check ++ common-sense-3.72.tar.gz - common-sense-3.73.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.72/Changes new/common-sense-3.73/Changes --- old/common-sense-3.72/Changes 2013-07-31 19:44:23.0 +0200 +++ new/common-sense-3.73/Changes 2014-05-31 22:37:24.0 +0200 @@ -1,5 +1,12 @@ Revision history for perl pragma common::sense. +3.73 Sat May 31 22:37:21 CEST 2014 + - remove deprecated, as it turned out to be yet another time bomb + as p5p don't care the least about backwards compatibility + anymore (https://rt.perl.org/Public/Bug/Display.html?id=119123). + - switching paths once more as this turned out to be a doc bug + in eumm. this should not affect anything though. + 3.72 Wed Jul 31 19:44:18 CEST 2013 - install paths were wrong for current MakeMaker (reported by various people). @@ -61,7 +68,7 @@ stuff, it also makes implementing security stuff almost impossible, as it completely mangles perls internal utf8 encoding with actual utf-8 encoding, and confuses unicode, string codepoints and - utf-8 so much that it becoems practically unusable. + utf-8 so much that it becomes practically unusable. 2.03 Wed Dec 2 18:38:53 CET 2009 - removed unopened warning category, as this breaks stat _, which diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.72/META.json new/common-sense-3.73/META.json --- old/common-sense-3.72/META.json 2013-07-31 19:44:42.0 +0200 +++ new/common-sense-3.73/META.json 2014-05-31 22:38:40.0 +0200 @@ -4,7 +4,7 @@ unknown ], dynamic_config : 1, -
commit perl-common-sense for openSUSE:Factory
Hello community, here is the log from the commit of package perl-common-sense for openSUSE:Factory checked in at 2013-06-21 13:31:08 Comparing /work/SRC/openSUSE:Factory/perl-common-sense (Old) and /work/SRC/openSUSE:Factory/.perl-common-sense.new (New) Package is perl-common-sense Changes: --- /work/SRC/openSUSE:Factory/perl-common-sense/perl-common-sense.changes 2012-06-01 07:22:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-common-sense.new/perl-common-sense.changes 2013-06-21 13:31:58.0 +0200 @@ -1,0 +2,9 @@ +Sat Jun 15 06:18:25 UTC 2013 - co...@suse.com + +- updated to 3.6 + - work around more 5.16 breakage - $^H doesn't work as nicely as +p5p make you to believe. + - add features: unicode_strings current_sub fc evalbytes. + - disable features: array_base. + +--- Old: common-sense-3.5.tar.gz New: common-sense-3.6.tar.gz Other differences: -- ++ perl-common-sense.spec ++ --- /var/tmp/diff_new_pack.wtyKio/_old 2013-06-21 13:31:59.0 +0200 +++ /var/tmp/diff_new_pack.wtyKio/_new 2013-06-21 13:31:59.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-common-sense # -# Copyright (c) 2012 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 @@ -17,7 +17,7 @@ Name: perl-common-sense -Version:3.5 +Version:3.6 Release:0 %define cpan_name common-sense Summary:Save a tree AND a kitten (sane defaults for Perl programs) @@ -30,6 +30,7 @@ BuildRequires: perl BuildRequires: perl-macros #BuildRequires: perl(common::sense) +#BuildRequires: perl(feature) %{perl_requires} %description @@ -46,7 +47,6 @@ possible, while at the same time, not limiting the expressive power available to the programmer. - %prep %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 ++ common-sense-3.5.tar.gz - common-sense-3.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.5/Changes new/common-sense-3.6/Changes --- old/common-sense-3.5/Changes2012-03-24 13:45:57.0 +0100 +++ new/common-sense-3.6/Changes2012-06-17 14:24:57.0 +0200 @@ -1,5 +1,13 @@ Revision history for perl pragma common::sense. +TODO: make it arch-specific? + +3.6 Sun Jun 17 14:24:53 CEST 2012 + - work around more 5.16 breakage - $^H doesn't work as nicely as + p5p make you to believe. +- add features: unicode_strings current_sub fc evalbytes. +- disable features: array_base. + 3.5 Wed Mar 7 20:50:48 CET 2012 - localise $^W, as this causes warnings with 5.16 when some lost soul uses -w. common::sense doesn't support $^W, but tries to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.5/META.json new/common-sense-3.6/META.json --- old/common-sense-3.5/META.json 2012-03-24 13:46:00.0 +0100 +++ new/common-sense-3.6/META.json 2012-06-17 14:25:49.0 +0200 @@ -35,5 +35,5 @@ } }, release_status : stable, - version : 3.5 + version : 3.6 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.5/META.yml new/common-sense-3.6/META.yml --- old/common-sense-3.5/META.yml 2012-03-24 13:46:00.0 +0100 +++ new/common-sense-3.6/META.yml 2012-06-17 14:25:49.0 +0200 @@ -18,4 +18,4 @@ - t - inc requires: {} -version: 3.5 +version: 3.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.5/README new/common-sense-3.6/README --- old/common-sense-3.5/README 2012-03-24 13:46:00.0 +0100 +++ new/common-sense-3.6/README 2012-06-17 14:25:49.0 +0200 @@ -2,19 +2,21 @@ common::sense - save a tree AND a kitten, use common::sense! SYNOPSIS - use common::sense; + use common::sense; - # supposed to be the same, with much lower memory usage, as: - # - # use utf8; - # use strict qw(vars subs); - # use feature qw(say state switch); - # no warnings; - # use warnings qw(FATAL closed threads internal debugging pack - # portable prototype inplace io pipe unpack malloc - # deprecated glob digit printf layer - # reserved taint closure semicolon); - # no warnings qw(exec
commit perl-common-sense for openSUSE:Factory
Hello community, here is the log from the commit of package perl-common-sense for openSUSE:Factory checked in at 2012-06-01 07:22:24 Comparing /work/SRC/openSUSE:Factory/perl-common-sense (Old) and /work/SRC/openSUSE:Factory/.perl-common-sense.new (New) Package is perl-common-sense, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/perl-common-sense/perl-common-sense.changes 2011-09-23 12:39:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-common-sense.new/perl-common-sense.changes 2012-06-01 07:22:35.0 +0200 @@ -1,0 +2,10 @@ +Wed May 23 13:00:12 UTC 2012 - co...@suse.com + +- updated to 3.5 +- localise $^W, as this causes warnings with 5.16 when some lost + soul uses -w. common::sense doesn't support $^W, but tries to + shield module authors and programs from its ill effects. If you + enable $^W, then you normally get to keep the pieces because you + change semantics of other people's code. + +--- Old: common-sense-3.4.tar.gz New: common-sense-3.5.tar.gz Other differences: -- ++ perl-common-sense.spec ++ --- /var/tmp/diff_new_pack.1Y605E/_old 2012-06-01 07:22:36.0 +0200 +++ /var/tmp/diff_new_pack.1Y605E/_new 2012-06-01 07:22:36.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-common-sense # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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,21 +16,20 @@ # - Name: perl-common-sense -Version:3.4 -Release:1 -License:GPL-1.0+ or Artistic-1.0 +Version:3.5 +Release:0 %define cpan_name common-sense Summary:Save a tree AND a kitten (sane defaults for Perl programs) +License:GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url:http://search.cpan.org/dist/common-sense/ -#Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.4.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +#BuildRequires: perl(common::sense) %{perl_requires} %description @@ -47,32 +46,10 @@ possible, while at the same time, not limiting the expressive power available to the programmer. -Two typical examples of how this philosophy is applied in practise is -the handling of uninitialised and malloc warnings: - -*uninitialised* -undef is a well-defined feature of perl, and enabling warnings for -using it rarely catches any bugs, but considerably limits you in -what you can do, so uninitialised warnings are disabled. - -*malloc* -Freeing something twice on the C level is a serious bug, usually -causing memory corruption. It often leads to side effects much later -in the program and there are no advantages to not reporting this, so -malloc warnings are fatal by default. - -Unfortunately, there is no fine-grained warning control in perl, so -often whole groups of useful warnings had to be excluded because of a -single useless warning (for example, perl puts an arbitrary limit on the -length of text you can match with some regexes before emitting a -warning, making the whole regexp category useless). - -What follows is a more thorough discussion of what this module does, and -why it does it, and what the advantages (and disadvantages) of this -approach are. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -86,11 +63,8 @@ %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) +%defattr(-,root,root,755) %doc Changes LICENSE README %changelog ++ common-sense-3.4.tar.gz - common-sense-3.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.4/Changes new/common-sense-3.5/Changes --- old/common-sense-3.4/Changes2011-01-14 07:46:21.0 +0100 +++ new/common-sense-3.5/Changes2012-03-24 13:45:57.0 +0100 @@ -1,5 +1,12 @@ Revision history for perl pragma common::sense. +3.5 Wed Mar 7 20:50:48 CET 2012 +- localise $^W, as this causes warnings with 5.16 when some lost + soul uses -w. common::sense doesn't support $^W,
commit perl-common-sense for openSUSE:Factory
Hello community, here is the log from the commit of package perl-common-sense for openSUSE:Factory checked in at Wed Mar 16 10:46:12 CET 2011. --- perl-common-sense/perl-common-sense.changes 2010-11-30 20:24:36.0 +0100 +++ /mounts/work_src_done/STABLE/perl-common-sense/perl-common-sense.changes 2011-03-04 19:26:35.0 +0100 @@ -1,0 +2,12 @@ +Fri Mar 4 18:25:31 UTC 2011 - ch...@computersalat.de + +- update to 3.4 + - remove regexp category. this is rather painful as it's a large +class, but unfortunately, somebody thought emitting a warning when +you match more than 32kb of text is in some way useful, which +spoils the whole category. + - use META.json instead of META.yml - apparently YAML parsers don't +actually exist. +- recreated by cpanspec 1.78.03 + +--- calling whatdependson for head-i586 Old: common-sense-3.3.tar.gz New: common-sense-3.4.tar.gz Other differences: -- ++ perl-common-sense.spec ++ --- /var/tmp/diff_new_pack.1wurt8/_old 2011-03-16 10:44:57.0 +0100 +++ /var/tmp/diff_new_pack.1wurt8/_new 2011-03-16 10:44:57.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package perl-common-sense (Version 3.3) +# spec file for package perl-common-sense # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -15,60 +15,82 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: perl-common-sense +Version:3.4 +Release:1 +License:GPL+ or Artistic %define cpan_name common-sense Summary:Save a tree AND a kitten (sane defaults for Perl programs) -Version:3.3 -Release:2 -License:Artistic Group: Development/Libraries/Perl -Url:http://search.cpan.org/dist/common-sense -Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Url:http://search.cpan.org/dist/common-sense/ +#Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.4.tar.gz +Source: %{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +%{perl_requires} %description This module implements some sane defaults for Perl programs, as defined by two typical (or not so typical - use your common sense) specimens of -Perl coders. - -The basic philosophy behind the choices made in common::sense can be summarised -as: enforcing strict policies to catch as many bugs as possible, while at the -same time, not limiting the expressive power available to the programmer. - - Authors: Marc Lehmann schm...@schmorp.de - Robin Redeker, elmex at ta-sa.org +Perl coders. In fact, after working out details on which warnings and +strict modes to enable and make fatal, we found that we (and our code +written so far, and others) fully agree on every option, even though we +never used warnings before, so it seems this module indeed reflects a +common sense among some long-time Perl coders. + +The basic philosophy behind the choices made in common::sense can be +summarised as: enforcing strict policies to catch as many bugs as +possible, while at the same time, not limiting the expressive power +available to the programmer. + +Two typical examples of how this philosophy is applied in practise is +the handling of uninitialised and malloc warnings: + +*uninitialised* +undef is a well-defined feature of perl, and enabling warnings for +using it rarely catches any bugs, but considerably limits you in +what you can do, so uninitialised warnings are disabled. + +*malloc* +Freeing something twice on the C level is a serious bug, usually +causing memory corruption. It often leads to side effects much later +in the program and there are no advantages to not reporting this, so +malloc warnings are fatal by default. + +Unfortunately, there is no fine-grained warning control in perl, so +often whole groups of useful warnings had to be excluded because of a +single useless warning (for example, perl puts an arbitrary limit on the +length of text you can match with some regexes before emitting a +warning, making the whole regexp category useless). + +What follows is a more thorough discussion of what this module does, and +why it does it, and what the advantages (and disadvantages) of this +approach are. %prep %setup -q -n %{cpan_name}-%{version} %build -CFLAGS=$RPM_OPT_FLAGS perl Makefile.PL -%{__make} +%{__perl}