9
0
Files
perl-Test-Output/perl-Test-Output.spec
Pedro Monreal Gonzalez 6f76fc7ad6 Accepting request 871170 from devel:languages:perl:autoupdate
- updated to 1.033
   see /usr/share/doc/packages/perl-Test-Output/Changes
  1.033 2021-02-11T00:21:54Z
  	* v1.032 had some regressions because I released 1.031 from an
  	unmerged branch. https://github.com/briandfoy/test-output/issues/8
  	This was noticed by Tina Müller in https://github.com/os-autoinst/os-autoinst/pull/1622
  	* I didn't realize that I'd released an experiment in 2017, but
  	no own complained until it was reverted (by releasing from master).
  	The experiment worked I guess? Sub::Exporter is gone, so the
  	dependency tree for this is greatly reduced, and now it's gone
  	again.

OBS-URL: https://build.opensuse.org/request/show/871170
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Output?expand=0&rev=24
2021-02-11 11:07:19 +00:00

67 lines
1.9 KiB
RPMSpec

#
# spec file for package perl-Test-Output
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Test-Output
Name: perl-Test-Output
Version: 1.033
Release: 0
Summary: Utilities to test STDOUT and STDERR messages
License: Artistic-2.0
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Capture::Tiny) >= 0.17
BuildRequires: perl(File::Temp) >= 0.17
BuildRequires: perl(Test::More) >= 1
BuildRequires: perl(Test::Tester) >= 0.107
Requires: perl(Capture::Tiny) >= 0.17
Requires: perl(File::Temp) >= 0.17
%{perl_requires}
%description
Test::Output provides a simple interface for testing output sent to
'STDOUT' or 'STDERR'. A number of different utilities are included to try
and be as flexible as possible to the tester.
Likewise, Capture::Tiny provides a much more robust capture mechanism
without than the original Test::Output::Tie.
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes
%license LICENSE
%changelog