From bf1ecfa59502bb2351b0f767dd6fa5819b9133c4 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sat, 18 Jan 2025 17:24:36 +0800 Subject: [PATCH] drop useless perl(:MODULE_COMPAT) requirement --- perl-IPC-Run.spec | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/perl-IPC-Run.spec b/perl-IPC-Run.spec index dcc7bf1..bb0436c 100644 --- a/perl-IPC-Run.spec +++ b/perl-IPC-Run.spec @@ -1,12 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: perl-IPC-Run Version: 20231003.0 -Release: 1 +Release: 2 Summary: System() and background procs w/ piping, redirs, ptys (Unix, Win32) -License: GPL+ or Artistic +License: GPL-1.0-or-later OR Artistic-1.0-Perl Group: Development/Libraries -URL: http://search.cpan.org/dist/IPC-Run/ -Source0: http://www.cpan.org/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz +URL: https://search.cpan.org/dist/IPC-Run/ +Source0: https://www.cpan.org/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: coreutils @@ -51,15 +51,17 @@ BuildRequires: perl(Test::More) >= 0.47 Requires: perl(Data::Dumper) Requires: perl(File::Basename) Requires: perl(IO::Pty) >= 1.08 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + %description IPC::Run allows you to run and interact with child processes using files, pipes, and pseudo-ttys. Both system()-style and scripted usages are supported and may be mixed. Likewise, functional and OO API styles are both supported and may be mixed. + %package help Summary : System() and background procs w/ piping, redirs, ptys (Unix, Win32) Provides: perl-IPC-Run-doc + %description help IPC::Run allows you to run and interact with child processes using files, pipes, and pseudo-ttys. Both system()-style and scripted usages are @@ -79,28 +81,25 @@ done %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc Changelog eg/ README.md %{perl_vendorlib}/* %files help -%{_mandir}/* +%{_mandir}/man?/* %changelog +* Sat Jan 18 2025 Funda Wang - 20231003.0-2 +- drop useless perl(:MODULE_COMPAT) requirement * Tue Jul 23 2024 gss - 20231003.0-1 - Upgrade to version 20231003.0 -- Gitee