From 7f38fe6b7f578547debc9b72614dead31f557a97be4875f0cfbbd30027100924 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 26 Nov 2013 14:21:57 +0000 Subject: [PATCH] =?UTF-8?q?-=20updated=20to=203.30=20=20=20=20=20=20=20-?= =?UTF-8?q?=20Fix=20missing=20parent=20prereq=20in=20META.{yml,json}=20and?= =?UTF-8?q?=20NotBuild.PL=20=20=20=20=20=20=20=20=20(Dagfinn=20Ilmari=20Ma?= =?UTF-8?q?nns=C3=A5ker,=20#89650)=20=20=20=20=20=20=20-=20Respect=20PERL5?= =?UTF-8?q?LIB=20in=20tainting=20source=20handler=20test=20(Dagfinn=20Ilma?= =?UTF-8?q?ri=20Manns=C3=A5ker,=20=20=20=20=20=20=20=20=20Leon=20Timmerman?= =?UTF-8?q?s)=20=20=20=20=20=20=20-=20Use=20base=20instead=20of=20parent:?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20This=20dist=20is=20used=20for=20test?= =?UTF-8?q?ing=20all=20other=20modules,=20so=20it=20should=20avoid=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20having=20any=20non-core=20prerequisites.?= =?UTF-8?q?=20=20Having=20parent=20as=20a=20prereq=20leads=20to=20a=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20circular=20dependency=20of=20parent=20->?= =?UTF-8?q?=20Test::More=20->=20Test::Harness.=20(Graham=20Knop)=20=20=20?= =?UTF-8?q?=20=20=20=20-=20Various=20POD=20fixes=20(Nathan=20Gary=20Glenn)?= =?UTF-8?q?=20=20=20=20=20=20=20-=20Don't=20localize=20all=20of=20%ENV=20i?= =?UTF-8?q?n=20harness.t=20(Craig=20Berry)=20=20=20=20=20=20=20-=20Give=20?= =?UTF-8?q?TAP::Harness::Beyond=20a=20unique=20NAME=20(Leon=20Timmermans)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Harness?expand=0&rev=17 --- Test-Harness-3.29.tar.gz | 3 -- Test-Harness-3.30.tar.gz | 3 ++ perl-Test-Harness.changes | 16 +++++++++++ perl-Test-Harness.spec | 58 +++++++++++++++++++-------------------- 4 files changed, 48 insertions(+), 32 deletions(-) delete mode 100644 Test-Harness-3.29.tar.gz create mode 100644 Test-Harness-3.30.tar.gz diff --git a/Test-Harness-3.29.tar.gz b/Test-Harness-3.29.tar.gz deleted file mode 100644 index 9dbedde..0000000 --- a/Test-Harness-3.29.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:250ba5f0887b5499bc1a5b509b143fd62a640bcae0569bfca16d938587972ce9 -size 298555 diff --git a/Test-Harness-3.30.tar.gz b/Test-Harness-3.30.tar.gz new file mode 100644 index 0000000..9792eb2 --- /dev/null +++ b/Test-Harness-3.30.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff1900f3b3e61321d3c4b3283298f3106d43d55446605e9cfcf1dcec036acec1 +size 302129 diff --git a/perl-Test-Harness.changes b/perl-Test-Harness.changes index 3aee9f7..b37161c 100644 --- a/perl-Test-Harness.changes +++ b/perl-Test-Harness.changes @@ -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 diff --git a/perl-Test-Harness.spec b/perl-Test-Harness.spec index 11abf00..ba01c22 100644 --- a/perl-Test-Harness.spec +++ b/perl-Test-Harness.spec @@ -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