define mod_name to opitomize the specfile
(cherry picked from commit bb71461d37a7da1dac59eb198aaa5cbfa74356f2)
This commit is contained in:
parent
e895b07f21
commit
c903e5c247
@ -1,10 +1,12 @@
|
|||||||
Name: perl-Locale-Codes
|
%define mod_name Locale-Codes
|
||||||
|
|
||||||
|
Name: perl-%{mod_name}
|
||||||
Version: 3.68
|
Version: 3.68
|
||||||
Release: 2
|
Release: 2
|
||||||
Summary: A distribution of modules to handle locale codes
|
Summary: A distribution of modules to handle locale codes
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/Locale-Codes
|
URL: https://metacpan.org/release/%{mod_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Locale-Codes-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/%{mod_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires:coreutils findutils perl-generators perl-interpreter
|
BuildRequires:coreutils findutils perl-generators perl-interpreter
|
||||||
@ -18,7 +20,7 @@ work with sets of codes which uniquely identify something.
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n Locale-Codes-%{version} -p1
|
%autosetup -n %{mod_name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
||||||
@ -52,7 +54,7 @@ make test
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Oct 20 2022 xujing <xujing99@huawei.com> - 3.68-2
|
* Thu Oct 20 2022 xujing <xujing99@huawei.com> - 3.68-2
|
||||||
- update release
|
- define mod_name to opitomize the specfile
|
||||||
|
|
||||||
* Sat Dec 25 2021 tianwei <tianwei12@huawei.com> - 3.68-1
|
* Sat Dec 25 2021 tianwei <tianwei12@huawei.com> - 3.68-1
|
||||||
- upgrade version to 3.68
|
- upgrade version to 3.68
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user