Compare commits

..

No commits in common. "0d12b5361a55730d7e4163397c1dbbdd3fed7438" and "977e5154bfb3424ec512c0e7f2a4f6aaf30fb368" have entirely different histories.

4 changed files with 33 additions and 24 deletions

Binary file not shown.

View 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

View File

@ -1,15 +1,15 @@
%define mod_name Business-ISBN-Data
Name: perl-%{mod_name}
Version: 20231220.001
Release: 1
Name: perl-Business-ISBN-Data
Version: 20191107
Release: 2
Summary: Data pack for Business::ISBN
License: GPL+ or Artistic
URL: https://metacpan.org/pod/Business::ISBN::Data
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{mod_name}-%{version}.tar.gz
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.76
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))
@ -20,7 +20,9 @@ This package is the data pack for Business::ISBN
%package_help
%prep
%autosetup -n %{mod_name}-%{version} -p1
%autosetup -n Business-ISBN-Data-%{version} -p1
chmod -c +x make_data.pl
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@ -42,21 +44,6 @@ make test
%{_mandir}/man3/Business::ISBN::Data.3*
%changelog
* Thu Jan 25 2024 zhangyao <zhangyao108@huawei.com> - 20231220.001-1
- update version to 20231220.001
* Wed Jul 26 2023 zhangyao <zhangyao108@huawei.com> - 20230719.001-1
- update version to 20230719.001
* Mon Oct 31 2022 hongjinghao <hongjinghao@huawei.com> - 20210112.006-2
- use %{mod_name} marco
* Mon Dec 20 2021 shixuantong <shixuantong@huawei.com> - 20210112.006-1
- update version to 20210112.006
* Mon Nov 22 2021 shixuantong <shixuantong@huawei.com> - 20191107-3
- fix url error in spec file
* Tue Feb 25 2020 openEuler Buildteam <buildteam@openeuler.org> - 20191107-2
- Modify the files