diff --git a/perl-ExtUtils-MakeMaker.spec b/perl-ExtUtils-MakeMaker.spec index 8f3010f23bfb6bd715c1193a39d46c16b3affdca..8de42a3e92d9c7d1c39d51aa6516d1fbfcc687d0 100644 --- a/perl-ExtUtils-MakeMaker.spec +++ b/perl-ExtUtils-MakeMaker.spec @@ -1,14 +1,15 @@ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)\s*$ %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(DynaLoader|ExtUtils::MakeMaker::_version\\) -Name: perl-ExtUtils-MakeMaker +%define mod_name ExtUtils-MakeMaker +Name: perl-%{mod_name} Epoch: 1 Version: 7.62 -Release: 2 +Release: 3 Summary: Create Makefile License: Artistic-1.0-Perl or GPL+ -URL: https://metacpan.org/release/ExtUtils-MakeMaker -Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-%{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 Patch0: disable-rpath-by-default.patch Patch1: ExtUtils-MakeMaker-7.30-Link-to-libperl-explicitly-on-Linux.patch @@ -64,7 +65,7 @@ This makes them easier to deal with in Makefiles. %package_help %prep -%autosetup -n ExtUtils-MakeMaker-%{version} -p1 +%autosetup -n %{mod_name}-%{version} -p1 %build export BUILDING_AS_PACKAGE=1 @@ -93,6 +94,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Oct 25 2022 huyubiao - 7.62-3 +- define mod_name to opitomize the specfile + * Wed Jun 22 2022 Chenyx - 7.62-2 - License compliance rectification