- updated to 3.30

- Fix missing parent prereq in META.{yml,json} and NotBuild.PL
        (Dagfinn Ilmari Mannsåker, #89650)
      - Respect PERL5LIB in tainting source handler test (Dagfinn Ilmari Mannsåker, 
        Leon Timmermans)
      - Use base instead of parent:
        This dist is used for testing all other modules, so it should avoid
        having any non-core prerequisites.  Having parent as a prereq leads to a
        circular dependency of parent -> Test::More -> Test::Harness. (Graham Knop)
      - Various POD fixes (Nathan Gary Glenn)
      - Don't localize all of %ENV in harness.t (Craig Berry)
      - Give TAP::Harness::Beyond a unique NAME (Leon Timmermans)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=17
This commit is contained in:
Stephan Kulow 2013-11-26 14:21:57 +00:00 committed by Git OBS Bridge
parent 3b43c5fe15
commit 7f38fe6b7f
4 changed files with 48 additions and 32 deletions

View File

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

3
Test-Harness-3.30.tar.gz Normal file
View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Nov 26 13:56:58 UTC 2013 - coolo@suse.com
- updated to 3.30
- Fix missing parent prereq in META.{yml,json} and NotBuild.PL
(Dagfinn Ilmari Mannsåker, #89650)
- Respect PERL5LIB in tainting source handler test (Dagfinn Ilmari Mannsåker,
Leon Timmermans)
- Use base instead of parent:
This dist is used for testing all other modules, so it should avoid
having any non-core prerequisites. Having parent as a prereq leads to a
circular dependency of parent -> Test::More -> Test::Harness. (Graham Knop)
- Various POD fixes (Nathan Gary Glenn)
- Don't localize all of %ENV in harness.t (Craig Berry)
- Give TAP::Harness::Beyond a unique NAME (Leon Timmermans)
-------------------------------------------------------------------
Thu Oct 17 18:55:47 UTC 2013 - lars@linux-schulserver.de

View File

@ -17,58 +17,58 @@
Name: perl-Test-Harness
Version: 3.30
Release: 0
%define cpan_name Test-Harness
Summary: Run Perl standard test scripts with statistics
License: Artistic-1.0
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Version: 3.29
Release: 0
Url: http://search.cpan.org/perldoc?Test::Harness
Source: %{cpan_name}-%{version}.tar.gz
Url: http://search.cpan.org/dist/Test-Harness/
Source: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-doc
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::Manifest)
BuildRequires: perl(Pod::Usage) >= 1.12
Requires: perl(Pod::Usage) >= 1.12
%{perl_requires}
%description
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.
Although, for historical reasons, the the Test::Harness manpage
distribution takes its name from this module it now exists only to provide
the TAP::Harness manpage with an interface that is somewhat backwards
compatible with the Test::Harness manpage 2.xx. If you're writing new code
consider using the TAP::Harness manpage directly instead.
Emulation is provided for runtests and execute_tests but the pluggable '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.
Emulation is provided for 'runtests' and 'execute_tests' but the pluggable
'Straps' interface that previous versions of the Test::Harness manpage
supported is not reproduced here. Straps is now available as a stand alone
module: the Test::Harness::Straps manpage.
See TAP::Parser, TAP::Harness for the main documentation for this distribution.
See the TAP::Parser manpage, the TAP::Harness manpage for the main
documentation for this distribution.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
# MANUAL
chmod a+x t/source_tests/source.sh t/source_tests/source_args.sh
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
make %{?jobs:-j%jobs}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test PERL_TEST_POD=1
%{__make} test
%install
%perl_make_install
%{__rm} %{buildroot}%{_mandir}/man1/prove.1*
# MANUAL
rm %{buildroot}%_mandir/man1/prove.1
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-, root, root)
%doc README Changes
# conflict with perl
%exclude /usr/bin/prove
%exclude %{_mandir}/man?/*
%defattr(-,root,root,755)
%doc Changes Changes-2.64 examples MANIFEST.CUMMULATIVE README xt
%changelog