2008-08-15 21:50:08 +02:00
|
|
|
#
|
|
|
|
# spec file for package perl-Test-Harness
|
|
|
|
#
|
2016-02-08 08:22:48 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-08-15 21:50:08 +02:00
|
|
|
#
|
2009-06-27 17:13:41 +02: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.
|
2008-08-15 21:50:08 +02:00
|
|
|
|
2009-06-27 17:13:41 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-11-17 15:07:30 +01:00
|
|
|
|
2008-08-15 21:50:08 +02:00
|
|
|
Name: perl-Test-Harness
|
2016-02-08 08:22:48 +01:00
|
|
|
Version: 3.36
|
2013-11-26 15:21:57 +01:00
|
|
|
Release: 0
|
2011-11-17 15:07:30 +01:00
|
|
|
%define cpan_name Test-Harness
|
2008-08-15 21:50:08 +02:00
|
|
|
Summary: Run Perl standard test scripts with statistics
|
2013-11-26 15:21:57 +01:00
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2009-06-27 17:13:41 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2013-11-26 15:21:57 +01:00
|
|
|
Url: http://search.cpan.org/dist/Test-Harness/
|
2016-02-08 08:22:48 +01:00
|
|
|
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2013-11-26 15:21:57 +01:00
|
|
|
BuildArch: noarch
|
2008-08-15 21:50:08 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-06-27 17:13:41 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2013-11-26 15:21:57 +01:00
|
|
|
%{perl_requires}
|
2008-08-15 21:50:08 +02:00
|
|
|
|
|
|
|
%description
|
2016-02-08 08:22:48 +01:00
|
|
|
Although, for historical reasons, the Test::Harness distribution takes its
|
|
|
|
name from this module it now exists only to provide TAP::Harness with an
|
|
|
|
interface that is somewhat backwards compatible with Test::Harness 2.xx. If
|
|
|
|
you're writing new code consider using TAP::Harness directly instead.
|
2008-08-15 21:50:08 +02:00
|
|
|
|
2013-11-26 15:21:57 +01:00
|
|
|
Emulation is provided for 'runtests' and 'execute_tests' but the pluggable
|
2016-02-08 08:22:48 +01:00
|
|
|
'Straps' interface that previous versions of Test::Harness supported is not
|
|
|
|
reproduced here. Straps is now available as a stand alone module:
|
|
|
|
Test::Harness::Straps.
|
2008-08-15 21:50:08 +02:00
|
|
|
|
2016-02-08 08:22:48 +01:00
|
|
|
See TAP::Parser, TAP::Harness for the main documentation for this
|
|
|
|
distribution.
|
2008-08-15 21:50:08 +02:00
|
|
|
|
|
|
|
%prep
|
2009-06-27 17:13:41 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2016-02-08 08:22:48 +01:00
|
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
|
|
|
# MANUAL BEGIN
|
2013-11-26 15:21:57 +01:00
|
|
|
chmod a+x t/source_tests/source.sh t/source_tests/source_args.sh
|
2016-02-08 08:22:48 +01:00
|
|
|
# MANUAL END
|
2008-08-15 21:50:08 +02:00
|
|
|
|
|
|
|
%build
|
2013-11-26 15:21:57 +01:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2008-08-15 21:50:08 +02:00
|
|
|
|
|
|
|
%check
|
2013-11-26 15:21:57 +01:00
|
|
|
%{__make} test
|
2008-08-15 21:50:08 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2009-06-27 17:13:41 +02:00
|
|
|
%perl_gen_filelist
|
2008-08-15 21:50:08 +02:00
|
|
|
|
2009-06-27 17:13:41 +02:00
|
|
|
%files -f %{name}.files
|
2013-11-26 15:21:57 +01:00
|
|
|
%defattr(-,root,root,755)
|
2016-02-08 08:22:48 +01:00
|
|
|
%doc Changes Changes-2.64 examples MANIFEST.CUMMULATIVE README
|
2008-08-15 21:50:08 +02:00
|
|
|
|
|
|
|
%changelog
|