2010-04-15 23:26:00 +00:00
|
|
|
#
|
2013-07-27 12:41:22 +00:00
|
|
|
# spec file for package perl-Test-Output
|
2010-04-15 23:26:00 +00:00
|
|
|
#
|
2025-01-13 21:46:01 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2010-04-15 23:26:00 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2021-02-01 10:35:44 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-04-15 23:26:00 +00:00
|
|
|
#
|
|
|
|
|
2013-07-27 12:41:22 +00:00
|
|
|
|
2021-02-01 10:35:44 +00:00
|
|
|
%define cpan_name Test-Output
|
2010-04-15 23:26:00 +00:00
|
|
|
Name: perl-Test-Output
|
2025-05-24 14:52:36 +00:00
|
|
|
Version: 1.36.0
|
2013-07-27 12:41:22 +00:00
|
|
|
Release: 0
|
2025-05-24 14:52:36 +00:00
|
|
|
# 1.036 -> normalize -> 1.36.0
|
|
|
|
%define cpan_version 1.036
|
2021-02-01 10:35:44 +00:00
|
|
|
License: Artistic-2.0
|
2023-07-11 07:38:30 +00:00
|
|
|
Summary: Utilities to test STDOUT and STDERR messages
|
2021-02-01 10:35:44 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2025-01-13 21:46:01 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BR/BRIANDFOY/%{cpan_name}-%{cpan_version}.tar.gz
|
2017-03-30 08:53:53 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:17:51 +02:00
|
|
|
Source100: README.md
|
2010-08-02 08:40:05 +00:00
|
|
|
BuildArch: noarch
|
2010-04-15 23:26:00 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2025-05-24 14:52:36 +00:00
|
|
|
BuildRequires: perl(Capture::Tiny) >= 0.170
|
2023-07-11 07:38:30 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
|
2011-05-17 12:48:32 +00:00
|
|
|
BuildRequires: perl(File::Temp) >= 0.17
|
2021-02-01 10:35:44 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 1
|
2010-04-15 23:26:00 +00:00
|
|
|
BuildRequires: perl(Test::Tester) >= 0.107
|
2025-05-24 14:52:36 +00:00
|
|
|
BuildRequires: perl(version) >= 0.86
|
|
|
|
Requires: perl(Capture::Tiny) >= 0.170
|
2011-05-17 12:48:32 +00:00
|
|
|
Requires: perl(File::Temp) >= 0.17
|
2025-01-13 21:46:01 +00:00
|
|
|
Provides: perl(Test::Output) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2011-05-17 12:48:32 +00:00
|
|
|
%{perl_requires}
|
2010-04-15 23:26:00 +00:00
|
|
|
|
|
|
|
%description
|
2021-02-11 11:07:19 +00:00
|
|
|
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.
|
2011-05-17 12:48:32 +00:00
|
|
|
|
2013-07-27 12:41:22 +00:00
|
|
|
Likewise, Capture::Tiny provides a much more robust capture mechanism
|
2014-02-09 15:06:41 +00:00
|
|
|
without than the original Test::Output::Tie.
|
2010-04-15 23:26:00 +00:00
|
|
|
|
|
|
|
%prep
|
2025-05-24 14:52:36 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
2010-04-15 23:26:00 +00:00
|
|
|
|
|
|
|
%build
|
2021-02-01 10:35:44 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2010-04-15 23:26:00 +00:00
|
|
|
|
|
|
|
%check
|
2021-02-01 10:35:44 +00:00
|
|
|
make test
|
2010-04-15 23:26:00 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2011-05-17 12:48:32 +00:00
|
|
|
%perl_process_packlist
|
2010-04-15 23:26:00 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2025-01-13 21:46:01 +00:00
|
|
|
%doc Changes SECURITY.md
|
2017-03-30 08:53:53 +00:00
|
|
|
%license LICENSE
|
2010-04-15 23:26:00 +00:00
|
|
|
|
|
|
|
%changelog
|