From 884bcb3e724120c6ec942e686328f6361bf2e2e7 Mon Sep 17 00:00:00 2001 From: hongjinghao Date: Mon, 31 Oct 2022 09:23:49 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0%{mod=5Fname}=E5=AE=8F=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0%{mod=5Fname}=E5=AE=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hongjinghao --- perl-Module-Load.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/perl-Module-Load.spec b/perl-Module-Load.spec index eaf0480..44e9b0c 100644 --- a/perl-Module-Load.spec +++ b/perl-Module-Load.spec @@ -1,11 +1,13 @@ +%define mod_name Module-Load + Name: perl-Module-Load Epoch: 1 Version: 0.36 -Release: 1 +Release: 2 Summary: Runtime require of both modules and files License: GPL+ or Artistic -URL: https://metacpan.org/release/Module-Load -Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-Load-%{version}.tar.gz +URL: https://metacpan.org/release/%{mod_name} +Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{mod_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators perl perl-interpreter perl(ExtUtils::MakeMaker) perl(strict) perl(File::Spec) @@ -25,7 +27,7 @@ Module::Load eliminates the need for this overhead and will just DWYM. %package_help %prep -%autosetup -n Module-Load-%{version} -p1 +%autosetup -n %{mod_name}-%{version} -p1 %build perl Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor @@ -48,6 +50,9 @@ make test %{_mandir}/man3/* %changelog +* Mon Oct 31 2022 hongjinghao - 0.36-2 +- use %{mod_name} marco + * Tue Jan 26 2021 liudabo - 0.36-1 - upgrade version to 0.36