Hello community,
here is the log from the commit of package perl-Business-ISSN for
openSUSE:Factory checked in at 2018-06-02 11:49:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Business-ISSN (Old)
and /work/SRC/openSUSE:Factory/.perl-Business-ISSN.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Business-ISSN"
Sat Jun 2 11:49:07 2018 rev:4 rq:607435 version:1.003
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Business-ISSN/perl-Business-ISSN.changes
2013-07-04 10:13:23.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Business-ISSN.new/perl-Business-ISSN.changes
2018-06-02 11:49:18.850237179 +0200
@@ -1,0 +2,6 @@
+Sat May 12 05:04:28 UTC 2018 - [email protected]
+
+- updated to 1.003
+ see /usr/share/doc/packages/perl-Business-ISSN/Changes
+
+-------------------------------------------------------------------
Old:
----
Business-ISSN-0.91.tar.gz
New:
----
Business-ISSN-1.003.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Business-ISSN.spec ++++++
--- /var/tmp/diff_new_pack.e2Omjq/_old 2018-06-02 11:49:19.394217226 +0200
+++ /var/tmp/diff_new_pack.e2Omjq/_new 2018-06-02 11:49:19.398217080 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Business-ISSN
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,44 +17,76 @@
Name: perl-Business-ISSN
-Version: 0.91
+Version: 1.003
Release: 0
%define cpan_name Business-ISSN
Summary: Perl extension for International Standard Serial Numbers
-License: Artistic-1.0 or GPL-1.0+
+License: Artistic-2.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Business-ISSN/
-Source:
http://www.cpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
+BuildRequires: perl(Test::More) >= 0.94
%{perl_requires}
%description
* new($issn)
- The constructor accepts a scalar representing the ISSN.
+The constructor accepts a scalar representing the ISSN.
- The string representing the ISSN may contain characters other than
- [0-9xX], although these will be removed in the internal representation.
- The resulting string must look like an ISSN - the first seven characters
- must be digits and the eighth character must be a digit, 'x', or 'X'.
-
- The string passed as the ISSN need not be a valid ISSN as long as it
- superficially looks like one. This allows one to use the 'fix_checksum'
- method.
-
- One should check the validity of the ISSN with 'is_valid()' rather than
- relying on the return value of the constructor.
-
- If all one wants to do is check the validity of an ISSN, one can skip the
- object-oriented interface and use the c<is_valid_checksum()> function
- which is exportable on demand.
+The string representing the ISSN may contain characters other than [0-9xX],
+although these will be removed in the internal representation. The
+resulting string must look like an ISSN - the first seven characters must
+be digits and the eighth character must be a digit, 'x', or 'X'.
+
+The string passed as the ISSN need not be a valid ISSN as long as it
+superficially looks like one. This allows one to use the 'fix_checksum'
+method.
+
+One should check the validity of the ISSN with 'is_valid()' rather than
+relying on the return value of the constructor.
+
+If all one wants to do is check the validity of an ISSN, one can skip the
+object-oriented interface and use the c<is_valid_checksum()> function which
+is exportable on demand.
+
+If the constructor decides it can't create an object, it returns undef. It
+may do this if the string passed as the ISSN can't be munged to the
+internal format.
+
+* $obj->checksum
+
+Return the ISSN checksum.
+
+* $obj->as_string
+
+Return the ISSN as a string.
+
+A terminating 'x' is changed to 'X'.
+
+* $obj->is_valid
+
+Returns 1 if the checksum is valid.
+
+Returns 0 if the ISSN does not pass the checksum test. The constructor
+accepts invalid ISSN's so that they might be fixed with 'fix_checksum'.
+
+* $obj->fix_checksum
+
+Replace the eighth character with the checksum the corresponds to the
+previous seven digits. This does not guarantee that the ISSN corresponds to
+the product one thinks it does, or that the ISSN corresponds to any product
+at all. It only produces a string that passes the checksum routine. If the
+ISSN passed to the constructor was invalid, the error might have been in
+any of the other nine positions.
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -70,6 +102,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes examples LICENSE README
+%doc Changes examples
+%license LICENSE
%changelog
++++++ Business-ISSN-0.91.tar.gz -> Business-ISSN-1.003.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/Changes
new/Business-ISSN-1.003/Changes
--- old/Business-ISSN-0.91/Changes 2008-08-06 13:30:53.000000000 +0200
+++ new/Business-ISSN-1.003/Changes 2018-05-09 22:28:03.000000000 +0200
@@ -1,8 +1,17 @@
-Revision history for Perl extension Business::ISSN.
+Revision history for Perl module Business::ISSN
-0.91 - Wed Aug 6 06:30:10 2008
+1.003 2018-05-09T20:27:50Z
+ * Clarify that it's the Artistic License 2.0
+
+1.002 2016-12-05T18:59:45Z
+ * Remove the prereq.t test. I'll do that locally.
+
+1.001 2016-01-12T18:51:29Z
+ * Freshen the module
+
+0.91 - 2008-08-06
* module now maintained by brian d foy
* modernized, fully tested, and fixed RT #38174
-0.20 Tue Feb 9 11:09:41 1999
- - 1st version
\ No newline at end of file
+0.20 - 1999-02-09
+ * 1st version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/INSTALL.SKIP
new/Business-ISSN-1.003/INSTALL.SKIP
--- old/Business-ISSN-0.91/INSTALL.SKIP 1970-01-01 01:00:00.000000000 +0100
+++ new/Business-ISSN-1.003/INSTALL.SKIP 2018-05-09 22:28:03.000000000
+0200
@@ -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-ISSN-0.91/LICENSE
new/Business-ISSN-1.003/LICENSE
--- old/Business-ISSN-0.91/LICENSE 2008-08-06 13:30:53.000000000 +0200
+++ new/Business-ISSN-1.003/LICENSE 2018-05-09 22:28:03.000000000 +0200
@@ -1 +1,177 @@
-You can use Business::ISSN under the same terms as Perl itself.
\ No newline at end of file
+The Business::ISSN 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-ISSN-0.91/MANIFEST
new/Business-ISSN-1.003/MANIFEST
--- old/Business-ISSN-0.91/MANIFEST 2008-08-06 13:30:53.000000000 +0200
+++ new/Business-ISSN-1.003/MANIFEST 2018-05-09 22:28:04.000000000 +0200
@@ -1,14 +1,17 @@
Changes
examples/placeholder.pl
-lib/ISSN.pm
+INSTALL.SKIP
+lib/Business/ISSN.pm
LICENSE
Makefile.PL
MANIFEST This list of files
-README
+MANIFEST.SKIP
+README.pod
t/issn.t
t/load.t
t/pod.t
t/pod_coverage.t
-t/prereq.t
t/test_manifest
-META.yml Module meta-data (added by MakeMaker)
+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-ISSN-0.91/MANIFEST.SKIP
new/Business-ISSN-1.003/MANIFEST.SKIP
--- old/Business-ISSN-0.91/MANIFEST.SKIP 1970-01-01 01:00:00.000000000
+0100
+++ new/Business-ISSN-1.003/MANIFEST.SKIP 2018-05-09 22:28:03.000000000
+0200
@@ -0,0 +1,72 @@
+
+#!start included /usr/local/perls/perl-5.22.0/lib/5.22.0/ExtUtils/MANIFEST.SKIP
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+\bSCCS\b
+,v$
+\B\.svn\b
+\B\.git\b
+\B\.gitignore\b
+\b_darcs\b
+\B\.cvsignore$
+
+# Avoid VMS specific MakeMaker generated files
+\bDescrip.MMS$
+\bDESCRIP.MMS$
+\bdescrip.mms$
+
+# Avoid Makemaker generated and utility files.
+\bMANIFEST\.bak
+\bMakefile$
+\bblib/
+\bMakeMaker-\d
+\bpm_to_blib\.ts$
+\bpm_to_blib$
+\bblibdirs\.ts$ # 6.18 through 6.25 generated this
+\b_eumm/ # 7.05_05 and above
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build/
+\bBuild.bat$
+\bBuild.COM$
+\bBUILD.COM$
+\bbuild.com$
+
+# and Module::Build::Tiny generated files
+\b_build_params$
+
+# Avoid temp and backup files.
+~$
+\.old$
+\#$
+\b\.#
+\.bak$
+\.tmp$
+\.#
+\.rej$
+\..*\.sw.?$
+
+# Avoid OS-specific files/dirs
+# Mac OSX metadata
+\B\.DS_Store
+# Mac OSX SMB mount metadata files
+\B\._
+
+# Avoid Devel::Cover and Devel::CoverX::Covered files.
+\bcover_db\b
+\bcovered\b
+
+# Avoid prove files
+\B\.prove$
+
+# Avoid MYMETA files
+^MYMETA\.
+#!end included /usr/local/perls/perl-5.22.0/lib/5.22.0/ExtUtils/MANIFEST.SKIP
+
+
+\.travis\.yml
+\.?appveyor.yml
+\.releaserc
+\.lwpcookies
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/META.json
new/Business-ISSN-1.003/META.json
--- old/Business-ISSN-0.91/META.json 1970-01-01 01:00:00.000000000 +0100
+++ new/Business-ISSN-1.003/META.json 2018-05-09 22:28:04.000000000 +0200
@@ -0,0 +1,62 @@
+{
+ "abstract" : "Perl extension for International Standard Serial Numbers",
+ "author" : [
+ "brian d foy <[email protected]>"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150010",
+ "license" : [
+ "artistic_2"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Business-ISSN",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {}
+ },
+ "configure" : {
+ "requires" : {
+ "Exporter" : "0",
+ "ExtUtils::MakeMaker" : "6.64",
+ "File::Spec::Functions" : "0",
+ "strict" : "0",
+ "subs" : "0",
+ "vars" : "0",
+ "warnings" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "perl" : "5.008"
+ }
+ },
+ "test" : {
+ "requires" : {
+ "Test::More" : "0.94"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/briandfoy/business-issn/issues"
+ },
+ "homepage" : "https://github.com/briandfoy/business-issn",
+ "repository" : {
+ "type" : "git",
+ "url" : "https://github.com/briandfoy/business-issn.git",
+ "web" : "https://github.com/briandfoy/business-issn"
+ }
+ },
+ "version" : "1.003",
+ "x_serialization_backend" : "JSON::PP version 2.27400_02"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/META.yml
new/Business-ISSN-1.003/META.yml
--- old/Business-ISSN-0.91/META.yml 2008-08-06 13:30:53.000000000 +0200
+++ new/Business-ISSN-1.003/META.yml 2018-05-09 22:28:04.000000000 +0200
@@ -1,14 +1,33 @@
---- #YAML:1.0
-name: Business-ISSN
-version: 0.91
-abstract: Work with International Standard Serial Numbers
-license: perl
-author:
- - brian d foy <[email protected]>
-generated_by: ExtUtils::MakeMaker version 6.44
-distribution_type: module
-requires:
- Test::More: 0
+---
+abstract: 'Perl extension for International Standard Serial Numbers'
+author:
+ - 'brian d foy <[email protected]>'
+build_requires:
+ Test::More: '0.94'
+configure_requires:
+ Exporter: '0'
+ ExtUtils::MakeMaker: '6.64'
+ File::Spec::Functions: '0'
+ strict: '0'
+ subs: '0'
+ vars: '0'
+ warnings: '0'
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150010'
+license: artistic_2
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: '1.4'
+name: Business-ISSN
+no_index:
+ directory:
+ - t
+ - inc
+requires:
+ perl: '5.008'
+resources:
+ bugtracker: https://github.com/briandfoy/business-issn/issues
+ homepage: https://github.com/briandfoy/business-issn
+ repository: https://github.com/briandfoy/business-issn.git
+version: '1.003'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/Makefile.PL
new/Business-ISSN-1.003/Makefile.PL
--- old/Business-ISSN-0.91/Makefile.PL 2008-08-06 13:30:53.000000000 +0200
+++ new/Business-ISSN-1.003/Makefile.PL 2018-05-09 22:28:03.000000000 +0200
@@ -1,29 +1,116 @@
-# $Id: Makefile.PL,v 1.4 2004/07/04 17:04:17 comdog Exp $
-use ExtUtils::MakeMaker;
+package Business::ISSN;
+use strict;
+use warnings;
-require 5.006;
+=encoding utf8
-eval "use Test::Manifest 1.14";
+=head1 The build file for Business::ISSN
-WriteMakefile(
- 'NAME' => 'Business::ISSN',
- 'ABSTRACT' => 'Work with International Standard Serial Numbers',
- 'VERSION_FROM' => 'lib/ISSN.pm',
- 'LICENSE' => 'perl',
- 'AUTHOR' => 'brian d foy <[email protected]>',
-
- 'PREREQ_PM' => {
- 'Test::More' => '0',
+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-issn';
+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' => 'artistic_2',
+ 'AUTHOR' => 'brian d foy <[email protected]>',
+
+ 'CONFIGURE_REQUIRES' => {
+ 'Exporter' => '0',
+ 'ExtUtils::MakeMaker' => '6.64',
+ 'File::Spec::Functions' => '0',
+ 'strict' => '0',
+ 'subs' => '0',
+ 'vars' => '0',
+ 'warnings' => '0',
},
- 'PM' => {
- 'lib/ISSN.pm' => '$(INST_LIBDIR)/ISSN.pm',
+ 'BUILD_REQUIRES' => {
},
- 'MAN3PODS' => {
- 'lib/ISSN.pm' => '$(INST_MAN3DIR)/Business-ISSN.3',
+ 'TEST_REQUIRES' => {
+ 'Test::More' => '0.94',
},
- clean => { FILES => q|Business-* cover_db *.old *.bak| },
+ 'PREREQ_PM' => {
+ },
+
+ 'META_MERGE' => {
+ 'meta-spec' => { version => 2 },
+ resources => {
+ repository => {
+ type => 'git',
+ url => "$github.git",
+ web => $github,
+ },
+ bugtracker => {
+ web => "$github/issues",
+ },
+ homepage => $github,
+ },
+ },
+ 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-ISSN-0.91/README
new/Business-ISSN-1.003/README
--- old/Business-ISSN-0.91/README 2008-08-06 13:30:53.000000000 +0200
+++ new/Business-ISSN-1.003/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
-$Id: README,v 1.1 2004/09/08 00:25:41 comdog Exp $
-
-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::ISSN
-
-If you want to read it before you install it, you can use
-perldoc directly on the module file.
-
- perldoc lib/ISSN.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-ISSN-0.91/README.pod
new/Business-ISSN-1.003/README.pod
--- old/Business-ISSN-0.91/README.pod 1970-01-01 01:00:00.000000000 +0100
+++ new/Business-ISSN-1.003/README.pod 2018-05-09 22:28:03.000000000 +0200
@@ -0,0 +1,124 @@
+=pod
+
+=encoding utf8
+
+=for HTML <a href="https://travis-ci.org/briandfoy/business-issn"><img
src="https://travis-ci.org/briandfoy/business-issn.svg?branch=master" /></a>
+
+=for HTML <a
href='https://ci.appveyor.com/project/briandfoy/business-issn'><img
src='https://ci.appveyor.com/api/projects/status/77bthmd8xisvkrur' /></a>
+
+=for HTML <a
href='https://coveralls.io/github/briandfoy/business-issn?branch=master'><img
src='https://coveralls.io/repos/github/briandfoy/business-issn/badge.svg?branch=master'
alt='Coverage Status' /></a>
+
+=for HTML <a
href="https://github.com/briandfoy/business-issn/blob/master/LICENSE"><img
src="https://img.shields.io/cpan/l/Business-ISSN.svg" /></a>
+
+=for HTML <a href="http://www.metacpan.org/module/Business::ISSN"><img
src="https://img.shields.io/cpan/v/Business-ISSN.svg" /></A>
+
+=head1 The Business::ISSN module
+
+This is the I<README> for the L<Business::ISSN> 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::ISSN>, 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/ISSN.pm
+
+If you have already installed the module, you can specify the module
+name instead of the file location:
+
+ % perldoc Business::ISSN
+
+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-ISSN> or
+L<MetaCPAN|http://www.metacpan.org/module/Business::ISSN>:
+
+=over 4
+
+=item * L<http://search.cpan.org/dist/Business-ISSN>
+
+=item * L<http://www.metacpan.org/module/Business::ISSN>
+
+=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::ISSN
+ % cpanm Business::ISSN
+
+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-ISSN>
+
+=back
+
+If you find a problem, file a ticket in the L<issue
+tracker|https://github.com/briandfoy/Business-ISSN/issues>:
+
+=over 4
+
+=item * L<https://github.com/briandfoy/Business-ISSN/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-ISSN-0.91/lib/Business/ISSN.pm
new/Business-ISSN-1.003/lib/Business/ISSN.pm
--- old/Business-ISSN-0.91/lib/Business/ISSN.pm 1970-01-01 01:00:00.000000000
+0100
+++ new/Business-ISSN-1.003/lib/Business/ISSN.pm 2018-05-09
22:28:03.000000000 +0200
@@ -0,0 +1,231 @@
+package Business::ISSN;
+
+use strict;
+
+use warnings;
+no warnings;
+
+use subs qw(_common_format _checksum is_valid_checksum);
+
+use Exporter qw(import);
+
+our @EXPORT = qw();
+our @EXPORT_OK = qw(is_valid_checksum);
+
+our $VERSION = '1.003';
+
+sub new {
+ my $class = shift;
+ my $common_data = _common_format shift;
+
+ return unless $common_data;
+
+ my $self = bless {}, $class;
+
+ $self->{'issn'} = $common_data;
+
+ $common_data =~m/([0-9]{7,7})([0-9\dxX])$/;
+
+ @{$self}{ qw(checksum code) } = ( $2, $1 );
+
+ $self->_check_validity;
+
+ return $self;
+ }
+
+sub _issn { $_[0]->{'issn'} }
+sub is_valid { $_[0]->{'valid'} }
+sub checksum { $_[0]->{'checksum'} }
+sub _hyphen_positions { 4 }
+
+sub fix_checksum {
+ my $self = shift;
+ my $debug = 1;
+
+ my $last_char = substr($self->_issn, -1, 1);
+
+ my $checksum = _checksum $self->_issn;
+
+ substr( $self->{issn}, -1, 1) = $checksum;
+
+ $self->_check_validity;
+
+ return 0 if $last_char eq $checksum;
+ return 1;
+ }
+
+sub as_string {
+ return unless $_[0]->is_valid;
+
+ my $issn = $_[0]->_issn;
+
+ substr($issn, $_[0]->_hyphen_positions, 0) = '-';
+
+ return $issn;
+ }
+
+sub is_valid_checksum {
+ my $data = _common_format shift;
+ return 0 unless $data;
+ return 1 if substr($data, -1, 1) eq _checksum $data;
+ return 0;
+ }
+
+sub _check_validity {
+ $_[0]->{'valid'} = is_valid_checksum( $_[0]->_issn );
+ }
+
+sub _checksum {
+ my $data = _common_format shift;
+
+ return unless $data;
+
+ my @digits = split //, $data;
+ my $sum = 0;
+
+ foreach( reverse 2..8 ) # oli 10
+ {
+ $sum += $_ * (shift @digits);
+ }
+
+ #return what the check digit should be
+ my $checksum = (11 - ($sum % 11))%11;
+
+ $checksum = 'X' if $checksum == 10;
+
+ return $checksum;
+ }
+
+sub _common_format {
+ #we want uppercase X's
+ my $data = uc shift;
+
+ #get rid of everything except decimal digits and X
+ $data =~ s/[^0-9X]//g;
+
+ return $data if $data =~ m/^[0-9]{7}[0-9X]\z/;
+
+ return;
+ }
+
+1;
+__END__
+
+=encoding utf8
+
+=head1 NAME
+
+Business::ISSN - Perl extension for International Standard Serial Numbers
+
+=head1 SYNOPSIS
+
+ use Business::ISSN;
+ $issn_object = Business::ISSN->new('1456-5935');
+
+ $issn_object = Business::ISSN->new('14565935');
+
+ # print the ISSN (with hyphen)
+ print $issn_object->as_string;
+
+ # check to see if the ISSN is valid
+ $issn_object->is_valid;
+
+ #fix the ISSN checksum. BEWARE: the error might not be
+ #in the checksum!
+ $issn_object->fix_checksum;
+
+ #EXPORTABLE FUNCTIONS
+
+ use Business::ISSN qw( is_valid_checksum );
+
+ #verify the checksum
+ if( is_valid_checksum('01234567') ) { ... }
+
+=head1 DESCRIPTION
+
+=over 4
+
+=item new($issn)
+
+The constructor accepts a scalar representing the ISSN.
+
+The string representing the ISSN may contain characters
+other than [0-9xX], although these will be removed in the
+internal representation. The resulting string must look
+like an ISSN - the first seven characters must be digits and
+the eighth character must be a digit, 'x', or 'X'.
+
+The string passed as the ISSN need not be a valid ISSN as
+long as it superficially looks like one. This allows one to
+use the C<fix_checksum> method.
+
+One should check the validity of the ISSN with C<is_valid()>
+rather than relying on the return value of the constructor.
+
+If all one wants to do is check the validity of an ISSN,
+one can skip the object-oriented interface and use the
+c<is_valid_checksum()> function which is exportable on demand.
+
+If the constructor decides it can't create an object, it
+returns undef. It may do this if the string passed as the
+ISSN can't be munged to the internal format.
+
+=item $obj->checksum
+
+Return the ISSN checksum.
+
+=item $obj->as_string
+
+Return the ISSN as a string.
+
+A terminating 'x' is changed to 'X'.
+
+=item $obj->is_valid
+
+Returns 1 if the checksum is valid.
+
+Returns 0 if the ISSN does not pass the checksum test.
+The constructor accepts invalid ISSN's so that
+they might be fixed with C<fix_checksum>.
+
+=item $obj->fix_checksum
+
+Replace the eighth character with the checksum the
+corresponds to the previous seven digits. This does not
+guarantee that the ISSN corresponds to the product one
+thinks it does, or that the ISSN corresponds to any product
+at all. It only produces a string that passes the checksum
+routine. If the ISSN passed to the constructor was invalid,
+the error might have been in any of the other nine positions.
+
+=back
+
+=head2 EXPORTABLE FUNCTIONS
+
+Some functions can be used without the object interface. These
+do not use object technology behind the scenes.
+
+=over 4
+
+=item is_valid_checksum('01234567')
+
+Takes the ISSN string and runs it through the checksum
+comparison routine. Returns 1 if the ISSN is valid, 0 otherwise.
+
+=back
+
+=head1 AUTHOR
+
+Currently maintained by brian d foy C<< <[email protected]> >>.
+
+Original module by Sami Poikonen, based on Business::ISBN by brian d foy.
+
+This module is released under the terms of the Perl Artistic License.
+
+=head1 COPYRIGHT AND LICENSE
+
+Copyright © 1999-2018, brian d foy <[email protected]>. All rights reserved.
+
+You may redistribute this under the terms of the Artistic License 2.0.
+
+=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/lib/ISSN.pm
new/Business-ISSN-1.003/lib/ISSN.pm
--- old/Business-ISSN-0.91/lib/ISSN.pm 2008-08-06 13:30:53.000000000 +0200
+++ new/Business-ISSN-1.003/lib/ISSN.pm 1970-01-01 01:00:00.000000000 +0100
@@ -1,238 +0,0 @@
-package Business::ISSN;
-
-use strict;
-
-use warnings;
-no warnings;
-
-use subs qw(_common_format _checksum is_valid_checksum);
-use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
-
-use Exporter;
-
-@ISA = qw(Exporter);
-@EXPORT_OK = qw(is_valid_checksum);
-
-$VERSION = '0.91';
-
-sub new
- {
- my $class = shift;
- my $common_data = _common_format shift;
-
- return unless $common_data;
-
- my $self = bless {}, $class;
-
- $self->{'issn'} = $common_data;
-
- $common_data =~m/(\d{7,7})([\dxX])$/;
-
- @{$self}{ qw(checksum code) } = ( $2, $1 );
-
- $self->_check_validity;
-
- return $self;
- }
-
-sub _issn { $_[0]->{'issn'} }
-sub is_valid { $_[0]->{'valid'} }
-sub checksum { $_[0]->{'checksum'} }
-sub _hyphen_positions { 4 }
-
-sub fix_checksum
- {
- my $self = shift;
- my $debug = 1;
-
- my $last_char = substr($self->_issn, -1, 1);
-
- my $checksum = _checksum $self->_issn;
-
- substr( $self->{issn}, -1, 1) = $checksum;
-
- $self->_check_validity;
-
- return 0 if $last_char eq $checksum;
- return 1;
- }
-
-sub as_string
- {
- return unless $_[0]->is_valid;
-
- my $issn = $_[0]->_issn;
-
- substr($issn, $_[0]->_hyphen_positions, 0) = '-';
-
- return $issn;
- }
-
-sub is_valid_checksum
- {
- my $data = _common_format shift;
- return 0 unless $data;
- return 1 if substr($data, -1, 1) eq _checksum $data;
- return 0;
- }
-
-sub _check_validity
- {
- $_[0]->{'valid'} = is_valid_checksum( $_[0]->_issn );
- }
-
-sub _checksum
- {
- my $data = _common_format shift;
-
- return unless $data;
-
- my @digits = split //, $data;
- my $sum = 0;
-
- foreach( reverse 2..8 ) # oli 10
- {
- $sum += $_ * (shift @digits);
- }
-
- #return what the check digit should be
- my $checksum = (11 - ($sum % 11))%11;
-
- $checksum = 'X' if $checksum == 10;
-
- return $checksum;
- }
-
-sub _common_format
- {
- #we want uppercase X's
- my $data = uc shift;
-
- #get rid of everything except decimal digits and X
- $data =~ s/[^0-9X]//g;
-
- return $data if $data =~ m/^\d{7}[0-9X]\z/;
-
- return;
- }
-
-1;
-__END__
-
-=head1 NAME
-
-Business::ISSN - Perl extension for International Standard Serial Numbers
-
-=head1 SYNOPSIS
-
- use Business::ISSN;
- $issn_object = Business::ISSN->new('1456-5935');
-
- $issn_object = Business::ISSN->new('14565935');
-
- # print the ISSN (with hyphen)
- print $issn_object->as_string;
-
- # check to see if the ISSN is valid
- $issn_object->is_valid;
-
- #fix the ISSN checksum. BEWARE: the error might not be
- #in the checksum!
- $issn_object->fix_checksum;
-
- #EXPORTABLE FUNCTIONS
-
- use Business::ISSN qw( is_valid_checksum );
-
- #verify the checksum
- if( is_valid_checksum('01234567') ) { ... }
-
-=head1 DESCRIPTION
-
-=over 4
-
-=item new($issn)
-
-The constructor accepts a scalar representing the ISSN.
-
-The string representing the ISSN may contain characters
-other than [0-9xX], although these will be removed in the
-internal representation. The resulting string must look
-like an ISSN - the first seven characters must be digits and
-the eighth character must be a digit, 'x', or 'X'.
-
-The string passed as the ISSN need not be a valid ISSN as
-long as it superficially looks like one. This allows one to
-use the C<fix_checksum> method.
-
-One should check the validity of the ISSN with C<is_valid()>
-rather than relying on the return value of the constructor.
-
-If all one wants to do is check the validity of an ISSN,
-one can skip the object-oriented interface and use the
-c<is_valid_checksum()> function which is exportable on demand.
-
-If the constructor decides it can't create an object, it
-returns undef. It may do this if the string passed as the
-ISSN can't be munged to the internal format.
-
-=item $obj->checksum
-
-Return the ISSN checksum.
-
-=item $obj->as_string
-
-Return the ISSN as a string.
-
-A terminating 'x' is changed to 'X'.
-
-=item $obj->is_valid
-
-Returns 1 if the checksum is valid.
-
-Returns 0 if the ISSN does not pass the checksum test.
-The constructor accepts invalid ISSN's so that
-they might be fixed with C<fix_checksum>.
-
-=item $obj->fix_checksum
-
-Replace the eighth character with the checksum the
-corresponds to the previous seven digits. This does not
-guarantee that the ISSN corresponds to the product one
-thinks it does, or that the ISSN corresponds to any product
-at all. It only produces a string that passes the checksum
-routine. If the ISSN passed to the constructor was invalid,
-the error might have been in any of the other nine positions.
-
-=back
-
-=head2 EXPORTABLE FUNCTIONS
-
-Some functions can be used without the object interface. These
-do not use object technology behind the scenes.
-
-=over 4
-
-=item is_valid_checksum('01234567')
-
-Takes the ISSN string and runs it through the checksum
-comparison routine. Returns 1 if the ISSN is valid, 0 otherwise.
-
-=back
-
-=head1 AUTHOR
-
-Currently maintained by brian d foy C<< <[email protected]> >>.
-Sami Poikonen <[email protected]>
-
-Original module by Sami Poikonen, based on Business::ISBN by brian d foy.
-
-This module is released under the terms of the Perl Artistic License.
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright (c) 1999-2008, brian d foy, All Rights Reserved.
-
-You may redistribute this under the same terms as Perl itself.
-
-=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/t/load.t
new/Business-ISSN-1.003/t/load.t
--- old/Business-ISSN-0.91/t/load.t 2008-08-06 13:30:53.000000000 +0200
+++ new/Business-ISSN-1.003/t/load.t 2018-05-09 22:28:03.000000000 +0200
@@ -1,4 +1,3 @@
-# $Id: load.t,v 1.2 2004/09/08 00:25:42 comdog Exp $
BEGIN {
@classes = qw(Business::ISSN);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/t/pod.t
new/Business-ISSN-1.003/t/pod.t
--- old/Business-ISSN-0.91/t/pod.t 2008-08-06 13:30:53.000000000 +0200
+++ new/Business-ISSN-1.003/t/pod.t 2018-05-09 22:28:03.000000000 +0200
@@ -1,4 +1,3 @@
-# $Id$
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/t/pod_coverage.t
new/Business-ISSN-1.003/t/pod_coverage.t
--- old/Business-ISSN-0.91/t/pod_coverage.t 2008-08-06 13:30:53.000000000
+0200
+++ new/Business-ISSN-1.003/t/pod_coverage.t 2018-05-09 22:28:03.000000000
+0200
@@ -1,6 +1,5 @@
-# $Id$
use Test::More;
eval "use Test::Pod::Coverage 1.00";
plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage"
if $@;
all_pod_coverage_ok();
-
\ No newline at end of file
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/t/prereq.t
new/Business-ISSN-1.003/t/prereq.t
--- old/Business-ISSN-0.91/t/prereq.t 2008-08-06 13:30:53.000000000 +0200
+++ new/Business-ISSN-1.003/t/prereq.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-# $Id$
-use Test::More;
-eval "use Test::Prereq";
-plan skip_all => "Test::Prereq required to test dependencies" if $@;
-prereq_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/t/test_manifest
new/Business-ISSN-1.003/t/test_manifest
--- old/Business-ISSN-0.91/t/test_manifest 2008-08-06 13:30:53.000000000
+0200
+++ new/Business-ISSN-1.003/t/test_manifest 2018-05-09 22:28:03.000000000
+0200
@@ -1,6 +1,4 @@
-# $Id$
load.t
pod.t
pod_coverage.t
-#prereq.t
-issn.t
\ No newline at end of file
+issn.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Business-ISSN-0.91/xt/changes.t
new/Business-ISSN-1.003/xt/changes.t
--- old/Business-ISSN-0.91/xt/changes.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Business-ISSN-1.003/xt/changes.t 2018-05-09 22:28:03.000000000
+0200
@@ -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