define mod_name to opitomize the specfile
Signed-off-by: Mingtai <yangmingtai@huawei.com>
This commit is contained in:
parent
f1093d6f1f
commit
049ef80a46
@ -1,12 +1,12 @@
|
||||
%global base_version 1.26
|
||||
|
||||
Name: perl-Unicode-Normalize
|
||||
%define mod_name Unicode-Normalize
|
||||
Name: perl-%{mod_name}
|
||||
Version: 1.28
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Unicode Normalization Forms
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Unicode-Normalize
|
||||
Source0: https://cpan.metacpan.org/authors/id/K/KH/KHW/Unicode-Normalize-%{base_version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{mod_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/K/KH/KHW/%{mod_name}-%{base_version}.tar.gz
|
||||
|
||||
Patch6000: backport-Update-1.27.patch
|
||||
Patch6001: backport-Update-1.28.patch
|
||||
@ -24,7 +24,7 @@ representation(Unicode Standard Annex #15).
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n Unicode-Normalize-%{base_version} -p1
|
||||
%autosetup -n %{mod_name}-%{base_version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}"
|
||||
@ -55,6 +55,9 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 24 2022 yangmingtai <yangmingtai@huawei.com> - 1.28-2
|
||||
- define mod_name to opitomize the specfile
|
||||
|
||||
* Mon Dec 27 2021 guozhaorui<guozhaorui1@huawei.com> - 1.28-1
|
||||
- update version to 1.28
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user