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.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-common-sense.new/perl-common-sense.changes 2012-06-01 07:22:35.000000000 +0200 @@ -1,0 +2,10 @@ +Wed May 23 13:00:12 UTC 2012 - coolo@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.000000000 +0200 +++ /var/tmp/diff_new_pack.1Y605E/_new 2012-06-01 07:22:36.000000000 +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/Changes 2011-01-14 07:46:21.000000000 +0100 +++ new/common-sense-3.5/Changes 2012-03-24 13:45:57.000000000 +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, 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. + 3.4 Fri Jan 14 07:17:16 CET 2011 - remove "regexp" category. this is rather painful as it's a large class, but unfortunately, somebody thought emitting a warning when you diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.4/MANIFEST new/common-sense-3.5/MANIFEST --- old/common-sense-3.4/MANIFEST 2011-01-14 07:46:22.000000000 +0100 +++ new/common-sense-3.5/MANIFEST 2012-03-24 13:46:00.000000000 +0100 @@ -5,4 +5,5 @@ Makefile.PL sense.pm.PL t/00_load.t -META.json Module meta-data (added by MakeMaker) +META.yml Module YAML meta-data (added by MakeMaker) +META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.4/META.json new/common-sense-3.5/META.json --- old/common-sense-3.4/META.json 2011-01-14 07:46:22.000000000 +0100 +++ new/common-sense-3.5/META.json 2012-03-24 13:46:00.000000000 +0100 @@ -1,26 +1,39 @@ { + "abstract" : "unknown", + "author" : [ + "unknown" + ], + "dynamic_config" : 1, + "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112150", + "license" : [ + "unknown" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "common-sense", "no_index" : { "directory" : [ "t", "inc" ] }, - "meta-spec" : { - "version" : 1.4, - "url" : "http://module-build.sourceforge.net/META-spec-v1.4.html" - }, - "generated_by" : "ExtUtils::MakeMaker::JSONMETA version 7.000", - "distribution_type" : "module", - "version" : "3.4", - "name" : "common-sense", - "author" : [], - "license" : "unknown", - "build_requires" : { - "ExtUtils::MakeMaker" : 0 + "prereqs" : { + "build" : { + "requires" : { + "ExtUtils::MakeMaker" : 0 + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : 0 + } + }, + "runtime" : { + "requires" : {} + } }, - "requires" : {}, - "abstract" : null, - "configure_requires" : { - "ExtUtils::MakeMaker" : 0 - } + "release_status" : "stable", + "version" : "3.5" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.4/META.yml new/common-sense-3.5/META.yml --- old/common-sense-3.4/META.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/common-sense-3.5/META.yml 2012-03-24 13:46:00.000000000 +0100 @@ -0,0 +1,21 @@ +--- +abstract: unknown +author: + - unknown +build_requires: + ExtUtils::MakeMaker: 0 +configure_requires: + ExtUtils::MakeMaker: 0 +dynamic_config: 1 +generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112150' +license: unknown +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: common-sense +no_index: + directory: + - t + - inc +requires: {} +version: 3.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.4/README new/common-sense-3.5/README --- old/common-sense-3.4/README 2011-01-14 07:46:22.000000000 +0100 +++ new/common-sense-3.5/README 2012-03-24 13:46:00.000000000 +0100 @@ -307,6 +307,13 @@ [...] How come no one ever quotes me. :(" + chip (not willing to explain his cryptic questions about links in + Changes files) + + "I'm willing to ask the question I've asked. I'm not willing to go + through the whole dance you apparently have choreographed. Either + answer the completely obvious question, or tell me to fuck off again." + FREQUENTLY ASKED QUESTIONS Or frequently-come-up confusions. @@ -382,10 +389,6 @@ is correctly parsed by CPAN, so if you have trouble with it, the problem is likely on your side. - Update: Since it turned out that most YAML parsers can't, in fact, - parse YAML at all(!), CPAN decided to go with a separate file called - META.json, which is what "common::sense" is now doing. - But! But! Yeah, we know. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/common-sense-3.4/sense.pm.PL new/common-sense-3.5/sense.pm.PL --- old/common-sense-3.4/sense.pm.PL 2011-01-14 07:16:50.000000000 +0100 +++ new/common-sense-3.5/sense.pm.PL 2012-03-08 19:46:02.000000000 +0100 @@ -271,11 +271,12 @@ package common::sense; -our $VERSION = '3.4'; +our $VERSION = '3.5'; # overload should be included sub import { + local $^W; # work around perl 5.16 spewing out warnings for next line IMPORT # use feature $^H{feature_switch} = @@ -394,6 +395,12 @@ [...] How come no one ever quotes me. :(" +chip (not willing to explain his cryptic questions about links in Changes files) + + "I'm willing to ask the question I've asked. I'm not willing to go + through the whole dance you apparently have choreographed. Either + answer the completely obvious question, or tell me to fuck off again." + =head1 FREQUENTLY ASKED QUESTIONS Or frequently-come-up confusions. -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org