use base_name to opitomize the specfile

This commit is contained in:
wangyuhang27 2022-10-26 17:03:46 +08:00
parent 94c04c707c
commit c38942328b

View File

@ -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