Accepting request 349643 from devel:languages:perl

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/349643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Business-ISBN-Data?expand=0&rev=20
This commit is contained in:
2015-12-20 09:52:35 +00:00
committed by Git OBS Bridge
6 changed files with 48 additions and 28 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e2413d6672f6cbbfad61caa2d6eb315382bb5bc09db5157c8107cbdc98ecbae
size 16522

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c756048c9b2b76ae5a7b9f1e1f6c59af670ff89b1fa574d4c3d7e4c9659685c9
size 21156

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#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

View File

@@ -1,14 +0,0 @@
Index: Business-ISBN-Data-20140910.002/lib/Business/ISBN/Data.pm
===================================================================
--- Business-ISBN-Data-20140910.002.orig/lib/Business/ISBN/Data.pm
+++ Business-ISBN-Data-20140910.002/lib/Business/ISBN/Data.pm
@@ -375,7 +375,8 @@ $Business::ISBN::MAX_COUNTRY_CODE_LENGTH
( sort { $a <=> $b } grep { ! /\A_/ } keys %Business::ISBN::country_data )[-1]
);
-package Business::ISBN;
+package
+ Business::ISBN;
sub isbn_group_code_string_from_number {
return if $_[0] =~ /\A_/;

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Dec 17 09:40:25 UTC 2015 - coolo@suse.com
- 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)
-------------------------------------------------------------------
Thu Feb 19 13:24:45 UTC 2015 - coolo@suse.com

View File

@@ -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 @@ 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
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 @@ part is historical). If you want to see where the data are from, check
%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 @@ sed -i "s|^#!/usr/local/bin/.*|%{_bindir}/perl|" make_data.pl
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples LICENSE README
%doc Changes examples LICENSE
%changelog