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.000000000 
+0100
+++ /mounts/work_src_done/STABLE/perl-common-sense/perl-common-sense.changes    
2011-03-04 19:26:35.000000000 +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.000000000 +0100
+++ /var/tmp/diff_new_pack.1wurt8/_new  2011-03-16 10:44:57.000000000 +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} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
 
 %check
 %{__make} test
 
 %install
 %perl_make_install
-# do not perl_process_packlist (noarch)
-# remove .packlist file
-%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
-# remove perllocal.pod file
-%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
+%perl_process_packlist
 %perl_gen_filelist
 
 %clean 
-%{__rm} -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
 
 %files -f %{name}.files
-%defattr(-,root,root)
+%defattr(644,root,root,755)
 %doc Changes LICENSE README
 
 %changelog

++++++ common-sense-3.3.tar.gz -> common-sense-3.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/common-sense-3.3/Changes new/common-sense-3.4/Changes
--- old/common-sense-3.3/Changes        2010-07-02 22:41:14.000000000 +0200
+++ new/common-sense-3.4/Changes        2011-01-14 07:46:21.000000000 +0100
@@ -1,5 +1,13 @@
 Revision history for perl pragma common::sense.
 
+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
+          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.
+
 3.3  Fri Jul  2 22:40:14 CEST 2010
         - removed "exiting" category - this is too useful to create new
           control statements, and fails utterly with eval, as eval will
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/common-sense-3.3/MANIFEST 
new/common-sense-3.4/MANIFEST
--- old/common-sense-3.3/MANIFEST       2010-07-02 22:42:55.000000000 +0200
+++ new/common-sense-3.4/MANIFEST       2011-01-14 07:46:22.000000000 +0100
@@ -5,5 +5,4 @@
 Makefile.PL
 sense.pm.PL
 t/00_load.t
-META.yml                                 Module meta-data (added by MakeMaker)
 META.json                                Module meta-data (added by MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/common-sense-3.3/META.json 
new/common-sense-3.4/META.json
--- old/common-sense-3.3/META.json      2010-07-02 22:42:55.000000000 +0200
+++ new/common-sense-3.4/META.json      2011-01-14 07:46:22.000000000 +0100
@@ -1 +1,26 @@
-{"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
 version 
6.56","distribution_type":"module","version":"3.3","name":"common-sense","author":[],"license":"unknown","build_requires":{"ExtUtils::MakeMaker":0},"requires":{},"abstract":null,"configure_requires":{"ExtUtils::MakeMaker":0}}
+{
+   "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
+   },
+   "requires" : {},
+   "abstract" : null,
+   "configure_requires" : {
+      "ExtUtils::MakeMaker" : 0
+   }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/common-sense-3.3/META.yml 
new/common-sense-3.4/META.yml
--- old/common-sense-3.3/META.yml       2010-07-02 22:42:55.000000000 +0200
+++ new/common-sense-3.4/META.yml       1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-{
-   "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 version 6.56",
-   "distribution_type" : "module",
-   "version" : "3.3",
-   "name" : "common-sense",
-   "author" : [],
-   "license" : "unknown",
-   "build_requires" : {
-      "ExtUtils::MakeMaker" : 0
-   },
-   "requires" : {},
-   "abstract" : null,
-   "configure_requires" : {
-      "ExtUtils::MakeMaker" : 0
-   }
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/common-sense-3.3/README new/common-sense-3.4/README
--- old/common-sense-3.3/README 2010-07-02 22:42:55.000000000 +0200
+++ new/common-sense-3.4/README 2011-01-14 07:46:22.000000000 +0100
@@ -10,8 +10,8 @@
      # use strict qw(vars subs);
      # use feature qw(say state switch);
      # no warnings;
-     # use warnings qw(FATAL closed threads internal debugging pack malloc
-     #                 portable prototype inplace io pipe unpack regexp
+     # 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 newline unopened);
@@ -49,6 +49,12 @@
         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.
@@ -340,7 +346,7 @@
         languages who might be surprised about stuff such as "undef". On the
         other hand, this does not exclude the usefulness of this module for
         total newbies, due to its strictness in enforcing policy, while at
-        the same time not limiting the expresive power of perl.
+        the same time not limiting the expressive power of perl.
 
         This module is considerably *more* strict than the canonical "use
         strict; use warnings", as it makes all its warnings fatal in nature,
@@ -376,6 +382,10 @@
         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.3/sense.pm.PL 
new/common-sense-3.4/sense.pm.PL
--- old/common-sense-3.3/sense.pm.PL    2010-07-02 22:41:49.000000000 +0200
+++ new/common-sense-3.4/sense.pm.PL    2011-01-14 07:16:50.000000000 +0100
@@ -1,4 +1,4 @@
-#! perl
+#! perl-000
 
 open STDOUT, ">$ARGV[0]~"
    or die "$ARGV[0]~: $!";
@@ -16,7 +16,7 @@
 
 no warnings;
 use warnings qw(FATAL closed threads internal debugging pack malloc portable 
prototype
-                inplace io pipe unpack regexp deprecated glob digit printf
+                inplace io pipe unpack deprecated glob digit printf
                 layer reserved taint closure semicolon);
 no warnings qw(exec newline unopened);
 
@@ -56,8 +56,8 @@
  # use strict qw(vars subs);
  # use feature qw(say state switch);
  # no warnings;
- # use warnings qw(FATAL closed threads internal debugging pack malloc
- #                 portable prototype inplace io pipe unpack regexp
+ # 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 newline unopened);
@@ -103,6 +103,12 @@
 
 =back
 
+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 C<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.
@@ -265,7 +271,7 @@
 
 package common::sense;
 
-our $VERSION = '3.3';
+our $VERSION = '3.4';
 
 # overload should be included
 
@@ -434,7 +440,7 @@
 who might be surprised about stuff such as C<undef>. On the other hand,
 this does not exclude the usefulness of this module for total newbies, due
 to its strictness in enforcing policy, while at the same time not limiting
-the expresive power of perl.
+the expressive power of perl.
 
 This module is considerably I<more> strict than the canonical C<use
 strict; use warnings>, as it makes all its warnings fatal in nature, so


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to