From 0b8b1d1071d6b7148b5d9b00a42c9f39343cc9aa Mon Sep 17 00:00:00 2001 From: hongjinghao Date: Tue, 1 Nov 2022 01:20:03 +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-Pod-Usage.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/perl-Pod-Usage.spec b/perl-Pod-Usage.spec index d6ddb1f..32cc955 100644 --- a/perl-Pod-Usage.spec +++ b/perl-Pod-Usage.spec @@ -1,11 +1,13 @@ -Name: perl-Pod-Usage +%define mod_name Pod-Usage + +Name: perl-%{mod_name} Epoch: 4 Version: 2.03 -Release: 1 +Release: 2 Summary: Print a usage message from embedded pod documentation License: GPL+ or Artistic-1.0 -URL: https://metacpan.org/release/Pod-Usage -Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Usage-%{version}.tar.gz +URL: https://metacpan.org/release/%{mod_name} +Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/%{mod_name}-%{version}.tar.gz BuildArch: noarch @@ -27,7 +29,7 @@ command line options and arguments. If the verbose level is 2, then the entire m %package_help %prep -%autosetup -n Pod-Usage-%{version} -p1 +%autosetup -n %{mod_name}-%{version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 @@ -52,6 +54,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Nov 1 2022 hongjinghao - 4:2.03-2 +- use %{mod_name} marco + * Tue Oct 25 2022 zhangyao - 4:2.03-1 - upgrade version to 2.03