Accepting request 914009 from devel:languages:perl:autoupdate
- updated to 0.13
see /usr/share/doc/packages/perl-TAP-Formatter-JUnit/Changes
0.13 2021-05-04 10:04:17-07:00 America/Vancouver
- Fix install of "script/tap2junit"
0.12 2021-01-05 21:23:07-08:00 America/Vancouver
- Switch to Dist::Zilla for release management.
- Various POD fixups; syntax, spelling, SYNOPSIS fixes
- Cleaned up and removed unused variables
- Bump minimum required Perl to 5.008, as that's the oldest version I can
still test against.
OBS-URL: https://build.opensuse.org/request/show/914009
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-TAP-Formatter-JUnit?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
c08234e467
commit
d788111d0b
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e1a6ce930c5103195ae89ec6d33407315610f8f3f3f89cee6f8db5a128f8cd14
|
|
||||||
size 23455
|
|
||||||
3
TAP-Formatter-JUnit-0.13.tar.gz
Normal file
3
TAP-Formatter-JUnit-0.13.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e87077ff7d7ccae36634d7d79fb85cc130dee9cead6fb83d484bb6c03f9459b6
|
||||||
|
size 33109
|
||||||
35
cpanspec.yml
Normal file
35
cpanspec.yml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
# baz.patch: PATCH-FIX-OPENSUSE
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
||||||
|
#skip_doc: regexp_to_skip_for_doc.*
|
||||||
|
#add_doc: files to add to docs
|
||||||
|
#misc: |-
|
||||||
|
#anything else to be added to spec file
|
||||||
|
#follows directly after %files section, so it can contain new blocks or also
|
||||||
|
#changes to %files section
|
||||||
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 5 03:07:59 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 0.13
|
||||||
|
see /usr/share/doc/packages/perl-TAP-Formatter-JUnit/Changes
|
||||||
|
|
||||||
|
0.13 2021-05-04 10:04:17-07:00 America/Vancouver
|
||||||
|
- Fix install of "script/tap2junit"
|
||||||
|
|
||||||
|
0.12 2021-01-05 21:23:07-08:00 America/Vancouver
|
||||||
|
- Switch to Dist::Zilla for release management.
|
||||||
|
- Various POD fixups; syntax, spelling, SYNOPSIS fixes
|
||||||
|
- Cleaned up and removed unused variables
|
||||||
|
- Bump minimum required Perl to 5.008, as that's the oldest version I can
|
||||||
|
still test against.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 20 17:18:45 UTC 2015 - mlatimer@suse.com
|
Mon Jul 20 17:18:45 UTC 2015 - mlatimer@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-TAP-Formatter-JUnit
|
# spec file for package perl-TAP-Formatter-JUnit
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,67 +12,86 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define cpan_name TAP-Formatter-JUnit
|
%define cpan_name TAP-Formatter-JUnit
|
||||||
|
Name: perl-TAP-Formatter-JUnit
|
||||||
Name: perl-%cpan_name
|
Version: 0.13
|
||||||
Version: 0.11
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Harness output delegate for JUnit output
|
Summary: Harness output delegate for JUnit output
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Provides: %cpan_name
|
Source0: https://cpan.metacpan.org/authors/id/G/GT/GTERMARS/%{cpan_name}-%{version}.tar.gz
|
||||||
Url: http://search.cpan.org/dist/TAP-Formatter-JUnit/
|
Source1: cpanspec.yml
|
||||||
Source: %cpan_name-%{version}.tar.gz
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(File::Slurp)
|
BuildRequires: perl(File::Slurp)
|
||||||
BuildRequires: perl(IO::Stringy)
|
BuildRequires: perl(IO::Scalar)
|
||||||
BuildRequires: perl(IPC::Run)
|
BuildRequires: perl(IPC::Run)
|
||||||
BuildRequires: perl(Module::Build)
|
|
||||||
BuildRequires: perl(Moose)
|
BuildRequires: perl(Moose)
|
||||||
BuildRequires: perl(MooseX::NonMoose)
|
BuildRequires: perl(MooseX::NonMoose)
|
||||||
BuildRequires: perl(Test::Harness)
|
BuildRequires: perl(TAP::Harness) >= 3.12
|
||||||
|
BuildRequires: perl(Test::DiagINC) >= 0.002
|
||||||
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
BuildRequires: perl(Test::XML)
|
BuildRequires: perl(Test::XML)
|
||||||
BuildRequires: perl(XML::Generator)
|
BuildRequires: perl(XML::Generator)
|
||||||
|
BuildRequires: perl(namespace::clean)
|
||||||
Requires: perl(File::Slurp)
|
Requires: perl(File::Slurp)
|
||||||
Requires: perl(Moose)
|
Requires: perl(Moose)
|
||||||
Requires: perl(MooseX::NonMoose)
|
Requires: perl(MooseX::NonMoose)
|
||||||
|
Requires: perl(TAP::Harness) >= 3.12
|
||||||
Requires: perl(XML::Generator)
|
Requires: perl(XML::Generator)
|
||||||
|
Requires: perl(namespace::clean)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides JUnit output formatting for TAP::Harness (a replacement
|
*This code is currently in alpha state and is subject to change.*
|
||||||
for Test::Harness).
|
|
||||||
|
|
||||||
Authors:
|
'TAP::Formatter::JUnit' provides JUnit output formatting for
|
||||||
--------
|
'TAP::Harness'.
|
||||||
Graham TerMarsch
|
|
||||||
|
By default (e.g. when run with _prove_), the _entire_ test suite is
|
||||||
|
gathered together into a single JUnit XML document, which is then displayed
|
||||||
|
on 'STDOUT'. You can, however, have individual JUnit XML files dumped for
|
||||||
|
each individual test, by setting 'PERL_TEST_HARNESS_DUMP_TAP' to a
|
||||||
|
directory that you would like the JUnit XML dumped to. Note, that this will
|
||||||
|
*also* cause 'TAP::Harness' to dump the original TAP output into that
|
||||||
|
directory as well (but IMHO that's ok as you've now got the data in two
|
||||||
|
parseable formats).
|
||||||
|
|
||||||
|
Timing information is included in the JUnit XML, _if_ you specified
|
||||||
|
'--timer' when you ran _prove_.
|
||||||
|
|
||||||
|
In standard use, a "passing TODO" is treated as failure conditions (and is
|
||||||
|
reported as such in the generated JUnit). If you wish to treat these as a
|
||||||
|
"pass" and not a "fail" condition, setting 'ALLOW_PASSING_TODOS' in your
|
||||||
|
environment will turn these into pass conditions.
|
||||||
|
|
||||||
|
The JUnit output generated is partial to being grokked by Hudson
|
||||||
|
(http://hudson.dev.java.net/). That's the build tool I'm using at the
|
||||||
|
moment and needed to be able to generate JUnit output for.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %cpan_name-%{version}
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
./Build build flags=%{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install destdir=%{buildroot} create_packlist=0
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%doc Changes README
|
||||||
%doc Changes MANIFEST README
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user