diff --git a/perl-Module-Implementation.spec b/perl-Module-Implementation.spec index 2504a4b82b7d2e5c99b1ef8c06ec937648723185..a97c3f9f1cf5f8f99014deb98784846029b19295 100644 --- a/perl-Module-Implementation.spec +++ b/perl-Module-Implementation.spec @@ -2,12 +2,12 @@ Name: perl-Module-Implementation Version: 0.09 -Release: 1 +Release: 2 Summary: Loads one of several alternate underlying implementations for a module License: Artistic 2.0 Group: Development/Libraries -URL: http://search.cpan.org/dist/Module-Implementation/ -Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Module-Implementation-%{version}.tar.gz +URL: https://search.cpan.org/dist/Module-Implementation/ +Source0: https://www.cpan.org/authors/id/D/DR/DROLSKY/Module-Implementation-%{version}.tar.gz BuildArch: noarch @@ -29,7 +29,6 @@ Requires: perl(Module::Runtime) >= 0.012 Requires: perl(strict) Requires: perl(Try::Tiny) Requires: perl(warnings) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module abstracts out the process of choosing one of several underlying @@ -55,50 +54,26 @@ implementations. %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %install -export PERL_MM_OPT="" -rm -rf $RPM_BUILD_ROOT - make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* -pushd %{buildroot} -touch filelist.lst -if [ -d usr/bin ];then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ];then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ];then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib ];then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -popd -mv %{buildroot}/filelist.lst . - %check make test -%clean -rm -rf $RPM_BUILD_ROOT - -%files -f filelist.lst -%defattr(-,root,root,-) +%files %doc Changes dist.ini LICENSE META.json README.md %{perl_vendorlib}/* %files help -%{_mandir}/* +%{_mandir}/man?/* %changelog +* Sat Jan 18 2025 Funda Wang - 0.09-2 +- drop useless perl(:MODULE_COMPAT) requirement + * Thu Jul 14 2022 wangshuo - 0.09-1 - Specfile autogenerated by Perl_Bot