!6 【轻量级 PR】:添加%{mod_name}宏
From: @hongjinghao Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
13048f22db
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user