Hello community,
here is the log from the commit of package perl-Business-ISBN-Data for
openSUSE:Factory checked in at 2015-12-20 10:52:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
2015-02-24 12:59:04.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Business-ISBN-Data.new/perl-Business-ISBN-Data.changes
2015-12-20 10:52:37.000000000 +0100
@@ -1,0 +2,9 @@
+Thu Dec 17 09:40:25 UTC 2015 - [email protected]
+
+- updated to 20140910.003
+ see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes
+
+ Revision history for Perl module
+- Drop fix-provides.diff (included upstream)
+
+-------------------------------------------------------------------
Old:
----
Business-ISBN-Data-20140910.002.tar.gz
fix-provides.diff
New:
----
Business-ISBN-Data-20140910.003.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Business-ISBN-Data.spec ++++++
--- /var/tmp/diff_new_pack.QnagKO/_old 2015-12-20 10:52:38.000000000 +0100
+++ /var/tmp/diff_new_pack.QnagKO/_new 2015-12-20 10:52:38.000000000 +0100
@@ -17,15 +17,15 @@
Name: perl-Business-ISBN-Data
-Version: 20140910.002
+Version: 20140910.003
Release: 0
%define cpan_name Business-ISBN-Data
-Summary: data pack for Business::ISBN
+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/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
-Patch0: fix-provides.diff
+Source0:
http://www.cpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -38,9 +38,9 @@
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
-https://www.isbn-international.org/range_file_generation manpage. This file
-is included as part of the distribution and should be installed at
+ISBN Agency. You can retrieve this yourself at
+https://www.isbn-international.org/range_file_generation. This file is
+included as part of the distribution and should be installed at
_~lib/Business/ISBN/Data/RangeMessage.xml_.
If you want to use a different _RangeMessage.xml_ file, you can set the
@@ -60,9 +60,6 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-%patch0 -p1
-# MANUAL
-sed -i "s|^#!/usr/local/bin/.*|%{_bindir}/perl|" make_data.pl
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -78,6 +75,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes examples LICENSE README
+%doc Changes examples LICENSE
%changelog
++++++ Business-ISBN-Data-20140910.002.tar.gz ->
Business-ISBN-Data-20140910.003.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISBN-Data-20140910.002/Changes
new/Business-ISBN-Data-20140910.003/Changes
--- old/Business-ISBN-Data-20140910.002/Changes 2014-09-22 20:32:13.000000000
+0200
+++ new/Business-ISBN-Data-20140910.003/Changes 2015-12-15 13:26:14.000000000
+0100
@@ -1,62 +1,66 @@
+Revision history for Perl module
-20140910.02 - Mon Sep 22 14:31:21 2014
+20140910.003 2015-12-15T12:25:58Z
+ * Hide the Business::ISBN namespace
+
+20140910.02 - 2014-09-22
* Look in the current directory for RangeMessage.xml if it's
not in other locations. This can help with various Perl app
packagers. (But, also try ISBN_RANGE_MESSAGE env var)
-20140910.001 - Thu Sep 18 06:46:01 2014
+20140910.001 - 2014-09-18
* Update to the latest data (2014-09-10)
-20120719.01 - Thu Jul 26 08:57:14 2012
+20120719.01 - 2012-07-26
Specify the Test::More version so I can use subtest.
No code or feature changes
-20120719 - Mon Jul 23 18:02:31 2012
+20120719 - 2012-07-23
* Support data from RangeMessage.xml. You can use the latest
data from ISBN without updating this module.
-20120718 - Mon Jul 23 12:59:52 2012
+20120718 - 2012-07-23
* Daniel Jakubik updated the data for July 18, 2012
-20081208 - Fri Dec 5 12:00:41 2008
+20081208 - 2008-12-05
* Latest data update.
-20081020 - Mon Oct 20 17:44:15 2008
+20081020 - 2008-10-20
* Updated publisher codes thanks to Yakov Shafranovich
* Version number is now the update date of the module,
- in YYYYMMDD. This not the date of the ISBN Agency
+ in YYYYMMDD. This not the date of the ISBN Agency
updates though.
-1.17 - Sat Oct 27 13:47:07 2007
+1.17 - 2007-10-27
* Update to docs to point to latest URL for ISBN International
-1.16 - Thu Oct 25 21:38:20 2007
+1.16 - 2007-10-25
* distro cleanups. No need to upgrade.:wq
-1.15 - Fri Aug 31 02:19:06 2007
+1.15 - 2007-08-31
[BUGFIX] RT #29078: Fix publihser ranges for Greece
-1.14 - Fri May 18 11:27:36 2007
+1.14 - 2007-05-18
* *Added 7000-8499 range from Greece (960) to fix RT #27107
-1.13 - Tue Jan 9 23:12:56 2007
+1.13 - 2007-01-09
* updated copyright and license info
* no code changes, so no need to upgrade
-1.12 - Tue Jan 9 23:11:33 2007
+1.12 - 2007-01-09
* updated copyright and license info
* no code changes, so no need to upgrade
-1.11 - Thu May 18 17:22:51 2006
+1.11 - 2006-05-18
* Updated distro and kwalitee. No need to upgrade.
-1.10 - Tue Mar 8 17:15:14 2005
+1.10 - 2005-03-08
* Doc fixup, no big whoop: no need to upgrade
-1.09 - Tue Mar 8 17:09:39 2005
+1.09 - 2005-03-08
* added POD coverage test and fixed up the problems it found
-1.09 - Tue Dec 14 04:43:32 2004
+1.09 - 2004-12-14
* updated the publisher ranges and the country prefixes for the latest
data as of November 2004. See http://www.isbn-international.or
* Added the script I used to take the raw data and turn it into the
@@ -64,29 +68,29 @@
* I recommend this update for everyone. Lots of publisher ranges have
changed
-1.08 - Fri Oct 8 15:44:38 2004
+1.08 - 2004-10-08
* no change in functionality or data: no need to upgrade
* added strictures to the package
-1.07 - Tue Sep 14 21:16:31 2004
+1.07 - 2004-09-14
* distro cleanup: no need to upgrade
-1.06 - Tue Sep 14 19:52:50 2004
+1.06 - 2004-09-14
* small clean-ups for distribution bits---no need to upgrade
-1.05 - Thu Nov 27 08:28:44 2003
+1.05 - 2003-11-27
* updated publisher codes
-1.05 - Thu Nov 27 08:22:29 2003
+1.05 - 2003-11-27
* update publisher ranges
-1.05 - Thu Nov 27 08:20:28 2003
+1.05 - 2003-11-27
* Updated publisher ranges
-1.03 - Mon Nov 25 14:24:58 CST 2002
+1.03 - 2002-11-25
* fixed Makefile to install in right place
-1.02 - Mon Nov 25 14:13:30 CST 2002
+1.02 - 2002-11-25
* this is the first release as a separate module
* added additional publishers (4xxx) for english countries
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISBN-Data-20140910.002/INSTALL.SKIP
new/Business-ISBN-Data-20140910.003/INSTALL.SKIP
--- old/Business-ISBN-Data-20140910.002/INSTALL.SKIP 1970-01-01
01:00:00.000000000 +0100
+++ new/Business-ISBN-Data-20140910.003/INSTALL.SKIP 2015-12-15
13:26:14.000000000 +0100
@@ -0,0 +1,6 @@
+README\.pod
+README.*
+
+# things that might be in local directories after fooling
+# around with them
+\.DS_Store
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISBN-Data-20140910.002/LICENSE
new/Business-ISBN-Data-20140910.003/LICENSE
--- old/Business-ISBN-Data-20140910.002/LICENSE 2014-09-22 20:32:13.000000000
+0200
+++ new/Business-ISBN-Data-20140910.003/LICENSE 2015-12-15 13:26:14.000000000
+0100
@@ -1 +1,177 @@
-You can use Business::ISBN::Data under the same terms as Perl itself.
\ No newline at end of file
+The Business::ISBN::Data module is licensed under the same terms as perl
+itself, under the Artistic License 2.0.
+
+
+Artistic License 2.0
+Copyright (c) 2000-2006, The Perl Foundation.
+http://www.perlfoundation.org/artistic_license_2_0
+
+Preamble
+
+This license establishes the terms under which a given free software
+Package may be copied, modified, distributed, and/or redistributed.
+The intent is that the Copyright Holder maintains some artistic
+control over the development of that Package while still keeping the
+Package available as open source and free software.
+
+You are always permitted to make arrangements wholly outside of this
+license directly with the Copyright Holder of a given Package. If the
+terms of this license do not permit the full use that you propose to
+make of the Package, you should contact the Copyright Holder and seek
+a different licensing arrangement.
+
+Definitions
+
+"Copyright Holder" means the individual(s) or organization(s) named in
+the copyright notice for the entire Package.
+
+"Contributor" means any party that has contributed code or other
+material to the Package, in accordance with the Copyright Holder's
+procedures.
+
+"You" and "your" means any person who would like to copy, distribute,
+or modify the Package.
+
+"Package" means the collection of files distributed by the Copyright
+Holder, and derivatives of that collection and/or of those files. A
+given Package may consist of either the Standard Version, or a
+Modified Version.
+
+"Distribute" means providing a copy of the Package or making it
+accessible to anyone else, or in the case of a company or
+organization, to others outside of your company or organization.
+
+"Distributor Fee" means any fee that you charge for Distributing this
+Package or providing support for this Package to another party. It
+does not mean licensing fees.
+
+"Standard Version" refers to the Package if it has not been modified,
+or has been modified only in ways explicitly requested by the
+Copyright Holder.
+
+"Modified Version" means the Package, if it has been changed, and such
+changes were not explicitly requested by the Copyright Holder.
+
+"Original License" means this Artistic License as Distributed with the
+Standard Version of the Package, in its current version or as it may
+be modified by The Perl Foundation in the future.
+
+"Source" form means the source code, documentation source, and
+configuration files for the Package.
+
+"Compiled" form means the compiled bytecode, object code, binary, or
+any other form resulting from mechanical transformation or translation
+of the Source form.
+
+Permission for Use and Modification Without Distribution
+
+(1) You are permitted to use the Standard Version and create and use
+Modified Versions for any purpose without restriction, provided that
+you do not Distribute the Modified Version.
+
+Permissions for Redistribution of the Standard Version
+
+(2) You may Distribute verbatim copies of the Source form of the
+Standard Version of this Package in any medium without restriction,
+either gratis or for a Distributor Fee, provided that you duplicate
+all of the original copyright notices and associated disclaimers. At
+your discretion, such verbatim copies may or may not include a
+Compiled form of the Package.
+
+(3) You may apply any bug fixes, portability changes, and other
+modifications made available from the Copyright Holder. The resulting
+Package will still be considered the Standard Version, and as such
+will be subject to the Original License.
+
+Distribution of Modified Versions of the Package as Source
+
+(4) You may Distribute your Modified Version as Source (either gratis
+or for a Distributor Fee, and with or without a Compiled form of the
+Modified Version) provided that you clearly document how it differs
+from the Standard Version, including, but not limited to, documenting
+any non-standard features, executables, or modules, and provided that
+you do at least ONE of the following:
+
+ (a) make the Modified Version available to the Copyright Holder of the
+ Standard Version, under the Original License, so that the Copyright
+ Holder may include your modifications in the Standard Version.
+
+ (b) ensure that installation of your Modified Version does not prevent
+ the user installing or running the Standard Version. In addition, the
+ Modified Version must bear a name that is different from the name of
+ the Standard Version.
+
+ (c) allow anyone who receives a copy of the Modified Version to make
+ the Source form of the Modified Version available to others under
+
+ (i) the Original License or
+
+ (ii) a license that permits the licensee to freely copy, modify
and
+ redistribute the Modified Version using the same licensing
terms that
+ apply to the copy that the licensee received, and requires that
the
+ Source form of the Modified Version, and of any works derived
from it,
+ be made freely available in that license fees are prohibited but
+ Distributor Fees are allowed.
+
+Distribution of Compiled Forms of the Standard Version or Modified
+Versions without the Source
+
+(5) You may Distribute Compiled forms of the Standard Version without
+the Source, provided that you include complete instructions on how to
+get the Source of the Standard Version. Such instructions must be
+valid at the time of your distribution. If these instructions, at any
+time while you are carrying out such distribution, become invalid, you
+must provide new instructions on demand or cease further distribution.
+If you provide valid instructions or cease distribution within thirty
+days after you become aware that the instructions are invalid, then
+you do not forfeit any of your rights under this license.
+
+(6) You may Distribute a Modified Version in Compiled form without the
+Source, provided that you comply with Section 4 with respect to the
+Source of the Modified Version.
+
+Aggregating or Linking the Package
+
+(7) You may aggregate the Package (either the Standard Version or
+Modified Version) with other packages and Distribute the resulting
+aggregation provided that you do not charge a licensing fee for the
+Package. Distributor Fees are permitted, and licensing fees for other
+components in the aggregation are permitted. The terms of this license
+apply to the use and Distribution of the Standard or Modified Versions
+as included in the aggregation.
+
+(8) You are permitted to link Modified and Standard Versions with
+other works, to embed the Package in a larger work of your own, or to
+build stand-alone binary or bytecode versions of applications that
+include the Package, and Distribute the result without restriction,
+provided the result does not expose a direct interface to the Package.
+
+Items That are Not Considered Part of a Modified Version
+
+(9) Works (including, but not limited to, modules and scripts) that
+merely extend or make use of the Package, do not, by themselves, cause
+the Package to be a Modified Version. In addition, such works are not
+considered parts of the Package itself, and are not subject to the
+terms of this license.
+
+General Provisions
+
+(10) Any use, modification, and distribution of the Standard or
+Modified Versions is governed by this Artistic License. By using,
+modifying or distributing the Package, you accept this license. Do not
+use, modify, or distribute the Package, if you do not accept this
+license.
+
+(11) If your Modified Version has been derived from a Modified Version
+made by someone other than you, you are nevertheless required to
+ensure that your Modified Version complies with the requirements of
+this license.
+
+(12) This license does not grant you the right to use any trademark,
+service mark, tradename, or logo of the Copyright Holder.
+
+(13) This license includes the non-exclusive, worldwide,
+free-of-charge patent license to make, have made, use, offer to sell,
+sell, import and otherwise transfer the Package with respect to any
+patent claims licensable by the Copyright Holder that are necessarily
+infringed by the Package. If you institute patent litigation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISBN-Data-20140910.002/MANIFEST
new/Business-ISBN-Data-20140910.003/MANIFEST
--- old/Business-ISBN-Data-20140910.002/MANIFEST 2014-09-22
20:32:15.000000000 +0200
+++ new/Business-ISBN-Data-20140910.003/MANIFEST 2015-12-15
13:26:18.000000000 +0100
@@ -1,5 +1,6 @@
Changes
examples/README
+INSTALL.SKIP
lib/Business/ISBN/Data.pm
lib/Business/ISBN/RangeMessage.xml
LICENSE
@@ -7,11 +8,12 @@
Makefile.PL
MANIFEST This list of files
MANIFEST.SKIP
-README
+README.pod
t/check_data_structure.t
t/load.t
t/pod.t
t/pod_coverage.t
t/test_manifest
+xt/changes.t
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/Business-ISBN-Data-20140910.002/META.json
new/Business-ISBN-Data-20140910.003/META.json
--- old/Business-ISBN-Data-20140910.002/META.json 2014-09-22
20:32:15.000000000 +0200
+++ new/Business-ISBN-Data-20140910.003/META.json 2015-12-15
13:26:18.000000000 +0100
@@ -1,10 +1,10 @@
{
- "abstract" : "Data pack for Business::ISBN",
+ "abstract" : "data pack for Business::ISBN",
"author" : [
"brian d foy <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter
version 2.120921",
+ "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter
version 2.140640",
"license" : [
"perl_5"
],
@@ -21,20 +21,20 @@
},
"prereqs" : {
"build" : {
- "requires" : {
- "ExtUtils::MakeMaker" : "0"
- }
+ "requires" : {}
},
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "0"
+ "ExtUtils::MakeMaker" : "6.64",
+ "File::Spec::Functions" : "0"
}
},
"runtime" : {
"requires" : {
"Carp" : "0",
"File::Basename" : "0",
- "File::Spec::Functions" : "0"
+ "File::Spec::Functions" : "0",
+ "perl" : "5.008"
}
},
"test" : {
@@ -45,10 +45,15 @@
},
"release_status" : "stable",
"resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/briandfoy/business-isbn-data/issues"
+ },
+ "homepage" : "https://github.com/briandfoy/business-isbn-data",
"repository" : {
"type" : "git",
- "web" : "https://github.com/briandfoy/business--isbn"
+ "url" : "https://github.com/briandfoy/business-isbn-data.git",
+ "web" : "https://github.com/briandfoy/business-isbn-data"
}
},
- "version" : "20140910.002"
+ "version" : "20140910.003"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISBN-Data-20140910.002/META.yml
new/Business-ISBN-Data-20140910.003/META.yml
--- old/Business-ISBN-Data-20140910.002/META.yml 2014-09-22
20:32:15.000000000 +0200
+++ new/Business-ISBN-Data-20140910.003/META.yml 2015-12-15
13:26:18.000000000 +0100
@@ -1,27 +1,30 @@
---
-abstract: 'Data pack for Business::ISBN'
+abstract: 'data pack for Business::ISBN'
author:
- 'brian d foy <[email protected]>'
build_requires:
- ExtUtils::MakeMaker: 0
- Test::More: 0.95
+ Test::More: '0.95'
configure_requires:
- ExtUtils::MakeMaker: 0
+ ExtUtils::MakeMaker: '6.64'
+ File::Spec::Functions: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter version
2.120921'
+generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version
2.140640'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Business-ISBN-Data
no_index:
directory:
- t
- inc
requires:
- Carp: 0
- File::Basename: 0
- File::Spec::Functions: 0
+ Carp: '0'
+ File::Basename: '0'
+ File::Spec::Functions: '0'
+ perl: '5.008'
resources:
- repository: https://github.com/briandfoy/business--isbn
-version: 20140910.002
+ bugtracker: https://github.com/briandfoy/business-isbn-data/issues
+ homepage: https://github.com/briandfoy/business-isbn-data
+ repository: https://github.com/briandfoy/business-isbn-data.git
+version: '20140910.003'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISBN-Data-20140910.002/Makefile.PL
new/Business-ISBN-Data-20140910.003/Makefile.PL
--- old/Business-ISBN-Data-20140910.002/Makefile.PL 2014-09-22
20:32:13.000000000 +0200
+++ new/Business-ISBN-Data-20140910.003/Makefile.PL 2015-12-15
13:26:14.000000000 +0100
@@ -1,24 +1,73 @@
-use ExtUtils::MakeMaker 6.65;
+package Business::ISBN::Data;
+use strict;
+use warnings;
-use 5.008;
+=encoding utf8
-eval "use Test::Manifest 1.21";
-
-WriteMakefile(
- 'NAME' => 'Business::ISBN::Data',
- 'VERSION_FROM' => 'lib/Business/ISBN/Data.pm',
+=head1 The build file for Business::ISBN::Data
+
+This build file is a modulino; it works as both a build script and
+a module.
+
+To build the distribution, run this file normally:
+
+ % perl Makefile.PL
+
+But, it's more interesting than that. You can load it with C<require>
+and call C<arguments> to get the data structure it passes to
+C<WriteMakefile>:
+
+ my $package = require '/path/to/Makefile.PL';
+ my $arguments = $package->arguments;
+
+Note that C<require>-ing a file makes an entry in C<%INC> for exactly
+that name. If you try to C<require> another file with the same name,
+even from a different path, C<require> thinks it has already loaded
+the file. As such, I recommend you always require the full path to the
+file.
+
+The return value of the C<require> is a package name (in this case,
+the name of the main module. Use that to call the C<arguments> method.
+
+Even if this distribution needs a higher version of Perl, this bit
+only needs v5.8. You can play with the data structure with a primitive
+Perl.
+
+=cut
+
+use File::Spec::Functions qw(catfile);
+
+my $module = __PACKAGE__;
+( my $dist = $module ) =~ s/::/-/g;
+
+my $github = 'https://github.com/briandfoy/business-isbn-data';
+my $main_file = catfile( 'lib', split /::/, "$module.pm" );
+
+my %WriteMakefile = (
+ 'MIN_PERL_VERSION' => '5.008',
+
+ 'NAME' => $module,
+ 'ABSTRACT_FROM' => $main_file,
+ 'VERSION_FROM' => $main_file,
'LICENSE' => 'perl',
'AUTHOR' => 'brian d foy <[email protected]>',
- 'ABSTRACT' => 'Data pack for Business::ISBN',
-
- 'PREREQ_PM' => {
- 'Carp' => '0',
- 'File::Basename' => '0',
+
+ 'CONFIGURE_REQUIRES' => {
+ 'ExtUtils::MakeMaker' => '6.64',
'File::Spec::Functions' => '0',
},
'TEST_REQUIRES' => {
- 'Test::More' => '0.95',
+ 'Test::More' => '0.95',
+ },
+
+ 'BUILD_REQUIRES' => {
+ },
+
+ 'PREREQ_PM' => {
+ 'Carp' => '0',
+ 'File::Basename' => '0',
+ 'File::Spec::Functions' => '0',
},
'META_MERGE' => {
@@ -26,11 +75,40 @@
resources => {
repository => {
type => 'git',
- url =>
'[email protected]:briandfoy/business--isbn.git',
- web =>
'https://github.com/briandfoy/business--isbn',
+ url => "$github.git",
+ web => $github,
+ },
+ bugtracker => {
+ web => "$github/issues",
},
+ homepage => $github,
},
},
- clean => { FILES => 'Business-ISBN-Data* .DS_Store' },
+ clean => { FILES => "$dist-*" },
);
+
+sub arguments { \%WriteMakefile }
+
+do_it() unless caller;
+sub do_it {
+ require File::Spec;
+ my $MM ='ExtUtils::MakeMaker';
+ my $MM_version =
+ eval{ "$MM " .
$WriteMakefile{'CONFIGURE_REQUIRES'}{'ExtUtils::MakeMaker'} }
+ ||
+ "$MM 6.64";
+ eval "use $MM_version; 1" or die "Could not load $MM_version: $@";
+ eval "use Test::Manifest 1.21"
+ if -e File::Spec->catfile( qw(t test_manifest) );
+
+ my $arguments = arguments();
+ my $minimum_perl = $arguments->{MIN_PERL_VERSION} || '5.008';
+ eval "require $minimum_perl;" or die $@;
+
+ WriteMakefile( %$arguments );
+ }
+
+
+no warnings;
+__PACKAGE__;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISBN-Data-20140910.002/README
new/Business-ISBN-Data-20140910.003/README
--- old/Business-ISBN-Data-20140910.002/README 2014-09-22 20:32:13.000000000
+0200
+++ new/Business-ISBN-Data-20140910.003/README 1970-01-01 01:00:00.000000000
+0100
@@ -1,31 +0,0 @@
-$Id: README,v 1.1 2004/09/15 00:52:15 comdog Exp $
-
-This is a data pack for Business::ISBN. You can update
-the ISBN data without changing the version of Business::ISBN.
-Most of the interesting stuff is in Business::ISBN.
-
-You can install this using in the usual Perl fashion
-
- perl Makefile.PL
- make
- make test
- make install
-
-The documentation is in the module file. Once you install
-the file, you can read it with perldoc.
-
- perldoc Business::ISBN::Data
-
-If you want to read it before you install it, you can use
-perldoc directly on the module file.
-
- perldoc Data.pm
-
-This module is also in CVS on SourceForge
-
- http://sourceforge.net/projects/brian-d-foy/
-
-
-Enjoy,
-
-brian d foy, [email protected]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISBN-Data-20140910.002/README.pod
new/Business-ISBN-Data-20140910.003/README.pod
--- old/Business-ISBN-Data-20140910.002/README.pod 1970-01-01
01:00:00.000000000 +0100
+++ new/Business-ISBN-Data-20140910.003/README.pod 2015-12-15
13:26:14.000000000 +0100
@@ -0,0 +1,114 @@
+=pod
+
+=encoding utf8
+
+=head1 The Business::ISBN::Data module
+
+This is the I<README> for the L<Business::ISBN::Data> Perl module. You're
probably
+looking at this because you don't know where else to find what you're
+looking for. Read this once and you might never have to read one again
+for any Perl module.
+
+=head2 Documentation
+
+To read about L<Business::ISBN::Data>, look at the embedded documentation
+in the module itself. Inside the distribution, you can format it
+with L<perldoc|http://perldoc.perl.org/perldoc.html>:
+
+ % perldoc lib/Business/ISBN/Data.pm
+
+If you have already installed the module, you can specify the module
+name instead of the file location:
+
+ % perldoc Business::ISBN::Data
+
+You can read the documentation and inspect the meta data on one of the
+CPAN web interfaces, such as L<CPAN
Search|http://search.cpan.org/dist/Business-ISBN-Data> or
+L<MetaCPAN|http://www.metacpan.org/module/Business::ISBN::Data>:
+
+=over 4
+
+=item * L<http://search.cpan.org/dist/Business-ISBN-Data>
+
+=item * L<http://www.metacpan.org/module/Business::ISBN::Data>
+
+=back
+
+The standard module documentation has example uses in the SYNOPSIS
+section, but you can also look in the I<examples/> directory (if it's
+there), or look at the test files in I<t/>.
+
+=head2 Installation
+
+You can install this module with a CPAN client, which will resolve
+and install the dependencies:
+
+ % cpan Business::ISBN::Data
+ % cpanm Business::ISBN::Data
+
+You can also install directly from the distribution directory, which
+will also install the dependencies:
+
+ % cpan .
+ % cpanm .
+
+You could install just this module manually:
+
+ % perl Makefile.PL
+ % make
+ % make test
+ % make install
+
+You probably don't want to do that unless you're fiddling with the
+module and only want to run the tests without installing anything.
+
+=head2 Source location
+
+The meta data, such as the source repository and bug tracker, is in
+I<Makefile.PL> or the I<META.*> files it creates. You can find that on
+those CPAN web interfaces, but you can also look at files directly in
+the source repository:
+
+=over 4
+
+=item * L<https://github.com/briandfoy/business-isbn-data>
+
+=back
+
+If you find a problem, file a ticket in the L<issue
+tracker|https://github.com/briandfoy/business-isbn-data/issues>:
+
+=over 4
+
+=item * L<https://github.com/briandfoy/business-isbn-data/issues>
+
+=back
+
+=head2 Getting help
+
+Although I'm happy to hear from module users in private email,
+that's the best way for me to forget to do something.
+
+Besides the issue trackers, you can find help at
+L<Perlmonks|http://www.perlmonks.org> or
+L<Stackoverflow|http://www.stackoverflow.com>, both of which have many
+competent Perlers who can answer your question, almost in real time.
+They might not know the particulars of this module, but they can help
+you diagnose your problem.
+
+You might like to read L<brian's Guide to Solving Any Perl
+Problem|http://archive.oreilly.com/pub/a/perl/excerpts/9780596527242/brians-guide.html>.
+
+=head2 Copyright and License
+
+You should have received a I<LICENSE> file, but the license is also noted
+in the module files. About the only thing you can't do is pretend that
+you wrote code that you didn't.
+
+=head2 Good luck!
+
+Enjoy,
+
+brian d foy, [email protected]
+
+=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Business-ISBN-Data-20140910.002/lib/Business/ISBN/Data.pm
new/Business-ISBN-Data-20140910.003/lib/Business/ISBN/Data.pm
--- old/Business-ISBN-Data-20140910.002/lib/Business/ISBN/Data.pm
2014-09-22 20:32:13.000000000 +0200
+++ new/Business-ISBN-Data-20140910.003/lib/Business/ISBN/Data.pm
2015-12-15 13:26:14.000000000 +0100
@@ -6,7 +6,9 @@
use File::Basename qw(dirname);
use File::Spec::Functions qw(catfile);
-$VERSION = '20140910.002';
+$VERSION = '20140910.003';
+
+=encoding utf8
=head1 NAME
@@ -63,7 +65,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 2002-2014, brian d foy, All Rights Reserved.
+Copyright © 2002-2015, brian d foy <[email protected]>. All rights reserved.
You may redistribute this under the same terms as Perl itself.
@@ -375,7 +377,8 @@
( sort { $a <=> $b } grep { ! /\A_/ } keys
%Business::ISBN::country_data )[-1]
);
-package Business::ISBN;
+package # Hide from PAUSE
+ Business::ISBN;
sub isbn_group_code_string_from_number {
return if $_[0] =~ /\A_/;
@@ -390,4 +393,5 @@
sub isbn_data_source {
return $Business::ISBN::country_data{ '_source' } || __FILE__
}
+
1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISBN-Data-20140910.002/xt/changes.t
new/Business-ISBN-Data-20140910.003/xt/changes.t
--- old/Business-ISBN-Data-20140910.002/xt/changes.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Business-ISBN-Data-20140910.003/xt/changes.t 2015-12-15
13:26:14.000000000 +0100
@@ -0,0 +1,4 @@
+use Test::More;
+eval 'use Test::CPAN::Changes';
+plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
+changes_ok();
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module