Accepting request 251646 from devel:languages:perl

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/251646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Business-ISBN-Data?expand=0&rev=18
This commit is contained in:
Stephan Kulow 2014-09-25 06:42:29 +00:00 committed by Git OBS Bridge
commit fce6b91b56
4 changed files with 18 additions and 9 deletions

View File

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Sep 21 13:42:01 UTC 2014 - lars@linux-schulserver.de
- updated to 20140910.001:
* Update to the latest data (2014-09-10)
- fix perl path in make_data.pl
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 4 11:43:57 UTC 2013 - coolo@suse.com Tue Jun 4 11:43:57 UTC 2013 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Business-ISBN-Data # spec file for package perl-Business-ISBN-Data
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,10 +17,10 @@
Name: perl-Business-ISBN-Data Name: perl-Business-ISBN-Data
Version: 20120719.001 Version: 20140910.001
Release: 0 Release: 0
%define cpan_name Business-ISBN-Data %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+ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Business-ISBN-Data/ Url: http://search.cpan.org/dist/Business-ISBN-Data/
@ -30,8 +30,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.95 BuildRequires: perl(Test::More) >= 0.95
#BuildRequires: perl(LWP::Simple)
Requires: perl(Test::More) >= 0.95 Requires: perl(Test::More) >= 0.95
#BuildRequires: perl(Test::Pod)
#BuildRequires: perl(Test::Pod::Coverage)
%{perl_requires} %{perl_requires}
%description %description
@ -54,12 +55,13 @@ 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 the module falls back to data included in _Data.pm_. However, that data is
likely to be older data. likely to be older data.
The data are in '%Business::ISBN::country_data' (although the "country" 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 part is historical). If you want to see where the data are from, check
'$Business::ISBN::country_data{_source}'. '$Business::ISBN::country_data{_source}'.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
sed -i "s|^#!/usr/local/bin/.*|%{_bindir}/perl|" make_data.pl
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor