2019-09-30 11:12:34 -04:00
|
|
|
Name: perl-IPC-Cmd
|
|
|
|
|
Epoch: 2
|
|
|
|
|
Version: 1.04
|
2019-11-06 19:46:21 +08:00
|
|
|
Release: 2
|
2019-09-30 11:12:34 -04:00
|
|
|
Summary: Finding and running system commands made easy
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/IPC-Cmd
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/IPC-Cmd-%{version}.tar.gz
|
|
|
|
|
# From RedHat https://bugzilla.redhat.com/show_bug.cgi?id=1129443
|
|
|
|
|
Patch0: IPC-Cmd-0.96-Replace-EU-MM-dependency-with-EU-MM-Utils.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
#For build:
|
|
|
|
|
BuildRequires: make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
# For run:
|
|
|
|
|
BuildRequires: perl(Carp) perl(constant) perl(Exporter) perl(ExtUtils::MM::Utils) perl(File::Spec)
|
2019-11-06 19:46:21 +08:00
|
|
|
BuildRequires: perl(FileHandle) perl(IO::Handle) perl(IO::Select) perl(IPC::Open3)
|
|
|
|
|
BuildRequires: perl(Locale::Maketext::Simple) perl(Module::Load::Conditional) >= 0.66
|
2019-09-30 11:12:34 -04:00
|
|
|
BuildRequires: perl(Params::Check) >= 0.20 perl(POSIX) perl(Socket) perl(strict) perl(Symbol) perl(Text::ParseWords)
|
|
|
|
|
BuildRequires: perl(Time::HiRes) perl(vars)
|
|
|
|
|
#For test:
|
|
|
|
|
BuildRequires: perl(Data::Dumper) perl(File::Temp) perl(lib) perl(Test::More) perl(warnings)
|
|
|
|
|
# Dependencies:
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(ExtUtils::MM::Utils)
|
|
|
|
|
Requires: perl(FileHandle)
|
|
|
|
|
Requires: perl(IO::Handle)
|
|
|
|
|
Requires: perl(IO::Select)
|
|
|
|
|
Requires: perl(IPC::Open3)
|
|
|
|
|
Suggests: perl(IPC::Run) >= 0.55
|
|
|
|
|
Requires: perl(Module::Load::Conditional) >= 0.66
|
|
|
|
|
Requires: perl(Params::Check) >= 0.20
|
|
|
|
|
Requires: perl(POSIX)
|
|
|
|
|
Requires: perl(Socket)
|
|
|
|
|
Requires: perl(Time::HiRes)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
IPC::Cmd allows for the searching and execution of any binary on your system.
|
|
|
|
|
It adheres to verbosity settings and is able to run intereactive.
|
|
|
|
|
It also has an option to capture output/error buffers.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n IPC-Cmd-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc CHANGES README
|
|
|
|
|
%{perl_vendorlib}/IPC/
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man3/IPC::Cmd.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2019-11-06 19:46:21 +08:00
|
|
|
* Mon Oct 28 2019 shenyangyang <shenyangyang4@huawei.com> - 2:1.04-2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete unneeded build requires of perl(IPC::Run)
|
|
|
|
|
|
|
|
|
|
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:1.04-1
|
2019-09-30 11:12:34 -04:00
|
|
|
- Package init
|