!4 use base_name to optimize the specfile
From: @wangyuhang27 Reviewed-by: @licunlong Signed-off-by: @licunlong
This commit is contained in:
commit
c16e9ecf0b
@ -1,13 +1,13 @@
|
||||
%global base_name Time-Local
|
||||
%global base_version 1.30
|
||||
|
||||
Name: perl-Time-Local
|
||||
Name: perl-%{base_name}
|
||||
Epoch: 2
|
||||
Version: %{base_version}0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Efficiently compute time from local and GMT time
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Time-Local
|
||||
URL: https://metacpan.org/release/%{base_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{base_name}-%{base_version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
@ -47,11 +47,15 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 26 2022 wangyuhang <wangyuhang27@huawei.com> - 2:1.300-2
|
||||
- use base_name to opitomize the specfile
|
||||
|
||||
* Wed Jul 22 2020 dingyue<dingyue5@huawei.com> - 2:1.300-1
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:change mod of files
|
||||
|
||||
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:1.280-6
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user