From e895b07f21bbca3e97d16e8cb02da58c73a6af73 Mon Sep 17 00:00:00 2001 From: xujing Date: Thu, 20 Oct 2022 19:56:30 +0800 Subject: [PATCH 1/2] update release (cherry picked from commit 3bbea3080bba4de298a017f8ec9f9589a43cd86e) --- perl-Locale-Codes.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-Locale-Codes.spec b/perl-Locale-Codes.spec index 2e8044b..c87ef68 100644 --- a/perl-Locale-Codes.spec +++ b/perl-Locale-Codes.spec @@ -1,6 +1,6 @@ Name: perl-Locale-Codes Version: 3.68 -Release: 1 +Release: 2 Summary: A distribution of modules to handle locale codes License: GPL+ or Artistic URL: https://metacpan.org/release/Locale-Codes @@ -51,6 +51,9 @@ make test %{_mandir}/*/* %changelog +* Thu Oct 20 2022 xujing - 3.68-2 +- update release + * Sat Dec 25 2021 tianwei - 3.68-1 - upgrade version to 3.68 From c903e5c247ab4e6d2785c51f28246c9e74ac7cc1 Mon Sep 17 00:00:00 2001 From: xujing Date: Mon, 24 Oct 2022 15:50:26 +0800 Subject: [PATCH 2/2] define mod_name to opitomize the specfile (cherry picked from commit bb71461d37a7da1dac59eb198aaa5cbfa74356f2) --- perl-Locale-Codes.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/perl-Locale-Codes.spec b/perl-Locale-Codes.spec index c87ef68..dd5bf97 100644 --- a/perl-Locale-Codes.spec +++ b/perl-Locale-Codes.spec @@ -1,10 +1,12 @@ -Name: perl-Locale-Codes +%define mod_name Locale-Codes + +Name: perl-%{mod_name} Version: 3.68 Release: 2 Summary: A distribution of modules to handle locale codes License: GPL+ or Artistic -URL: https://metacpan.org/release/Locale-Codes -Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Locale-Codes-%{version}.tar.gz +URL: https://metacpan.org/release/%{mod_name} +Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/%{mod_name}-%{version}.tar.gz BuildArch: noarch BuildRequires:coreutils findutils perl-generators perl-interpreter @@ -18,7 +20,7 @@ work with sets of codes which uniquely identify something. %package_help %prep -%autosetup -n Locale-Codes-%{version} -p1 +%autosetup -n %{mod_name}-%{version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 @@ -52,7 +54,7 @@ make test %changelog * Thu Oct 20 2022 xujing - 3.68-2 -- update release +- define mod_name to opitomize the specfile * Sat Dec 25 2021 tianwei - 3.68-1 - upgrade version to 3.68