2024-08-10 21:11:44 +00:00
committed by Git OBS Bridge
parent d83faa5ad3
commit adf2fd0584

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-IPC-System-Options
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,14 @@
%define cpan_name IPC-System-Options
Name: perl-IPC-System-Options
Version: 0.341
Version: 0.341.0
Release: 0
# 0.341 -> normalize -> 0.341.0
%define cpan_version 0.341
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl's system(), readpipe()/qx, IPC::Run's run(), start() (with more options)
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
@@ -31,7 +33,7 @@ BuildRequires: perl-macros
BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(File::Temp) >= 0.2307
BuildRequires: perl(IPC::Run)
BuildRequires: perl(Log::ger::Format) >= 0.018
BuildRequires: perl(Log::ger::Format) >= 0.18.0
BuildRequires: perl(Log::ger::Format::MultilevelLog)
BuildRequires: perl(Proc::ChildError)
BuildRequires: perl(String::ShellQuote)
@@ -39,11 +41,13 @@ BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
Requires: perl(Capture::Tiny)
Requires: perl(IPC::Run)
Requires: perl(Log::ger::Format) >= 0.018
Requires: perl(Log::ger::Format) >= 0.18.0
Requires: perl(Log::ger::Format::MultilevelLog)
Requires: perl(Proc::ChildError)
Requires: perl(String::ShellQuote)
Recommends: perl(Log::ger) >= 0.038
Provides: perl(IPC::System::Options) = %{version}
%undefine __perllib_provides
Recommends: perl(Log::ger) >= 0.38.0
%{perl_requires}
%description
@@ -59,7 +63,7 @@ and a few others. They are meant as a convenience so you can just call
setup and cleanup yourself.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor