package init
This commit is contained in:
parent
ea8c7ee50a
commit
778d8686a0
BIN
Business-ISBN-Data-20191107.tar.gz
Normal file
BIN
Business-ISBN-Data-20191107.tar.gz
Normal file
Binary file not shown.
22
Business-ISBN-Data-shellbang.patch
Normal file
22
Business-ISBN-Data-shellbang.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 9671a6dc3bcddf0cee417c65319ee7cb0ddf954c Mon Sep 17 00:00:00 2001
|
||||
From: openEuler Buildteam <buildteam@openeuler.org>
|
||||
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
|
||||
|
||||
48
perl-Business-ISBN-Data.spec
Normal file
48
perl-Business-ISBN-Data.spec
Normal file
@ -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 <buildteam@openeuler.org> - 20191107-1
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user