define mod_name to opitomize the specfile
This commit is contained in:
parent
58a8c93a41
commit
535819e05c
@ -1,10 +1,11 @@
|
|||||||
Name: perl-Unicode-EastAsianWidth
|
%define mod_name Unicode-EastAsianWidth
|
||||||
|
Name: perl-%{mod_name}
|
||||||
Version: 12.0
|
Version: 12.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: East Asian Width properties
|
Summary: East Asian Width properties
|
||||||
License: CC0
|
License: CC0
|
||||||
URL: https://metacpan.org/release/Unicode-EastAsianWidth
|
URL: https://metacpan.org/release/%{mod_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Unicode-EastAsianWidth-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/%{mod_name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: perl-Unicode-EastAsianWidth-no-inc.patch
|
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/>.
|
<http://www.unicode.org/unicode/reports/tr11/>.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n Unicode-EastAsianWidth-%{version} -p1
|
%autosetup -n %{mod_name}-%{version} -p1
|
||||||
rm -rf inc/*
|
rm -rf inc/*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -44,6 +45,9 @@ make test
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jul 22 2020 dingyue <dingyue5@huawei.com> - 12.0-1
|
||||||
- Package update
|
- Package update
|
||||||
* Thu Dec 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.33-15
|
* Thu Dec 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.33-15
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user