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