diff --git a/Business-ISBN-Data-20191107.tar.gz b/Business-ISBN-Data-20191107.tar.gz new file mode 100644 index 0000000..615ac92 Binary files /dev/null and b/Business-ISBN-Data-20191107.tar.gz differ diff --git a/Business-ISBN-Data-shellbang.patch b/Business-ISBN-Data-shellbang.patch new file mode 100644 index 0000000..4903200 --- /dev/null +++ b/Business-ISBN-Data-shellbang.patch @@ -0,0 +1,22 @@ +From 9671a6dc3bcddf0cee417c65319ee7cb0ddf954c Mon Sep 17 00:00:00 2001 +From: openEuler Buildteam +Date: Mon, 10 Feb 2020 16:46:46 +0800 +Subject: [PATCH] Business ISBN Data shellbang + +--- + make_data.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/make_data.pl b/make_data.pl +index f470df4..f0c9aff 100644 +--- a/make_data.pl ++++ b/make_data.pl +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl5.10.0 ++#!/usr/bin/perl + use 5.010; + + use strict; +-- +1.8.3.1 + diff --git a/perl-Business-ISBN-Data.spec b/perl-Business-ISBN-Data.spec new file mode 100644 index 0000000..5c72ba3 --- /dev/null +++ b/perl-Business-ISBN-Data.spec @@ -0,0 +1,48 @@ +Name: perl-Business-ISBN-Data +Version: 20191107 +Release: 1 +Summary: Data pack for Business::ISBN +License: GPL+ or Artistic +URL: https://metacpan.org/release/Business-ISBN +Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-20191107.tar.gz + +Patch0: Business-ISBN-Data-shellbang.patch +BuildArch: noarch +BuildRequires: coreutils findutils make perl-interpreter perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 +# Test Suite +BuildRequires: perl(Test::More) perl(Test::Pod) perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) + +%description +This package is the data pack for Business::ISBN + +%package_help + +%prep +%autosetup -n Business-ISBN-Data-%{version} -p1 + +chmod -c +x make_data.pl + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot} + +%check +make test + +%files +%license LICENSE +%doc Changes README.pod examples/ t/ +%{perl_vendorlib}/Business/ + +%files help +%{_mandir}/man3/Business::ISBN::Data.3* + +%changelog +* Mon Feb 10 2020 openEuler Buildteam - 20191107-1 +- Package init