diff --git a/cpanspec.yml b/cpanspec.yml index 414fd0d..7e1bda9 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -16,8 +16,10 @@ post_prep: |- chmod a+x t/source_tests/source.sh t/source_tests/source_args.sh #post_build: |- # rm unused.files -#post_install: |- -# sed on %{name}.files +post_install: |- + 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 #skip_noarch: 1 #custom_build: |- diff --git a/perl-Test-Harness.changes b/perl-Test-Harness.changes index c25a48b..1924f15 100644 --- a/perl-Test-Harness.changes +++ b/perl-Test-Harness.changes @@ -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 diff --git a/perl-Test-Harness.spec b/perl-Test-Harness.spec index ca24046..d90ee91 100644 --- a/perl-Test-Harness.spec +++ b/perl-Test-Harness.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -33,22 +33,23 @@ BuildRequires: perl-macros %{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. +'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 ! -name \*.pl -print0 | xargs -0 chmod 644 +find . -type f -print0 | xargs -0 chmod 644 # MANUAL BEGIN chmod a+x t/source_tests/source.sh t/source_tests/source_args.sh # MANUAL END @@ -63,6 +64,10 @@ chmod a+x t/source_tests/source.sh t/source_tests/source_args.sh %install %perl_make_install %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 %files -f %{name}.files