添加%{mod_name}宏

添加%{mod_name}宏

Signed-off-by: hongjinghao <hongjinghao@huawei.com>
This commit is contained in:
hongjinghao 2022-10-31 11:04:28 +00:00 committed by Gitee
parent a5328a7931
commit 5102fd3bf0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,11 +1,13 @@
%define mod_name Locale-Maketext
Name: perl-Locale-Maketext
Epoch: 1
Version: 1.29
Release: 1
Release: 2
Summary: Framework for localization
License: GPL+ or Artistic
URL: https://metacpan.org/release/Locale-Maketext
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/Locale-Maketext-%{version}.tar.gz
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{mod_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires:perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(Test::More)
@ -20,7 +22,7 @@ producing localized applications.
%package_help
%prep
%autosetup -n Locale-Maketext-1.29 -p1
%autosetup -n %{mod_name}-1.29 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
@ -51,6 +53,9 @@ make test
%{_mandir}/*/*
%changelog
* Mon Oct 31 2022 hongjinghao <hongjinghao@huawei.com> - 1.29-2
- use %{mod_name} marco
* Sat Jul 25 2020 zhanzhimin <zhanzhimin@huawei.com> - 1.29-1
- Update to 1.29 as provided in perl-5.28.0-RC1