diff --git a/perl-ExtUtils-Install.spec b/perl-ExtUtils-Install.spec index 4f60cb8dd85766ac9611346b7eea5a4b3cb2b562..6d984dd5e68d73e11eacb40fd180e6bc862677ac 100644 --- a/perl-ExtUtils-Install.spec +++ b/perl-ExtUtils-Install.spec @@ -1,10 +1,11 @@ -Name: perl-ExtUtils-Install +%define mod_name ExtUtils-Install +Name: perl-%{mod_name} Version: 2.20 -Release: 1 +Release: 2 Summary: Install Perl files from here to there License: GPL+ or Artistic -URL: https://metacpan.org/release/ExtUtils-Install -Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-Install-%{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: coreutils make BuildRequires: perl-interpreter perl-generators @@ -34,7 +35,7 @@ Requires: man Man pages and other related documents for %{name}. %prep -%autosetup -n ExtUtils-Install-%{version} -p1 +%autosetup -n %{mod_name}-%{version} -p1 rm -rf t/lib/Test sed -i -e '/^t\/lib\/Test\//d' MANIFEST @@ -57,6 +58,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Oct 25 2022 zhoushuiqing - 2.20-2 +- define mod_name to opitomize the specfile + * Fri Jan 29 2021 yuanxin - 2.20-1 - upgrade version to 2.20