define mod_name to opitomize the specfile
This commit is contained in:
parent
710cd664db
commit
2dadf61805
@ -1,11 +1,13 @@
|
||||
Name: perl-Params-Check
|
||||
%define mod_name Params-Check
|
||||
|
||||
Name: perl-%{mod_name}
|
||||
Epoch: 1
|
||||
Version: 0.38
|
||||
Release: 418
|
||||
Release: 419
|
||||
Summary: Generic input parsing/checking mechanism
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Params-Check
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Params-Check-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{mod_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{mod_name}-%{version}.tar.gz
|
||||
|
||||
|
||||
BuildArch: noarch
|
||||
@ -31,7 +33,7 @@ BuildArch: noarch
|
||||
Man pages and other related documents for cronie.
|
||||
|
||||
%prep
|
||||
%autosetup -n Params-Check-%{version} -p1
|
||||
%autosetup -n %{mod_name}-%{version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
||||
@ -53,6 +55,9 @@ make test TEST_VERBOSE=1
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 26 2022 wangyuhang <wangyuhang27@huawei.com> - 1:0.38-419
|
||||
- define mod_name to opitomize the specfile
|
||||
|
||||
* Wed Aug 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:0.38-418
|
||||
- Package init
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user