!17 添加mod_name宏
From: @hongjinghao Reviewed-by: @licunlong Signed-off-by: @licunlong
This commit is contained in:
commit
0648eecd64
@ -1,12 +1,13 @@
|
||||
%global base_version 1.9764
|
||||
Name: perl-Time-HiRes
|
||||
%define mod_name Time-HiRes
|
||||
Name: perl-%{mod_name}
|
||||
Epoch: 4
|
||||
Version: 1.9767
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: High resolution time, sleep, and alarm for perl
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Time-HiRes
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/Time-HiRes-%{base_version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{mod_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/%{mod_name}-%{base_version}.tar.gz
|
||||
|
||||
Patch6000: backport-Time-HiRes-1.9764-Upgrade-to-1.9767.patch
|
||||
|
||||
@ -23,7 +24,7 @@ to implement time, sleep, and alarm that know about non-integral seconds.
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n Time-HiRes-%{base_version} -p1
|
||||
%autosetup -n %{mod_name}-%{base_version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
@ -53,6 +54,9 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 24 2022 hongjinghao <hongjinghao@huawei.com> 4:1.9767-3
|
||||
- add mod_name marco
|
||||
|
||||
* Mon Apr 18 2022 liudabo <liudabo1@h-partners.com> 4:1.9767-2
|
||||
- Modify Epoch to ensure upgrade continuity
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user