Stephan Kulow 2017-03-13 15:34:45 +00:00 committed by Git OBS Bridge
parent 99205df570
commit bf26ed0896
3 changed files with 25 additions and 13 deletions

View File

@ -16,8 +16,10 @@ post_prep: |-
chmod a+x t/source_tests/source.sh t/source_tests/source_args.sh chmod a+x t/source_tests/source.sh t/source_tests/source_args.sh
#post_build: |- #post_build: |-
# rm unused.files # rm unused.files
#post_install: |- post_install: |-
# sed on %{name}.files mv %buildroot/usr/bin/prove %buildroot/usr/bin/prove-cpan
mv %buildroot/usr/share/man/man1/prove.1 %buildroot/usr/share/man/man1/prove-cpan.1
#sed -i s,/prove,/prove-cpan, %{name}.files
#license: SUSE-NonFree #license: SUSE-NonFree
#skip_noarch: 1 #skip_noarch: 1
#custom_build: |- #custom_build: |-

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 13 15:34:25 UTC 2017 - coolo@suse.com
- fix build on sle12
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 8 07:05:49 UTC 2016 - coolo@suse.com Mon Feb 8 07:05:49 UTC 2016 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Test-Harness # spec file for package perl-Test-Harness
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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
@ -33,22 +33,23 @@ BuildRequires: perl-macros
%{perl_requires} %{perl_requires}
%description %description
Although, for historical reasons, the Test::Harness distribution takes its Although, for historical reasons, the the Test::Harness manpage
name from this module it now exists only to provide TAP::Harness with an distribution takes its name from this module it now exists only to provide
interface that is somewhat backwards compatible with Test::Harness 2.xx. If the TAP::Harness manpage with an interface that is somewhat backwards
you're writing new code consider using TAP::Harness directly instead. 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 Emulation is provided for 'runtests' and 'execute_tests' but the pluggable
'Straps' interface that previous versions of Test::Harness supported is not 'Straps' interface that previous versions of the Test::Harness manpage
reproduced here. Straps is now available as a stand alone module: supported is not reproduced here. Straps is now available as a stand alone
Test::Harness::Straps. module: the Test::Harness::Straps manpage.
See TAP::Parser, TAP::Harness for the main documentation for this See the TAP::Parser manpage, the TAP::Harness manpage for the main
distribution. documentation for this distribution.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 find . -type f -print0 | xargs -0 chmod 644
# MANUAL BEGIN # MANUAL BEGIN
chmod a+x t/source_tests/source.sh t/source_tests/source_args.sh chmod a+x t/source_tests/source.sh t/source_tests/source_args.sh
# MANUAL END # MANUAL END
@ -63,6 +64,10 @@ chmod a+x t/source_tests/source.sh t/source_tests/source_args.sh
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
# MANUAL BEGIN
mv %buildroot/usr/bin/prove %buildroot/usr/bin/prove-cpan
mv %buildroot/usr/share/man/man1/prove.1 %buildroot/usr/share/man/man1/prove-cpan.1
# MANUAL END
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files