2010-09-09 14:05:08 +00:00
|
|
|
#
|
2012-06-25 11:37:50 +00:00
|
|
|
# spec file for package perl-Test-Simple
|
2010-09-09 14:05:08 +00:00
|
|
|
#
|
2025-01-30 22:23:42 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2010-09-09 14:05:08 +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.
|
|
|
|
|
2018-12-06 16:33:56 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-09-09 14:05:08 +00:00
|
|
|
#
|
|
|
|
|
2008-05-07 10:17:13 +00:00
|
|
|
|
2021-05-20 09:31:21 +00:00
|
|
|
%define cpan_name Test-Simple
|
2010-08-27 00:56:15 +00:00
|
|
|
Name: perl-Test-Simple
|
2025-06-02 15:51:14 +00:00
|
|
|
Version: 1.302214
|
2012-06-25 11:37:50 +00:00
|
|
|
Release: 0
|
2018-02-24 07:02:38 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-03-01 13:49:54 +00:00
|
|
|
Summary: Basic utilities for writing tests
|
2020-08-13 00:39:04 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2017-02-13 11:04:36 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{version}.tar.gz
|
2015-11-06 12:02:55 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:17:54 +02:00
|
|
|
Source100: README.md
|
2010-09-09 14:05:08 +00:00
|
|
|
BuildArch: noarch
|
2010-08-27 00:56:15 +00:00
|
|
|
BuildRequires: perl
|
2010-09-09 14:05:08 +00:00
|
|
|
BuildRequires: perl-macros
|
2024-08-29 07:03:54 +00:00
|
|
|
BuildRequires: perl(Term::Table) >= 0.013
|
|
|
|
Requires: perl(Term::Table) >= 0.013
|
2013-12-10 06:35:36 +00:00
|
|
|
%{perl_requires}
|
2015-11-06 12:02:55 +00:00
|
|
|
# MANUAL BEGIN
|
|
|
|
Obsoletes: perl-Test-Tester <= 0.109
|
|
|
|
Obsoletes: perl-Test-use-ok <= 0.11
|
2025-07-28 15:37:39 +00:00
|
|
|
Obsoletes: perl-Test2-Suite <= 0.163
|
2015-11-06 12:02:55 +00:00
|
|
|
# MANUAL END
|
2008-05-07 10:17:13 +00:00
|
|
|
|
|
|
|
%description
|
2016-05-25 07:33:26 +00:00
|
|
|
** If you are unfamiliar with testing *read Test::Tutorial first!* **
|
2013-12-10 06:35:36 +00:00
|
|
|
|
2010-08-27 00:56:15 +00:00
|
|
|
This is an extremely simple, extremely basic module for writing tests
|
|
|
|
suitable for CPAN modules and other pursuits. If you wish to do more
|
|
|
|
complicated testing, use the Test::More module (a drop-in replacement for
|
|
|
|
this one).
|
2008-05-07 10:17:13 +00:00
|
|
|
|
|
|
|
%prep
|
2025-01-30 22:23:42 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version} -p1
|
2023-02-15 17:16:58 +00:00
|
|
|
|
2023-04-27 15:12:53 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2008-05-07 10:17:13 +00:00
|
|
|
|
|
|
|
%build
|
2018-12-06 16:33:56 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-05-20 09:31:21 +00:00
|
|
|
%make_build
|
2010-09-09 14:05:08 +00:00
|
|
|
|
|
|
|
%check
|
2018-12-06 16:33:56 +00:00
|
|
|
make test
|
2008-05-07 10:17:13 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2010-11-30 10:15:11 +00:00
|
|
|
%perl_process_packlist
|
2010-09-09 14:05:08 +00:00
|
|
|
%perl_gen_filelist
|
2008-05-07 10:17:13 +00:00
|
|
|
|
2010-09-09 14:05:08 +00:00
|
|
|
%files -f %{name}.files
|
2023-03-10 10:44:21 +00:00
|
|
|
%doc Changes examples README README.md
|
2017-02-13 11:04:36 +00:00
|
|
|
%license LICENSE
|
2008-05-07 10:17:13 +00:00
|
|
|
|
2010-09-09 14:05:08 +00:00
|
|
|
%changelog
|