Hello community,
here is the log from the commit of package perl-Business-ISBN-Data for
openSUSE:Factory checked in at 2013-06-13 17:31:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Business-ISBN-Data (Old)
and /work/SRC/openSUSE:Factory/.perl-Business-ISBN-Data.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Business-ISBN-Data"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Business-ISBN-Data/perl-Business-ISBN-Data.changes
2011-09-23 12:36:02.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Business-ISBN-Data.new/perl-Business-ISBN-Data.changes
2013-06-13 17:31:21.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Jun 4 11:43:57 UTC 2013 - [email protected]
+
+- updated to 20120719.001
+ * Support data from RangeMessage.xml. You can use the latest
+ data from ISBN without updating this module.
+
+ Specify the Test::More version so I cna use subtest.
+ No code or feature changes
+
+-------------------------------------------------------------------
Old:
----
Business-ISBN-Data-20081208.tar.gz
New:
----
Business-ISBN-Data-20120719.001.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Business-ISBN-Data.spec ++++++
--- /var/tmp/diff_new_pack.q6SGno/_old 2013-06-13 17:31:21.000000000 +0200
+++ /var/tmp/diff_new_pack.q6SGno/_new 2013-06-13 17:31:21.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package perl-Business-ISBN-Data (Version 20081208)
+# spec file for package perl-Business-ISBN-Data
#
-# Copyright (c) 2010 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,46 +15,48 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
-%bcond_with pod
Name: perl-Business-ISBN-Data
+Version: 20120719.001
+Release: 0
%define cpan_name Business-ISBN-Data
-Summary: Data pack for Business::ISBN
-Version: 20081208
-Release: 10
-License: GPL-1.0+ or Artistic-1.0
+Summary: data pack for Business::ISBN
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Business-ISBN-Data/
-Source:
http://www.cpan.org/modules/by-module/Business/Business-ISBN-Data-%{version}.tar.gz
+Source:
http://www.cpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Test::More)
-%if %{with pod}
-BuildRequires: perl(Test::Pod) >= 1.00
-BuildRequires: perl(Test::Pod::Coverage)
-%endif
+BuildRequires: perl(Test::More) >= 0.95
+#BuildRequires: perl(LWP::Simple)
+Requires: perl(Test::More) >= 0.95
+%{perl_requires}
%description
-This data is current as of the date in the module version. At that time,
-the publisher codes 9990000-9999999 or 999000-999999 had not been fixed,
-although they had been proposed. I do not include them in the data. Some
-regions, including India (93), Gabon (99902), and Congo (99951) have
-country codes but no publisher codes. They still have entries even though
-you won't be able to validate any ISBNs assigned in those regions.
-
-Business::ISBN uses this "data pack" to do its work. You can update
-Business::ISBN::Data independently of the main module as the various
-ISBN organizations assign new publisher codes. The ISBN agency lists
-these data at http://www.isbn-international.org/converter/ranges.htm .
-
-Authors:
---------
- brian d foy <[email protected]>
+You don't need to load this module yourself in most cases. 'Business::ISBN'
+will load it when it loads.
+
+These data are generated from the _RangeMessage.xml_ file provided by the
+ISBN Agency. You can retrieve this yourself at the
+http://www.isbn-international.org/agency?rmxml=1 manpage. This file is
+included as part of the distribution and should be installed at
+_~lib/Business/ISBN/RangeMessage.xml_.
+
+If you want to use a different _RangeMessage.xml_ file, you can set the
+'ISBN_RANGE_MESSAGE' environment variable to the alternate location before
+you load 'Business::ISBN'. This way, you can use the latest (or even
+earlier) data without having to install something new or wait for an update
+to this module.
+
+If the default _RangeMessage.xml_ or your alternate one is not available,
+the module falls back to data included in _Data.pm_. However, that data is
+likely to be older data.
+
+The data are in '%Business::ISBN::country_data' (although the "country"
+part is historical). If you want to see where the data are from, check
+'$Business::ISBN::country_data{_source}'.
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -68,18 +70,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
-%defattr(-,root,root,-)
-%doc Changes LICENSE README
+%defattr(-,root,root,755)
+%doc Changes examples LICENSE README
%changelog
++++++ Business-ISBN-Data-20081208.tar.gz ->
Business-ISBN-Data-20120719.001.tar.gz ++++++
++++ 6259 lines of diff (skipped)
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]