commit perl-Sort-Naturally for openSUSE:Factory

2013-06-21 Thread h_root
Hello community,

here is the log from the commit of package perl-Sort-Naturally for 
openSUSE:Factory checked in at 2013-06-21 13:32:40

Comparing /work/SRC/openSUSE:Factory/perl-Sort-Naturally (Old)
 and  /work/SRC/openSUSE:Factory/.perl-Sort-Naturally.new (New)


Package is perl-Sort-Naturally

Changes:

--- /work/SRC/openSUSE:Factory/perl-Sort-Naturally/perl-Sort-Naturally.changes  
2011-09-23 12:38:44.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Sort-Naturally.new/perl-Sort-Naturally.changes 
2013-06-21 13:37:17.0 +0200
@@ -1,0 +2,6 @@
+Tue Jun  4 18:20:57 UTC 2013 - co...@suse.com
+
+- updated to 1.03
+ * release 1.03 -- modernise the distribution
+
+---

Old:

  Sort-Naturally-1.02.tar.gz

New:

  Sort-Naturally-1.03.tar.gz



Other differences:
--
++ perl-Sort-Naturally.spec ++
--- /var/tmp/diff_new_pack.KnWIEt/_old  2013-06-21 13:37:17.0 +0200
+++ /var/tmp/diff_new_pack.KnWIEt/_new  2013-06-21 13:37:17.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Sort-Naturally
 #
-# 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
@@ -15,33 +15,77 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   perl-Sort-Naturally
+Version:1.03
+Release:0
 %define cpan_name Sort-Naturally
-Summary:Sort lexically, but sort numeral parts numerically
-Version:1.02
-Release:1
-License:GPL-1.0+ or Artistic-1.0
+Summary:sort lexically, but sort numeral parts numerically
+License:Artistic-1.0 or GPL-1.0+
 Group:  Development/Libraries/Perl
 Url:http://search.cpan.org/dist/Sort-Naturally/
-Source: 
http://www.cpan.org/modules/by-module/Sort/Sort-Naturally-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
+Source: 
http://www.cpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
 BuildArch:  noarch
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
+#BuildRequires: perl(Sort::Naturally)
+%{perl_requires}
 
 %description
-This module exports two functions, nsort and ncmp; they are used in
+This module exports two functions, 'nsort' and 'ncmp'; they are used in
 implementing my idea of a natural sorting algorithm. Under natural
-sorting, numeric substrings are compared numerically, and other word-
-characters are compared lexically.
+sorting, numeric substrings are compared numerically, and other
+word-characters are compared lexically.
+
+This is the way I define natural sorting:
+
+* *
+
+  Non-numeric word-character substrings are sorted lexically,
+  case-insensitively: Foo comes between fish and fowl.
+
+* *
+
+  Numeric substrings are sorted numerically: 100 comes after 20, not
+  before.
+
+* *
 
-Authors:
-
-Sean M. Burke sbu...@cpan.or
+  \W substrings (neither words-characters nor digits) are _ignored_.
+
+* *
+
+  Our use of \w, \d, \D, and \W is locale-sensitive: Sort::Naturally uses a
+  'use locale' statement.
+
+* *
+
+  When comparing two strings, where a numeric substring in one place is
+  _not_ up against a numeric substring in another, the non-numeric always
+  comes first. This is fudged by reading pretending that the lack of a
+  number substring has the value -1, like so:
+
+foo   =  foo,  -1
+foobar=  foo,  -1,  bar
+foo13 =  foo,  13,
+foo13xyz  =  foo,  13,  xyz
+
+  That's so that foo will come before foo13, which will come before
+  foobar.
+
+* *
+
+  The start of a string is exceptional: leading non-\W (non-word,
+  non-digit) components are are ignored, and numbers come _before_ letters.
+
+* *
+
+  I define numeric substring just as sequences matching m/\d+/ --
+  scientific notation, commas, decimals, etc., are not seen. If your data
+  has thousands separators in numbers (20,000 Leagues Under The Sea or
+  20.000 lieues sous les mers), consider stripping them before feeding
+  them to 'nsort' or 'ncmp'.
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
@@ -55,18 +99,11 @@
 
 %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
-
 %files -f %{name}.files

commit perl-Sort-Naturally for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package perl-Sort-Naturally for 
openSUSE:Factory checked in at 2011-12-06 18:47:11

Comparing /work/SRC/openSUSE:Factory/perl-Sort-Naturally (Old)
 and  /work/SRC/openSUSE:Factory/.perl-Sort-Naturally.new (New)


Package is perl-Sort-Naturally, Maintainer is 

Changes:




Other differences:
--
++ perl-Sort-Naturally.spec ++
--- /var/tmp/diff_new_pack.dpD4dP/_old  2011-12-06 19:18:36.0 +0100
+++ /var/tmp/diff_new_pack.dpD4dP/_new  2011-12-06 19:18:36.0 +0100
@@ -23,7 +23,7 @@
 Summary:Sort lexically, but sort numeral parts numerically
 Version:1.02
 Release:1
-License:GPL+ or Artistic
+License:GPL-1.0+ or Artistic-1.0
 Group:  Development/Libraries/Perl
 Url:http://search.cpan.org/dist/Sort-Naturally/
 Source: 
http://www.cpan.org/modules/by-module/Sort/Sort-Naturally-%{version}.tar.gz

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