From 8a6a5d225468d1a61c50603a4727d37e61b56fae Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Thu, 15 Jun 2017 10:16:56 +0200 Subject: [PATCH] Fixed tests to build on Perl without dot in INC --- ...nst-Fix-building-on-Perl-without-dot-in-INC.patch | 12 ++++++++++++ os-autoinst.spec | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 os-autoinst-Fix-building-on-Perl-without-dot-in-INC.patch diff --git a/os-autoinst-Fix-building-on-Perl-without-dot-in-INC.patch b/os-autoinst-Fix-building-on-Perl-without-dot-in-INC.patch new file mode 100644 index 0000000..671c396 --- /dev/null +++ b/os-autoinst-Fix-building-on-Perl-without-dot-in-INC.patch @@ -0,0 +1,12 @@ +diff -up os-autoinst-97928a217534270621c278b0442b12f9b3f46419/snd2png/test.pnm.md5.orig os-autoinst-97928a217534270621c278b0442b12f9b3f46419/snd2png/test.pnm.md5 +diff -up os-autoinst-97928a217534270621c278b0442b12f9b3f46419/t/06-pod-coverage.t.orig os-autoinst-97928a217534270621c278b0442b12f9b3f46419/t/06-pod-coverage.t +--- os-autoinst-97928a217534270621c278b0442b12f9b3f46419/t/06-pod-coverage.t.orig 2017-06-15 09:58:56.477622982 +0200 ++++ os-autoinst-97928a217534270621c278b0442b12f9b3f46419/t/06-pod-coverage.t 2017-06-15 09:59:24.148502218 +0200 +@@ -3,6 +3,7 @@ + use strict; + use warnings; + ++BEGIN { push @INC, '.'; } + use Test::More; + use Test::Warnings; + use Pod::Coverage; diff --git a/os-autoinst.spec b/os-autoinst.spec index 99251f0..a1a921c 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -46,6 +46,7 @@ License: GPLv2+ Group: Development/System URL: https://os-autoinst.github.io/openQA/ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{github_name}-%{github_commit}.tar.gz +Patch0: os-autoinst-Fix-building-on-Perl-without-dot-in-INC.patch BuildRequires: autoconf BuildRequires: automake @@ -220,6 +221,7 @@ make check VERBOSE=1 %changelog * Tue Jun 06 2017 Jitka Plesnikova - 4.4-19.20170410git97928a2 - Perl 5.26 rebuild +- Fixed tests to build on Perl without dot in INC * Mon Apr 10 2017 Adam Williamson - 4.4-18.20170410git97928a2 - Bump to latest git again