!5 【轻量级 PR】:define mod_name to opitomize the specfile
From: @huyubiao Reviewed-by: @licunlong Signed-off-by: @licunlong
This commit is contained in:
commit
93d30c16a1
@ -1,10 +1,11 @@
|
||||
Name: perl-Unicode-EastAsianWidth
|
||||
%define mod_name Unicode-EastAsianWidth
|
||||
Name: perl-%{mod_name}
|
||||
Version: 12.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: East Asian Width properties
|
||||
License: CC0
|
||||
URL: https://metacpan.org/release/Unicode-EastAsianWidth
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Unicode-EastAsianWidth-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{mod_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/%{mod_name}-%{version}.tar.gz
|
||||
|
||||
Patch0: perl-Unicode-EastAsianWidth-no-inc.patch
|
||||
|
||||
@ -21,7 +22,7 @@ status of East Asian characters, as specified in
|
||||
<http://www.unicode.org/unicode/reports/tr11/>.
|
||||
|
||||
%prep
|
||||
%autosetup -n Unicode-EastAsianWidth-%{version} -p1
|
||||
%autosetup -n %{mod_name}-%{version} -p1
|
||||
rm -rf inc/*
|
||||
|
||||
%build
|
||||
@ -44,6 +45,9 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Oct 25 2022 huyubiao <huyubiao@huawei.com> - 12.0-2
|
||||
- define mod_name to opitomize the specfile
|
||||
|
||||
* Wed Jul 22 2020 dingyue <dingyue5@huawei.com> - 12.0-1
|
||||
- Package update
|
||||
* Thu Dec 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.33-15
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user