!15 [sync] PR-13: 【轻量级 PR】:添加%{mod_name}宏
From: @openeuler-sync-bot Reviewed-by: @licunlong Signed-off-by: @licunlong
This commit is contained in:
commit
524e963a55
@ -1,10 +1,11 @@
|
|||||||
Name: perl-Business-ISBN-Data
|
%define mod_name Business-ISBN-Data
|
||||||
|
Name: perl-%{mod_name}
|
||||||
Version: 20210112.006
|
Version: 20210112.006
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Data pack for Business::ISBN
|
Summary: Data pack for Business::ISBN
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/pod/Business::ISBN::Data
|
URL: https://metacpan.org/pod/Business::ISBN::Data
|
||||||
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{mod_name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: Business-ISBN-Data-shellbang.patch
|
Patch0: Business-ISBN-Data-shellbang.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -20,7 +21,7 @@ This package is the data pack for Business::ISBN
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n Business-ISBN-Data-%{version} -p1
|
%autosetup -n %{mod_name}-%{version} -p1
|
||||||
|
|
||||||
chmod -c +x make_data.pl
|
chmod -c +x make_data.pl
|
||||||
|
|
||||||
@ -44,6 +45,9 @@ make test
|
|||||||
%{_mandir}/man3/Business::ISBN::Data.3*
|
%{_mandir}/man3/Business::ISBN::Data.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Mon Dec 20 2021 shixuantong <shixuantong@huawei.com> - 20210112.006-1
|
||||||
- update version to 20210112.006
|
- update version to 20210112.006
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user