From 85fdf65cc9def377570370b853d2924cb2cc81fa Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sat, 18 Jan 2025 02:16:24 +0800 Subject: [PATCH] drop useless perl(:MODULE_COMPAT) requirement --- perl-File-Find-Rule-Perl.spec | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/perl-File-Find-Rule-Perl.spec b/perl-File-Find-Rule-Perl.spec index 919129f..7ee58d0 100644 --- a/perl-File-Find-Rule-Perl.spec +++ b/perl-File-Find-Rule-Perl.spec @@ -1,12 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: perl-File-Find-Rule-Perl Version: 1.16 -Release: 1 +Release: 2 Summary: Common rules for searching for Perl things License: GPL-1.0-or-later or Artistic-1.0 Group: Development/Libraries -URL: http://search.cpan.org/dist/File-Find-Rule-Perl/ -Source0: http://www.cpan.org/authors/id/E/ET/ETHER/File-Find-Rule-Perl-%{version}.tar.gz +URL: https://search.cpan.org/dist/File-Find-Rule-Perl/ +Source0: https://www.cpan.org/authors/id/E/ET/ETHER/File-Find-Rule-Perl-%{version}.tar.gz # Filter out the files rpm generates in sourcedir. Patch0001: 0001-File-Find-Rule-Perl-1.16-fedora.patch BuildArch: noarch @@ -22,20 +22,24 @@ Requires: perl(File::Find::Rule) >= 0.20 Requires: perl(File::Spec) >= 0.82 Requires: perl(Params::Util) >= 0.38 Requires: perl(Parse::CPAN::Meta) >= 1.38 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + %description I write a lot of things that muck with Perl files. And it always annoyed me that finding "perl files" requires a moderately complex File::Find::Rule pattern. + %package help Summary : Common rules for searching for Perl things Provides: perl-File-Find-Rule-Perl-doc + %description help I write a lot of things that muck with Perl files. And it always annoyed me that finding "perl files" requires a moderately complex File::Find::Rule pattern. + %prep %autosetup -n File-Find-Rule-Perl-%{version} -p1 + %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} @@ -47,17 +51,17 @@ File::Find::Rule pattern. %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc Changes %{perl_vendorlib}/* + %files help -%{_mandir}/* +%{_mandir}/man?/* %changelog +* Sat Jan 18 2025 Funda Wang - 1.16-2 +- drop useless perl(:MODULE_COMPAT) requirement + * Tue Jun 21 2022 SimpleUpdate Robot - 1.16-1 - Upgrade to version 1.16 -- Gitee