Accepting request 743579 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/743579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-CaptureOutput?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2019-11-01 14:13:11 +00:00 committed by Git OBS Bridge
commit 78c9e6fbc2
5 changed files with 60 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fcc732fcb438f97a72b30e8c7796484bef2562e374553b207028e2fbf73f8330
size 27651

BIN
IO-CaptureOutput-1.1105.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 28 10:51:09 UTC 2019 - <timueller+perl@suse.de>
- updated to 1.1105
see /usr/share/doc/packages/perl-IO-CaptureOutput/Changes
1.1105 2019-10-25 17:40:04-04:00 America/New_York
[META]
- Add deprecation data to META file.
-------------------------------------------------------------------
Mon Feb 2 21:53:59 UTC 2015 - mlatimer@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-IO-CaptureOutput
#
# Copyright (c) 2015 SUSE LINUX Products 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,29 +12,30 @@
# 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/
#
Name: perl-IO-CaptureOutput
Version: 1.1104
Version: 1.1105
Release: 0
%define cpan_name IO-CaptureOutput
Summary: Capture STDOUT and STDERR from Perl code, subprocesses or XS
License: Artistic-1.0 or GPL-1.0+
Summary: (DEPRECATED) capture STDOUT and STDERR from Perl code, subprocesses or XS
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/IO-CaptureOutput/
Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(version)
BuildRequires: perl(File::Spec) >= 3.27
%{perl_requires}
%description
*This module is no longer recommended by the maintainer* - see the
Capture::Tiny manpage instead.
*This module is no longer recommended by the maintainer* - see
Capture::Tiny instead.
This module provides routines for capturing STDOUT and STDERR from perl
subroutines, forked system calls (e.g. 'system()', 'fork()') and from XS or
@ -42,14 +43,14 @@ C modules.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
@ -58,6 +59,7 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING.mkdn cpanfile examples LICENSE perlcritic.rc README
%doc Changes CONTRIBUTING.mkdn examples README
%license LICENSE
%changelog