Accepting request 738679 from home:tinita:branches:devel:languages:perl
- Regenerate spec with newest cpanspec * Add PERL_USE_UNSAFE_INC OBS-URL: https://build.opensuse.org/request/show/738679 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-Run-SafeHandles?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
358d3b0c5a
commit
a5416cea1c
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 15 19:20:41 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Regenerate spec with newest cpanspec
|
||||||
|
* Add PERL_USE_UNSAFE_INC
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 14 18:27:14 UTC 2015 - coolo@suse.com
|
Tue Apr 14 18:27:14 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-IPC-Run-SafeHandles
|
# spec file for package perl-IPC-Run-SafeHandles
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@@ -21,10 +21,10 @@ Version: 0.04
|
|||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name IPC-Run-SafeHandles
|
%define cpan_name IPC-Run-SafeHandles
|
||||||
Summary: Use IPC::Run and IPC::Run3 safely
|
Summary: Use IPC::Run and IPC::Run3 safely
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/IPC-Run-SafeHandles/
|
Url: https://metacpan.org/release/%{cpan_name}
|
||||||
Source: http://www.cpan.org/authors/id/C/CL/CLKAO/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/C/CL/CLKAO/%{cpan_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@@ -34,12 +34,12 @@ Requires: perl(List::MoreUtils)
|
|||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
the IPC::Run manpage and the IPC::Run3 manpage are both very upset when you
|
IPC::Run and IPC::Run3 are both very upset when you try to use them under
|
||||||
try to use them under environments where you have STDOUT and/or STDERR tied
|
environments where you have STDOUT and/or STDERR tied to something else,
|
||||||
to something else, such as under fastcgi.
|
such as under fastcgi.
|
||||||
|
|
||||||
The module adds safe-guarding code when you call the IPC::Run manpage or
|
The module adds safe-guarding code when you call IPC::Run or IPC::Run3
|
||||||
the IPC::Run3 manpage under such environment to make sure it always works.
|
under such environment to make sure it always works.
|
||||||
|
|
||||||
If you intend to release your code to work under normal envionrment as well
|
If you intend to release your code to work under normal envionrment as well
|
||||||
as under fastcgi, simply use this module _after_ the 'IPC' modules are
|
as under fastcgi, simply use this module _after_ the 'IPC' modules are
|
||||||
@@ -49,11 +49,11 @@ loaded in your code.
|
|||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
|
Reference in New Issue
Block a user