diff --git a/perl-Test-Simple.spec b/perl-Test-Simple.spec index 9994be4dc719b748bfd1dd2a36904dead2ae3143..d6df90f6f92480b0a2cc34b8da367013a7cc3fa6 100644 --- a/perl-Test-Simple.spec +++ b/perl-Test-Simple.spec @@ -1,11 +1,12 @@ -Name: perl-Test-Simple +%define mod_name Test-Simple +Name: perl-%{mod_name} Summary: Basic utilities for writing tests Epoch: 2 Version: 1.302188 -Release: 1 +Release: 2 License: (GPL+ or Artistic) and CC0 and Public Domain -URL: https://metacpan.org/release/Test-Simple -Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Simple-%{version}.tar.gz +URL: https://metacpan.org/release/%{mod_name} +Source0: https://cpan.metacpan.org/modules/by-module/Test/%{mod_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils, make @@ -28,10 +29,10 @@ Provides: perl-Test2 = %{version}-%{release} This package provides the bulk of the core testing facilities. For more information, see perldoc for Test::Simple, Test::More, etc. -This package is the CPAN component of the dual-lifed core package Test-Simple. +This package is the CPAN component of the dual-lifed core package %{mod_name}. %prep -%setup -q -n Test-Simple-%{version} +%setup -q -n %{mod_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 @@ -65,6 +66,9 @@ make test AUTHOR_TESTING=1 %{_mandir}/man3/Test* %changelog +* Tue Oct 25 2022 zhoushuiqing - 1.302188-2 +- define mod_name to opitomize the specfile + * Mon Nov 22 2021 liudabo - 1.302188-1 - upgrade version to 1.302188