diff --git a/perl-IPC-Run-SafeHandles.changes b/perl-IPC-Run-SafeHandles.changes index 09a57e1..5f0b114 100644 --- a/perl-IPC-Run-SafeHandles.changes +++ b/perl-IPC-Run-SafeHandles.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 15 19:20:41 UTC 2019 - Tina Mueller + +- Regenerate spec with newest cpanspec + * Add PERL_USE_UNSAFE_INC + ------------------------------------------------------------------- Tue Apr 14 18:27:14 UTC 2015 - coolo@suse.com diff --git a/perl-IPC-Run-SafeHandles.spec b/perl-IPC-Run-SafeHandles.spec index 00da9fb..6d4edf3 100644 --- a/perl-IPC-Run-SafeHandles.spec +++ b/perl-IPC-Run-SafeHandles.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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 %define cpan_name IPC-Run-SafeHandles 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 -Url: http://search.cpan.org/dist/IPC-Run-SafeHandles/ -Source: http://www.cpan.org/authors/id/C/CL/CLKAO/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/C/CL/CLKAO/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -34,12 +34,12 @@ Requires: perl(List::MoreUtils) %{perl_requires} %description -the IPC::Run manpage and the IPC::Run3 manpage are both very upset when you -try to use them under environments where you have STDOUT and/or STDERR tied -to something else, such as under fastcgi. +IPC::Run and IPC::Run3 are both very upset when you try to use them under +environments where you have STDOUT and/or STDERR tied to something else, +such as under fastcgi. -The module adds safe-guarding code when you call the IPC::Run manpage or -the IPC::Run3 manpage under such environment to make sure it always works. +The module adds safe-guarding code when you call IPC::Run or IPC::Run3 +under such environment to make sure it always works. 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 @@ -49,11 +49,11 @@ loaded in your code. %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install