Upstream patch: tests/protocol: Contains a Perl test so we must set PERL5LIB.
This commit is contained in:
parent
5128957848
commit
a4ba2f6ba9
@ -0,0 +1,28 @@
|
|||||||
|
From 37aba887d7494a8d970a860e190bd77765d6b440 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||||
|
Date: Thu, 22 Dec 2011 19:12:14 +0000
|
||||||
|
Subject: [PATCH] tests/protocol: Contains a Perl test so we must set
|
||||||
|
PERL5LIB.
|
||||||
|
|
||||||
|
This fixes commit 498758faee6be7e989869bf7feba5e1026a1bb65.
|
||||||
|
---
|
||||||
|
tests/protocol/Makefile.am | 3 ++-
|
||||||
|
1 files changed, 2 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/protocol/Makefile.am b/tests/protocol/Makefile.am
|
||||||
|
index 0d899dd..ce9282e 100644
|
||||||
|
--- a/tests/protocol/Makefile.am
|
||||||
|
+++ b/tests/protocol/Makefile.am
|
||||||
|
@@ -32,7 +32,8 @@ TESTS_ENVIRONMENT = \
|
||||||
|
MALLOC_PERTURB_=$(random_val) \
|
||||||
|
LD_LIBRARY_PATH=$(top_builddir)/src/.libs \
|
||||||
|
LIBGUESTFS_PATH=$(top_builddir)/appliance \
|
||||||
|
- TMPDIR=$(top_builddir)
|
||||||
|
+ TMPDIR=$(top_builddir) \
|
||||||
|
+ PERL5LIB=$(top_builddir)/perl/blib/lib:$(top_builddir)/perl/blib/arch
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
$(TESTS)
|
||||||
|
--
|
||||||
|
1.7.6
|
||||||
|
|
@ -30,13 +30,17 @@ Summary: Access and modify virtual machine disk images
|
|||||||
Name: libguestfs
|
Name: libguestfs
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.15.13
|
Version: 1.15.13
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://libguestfs.org/
|
URL: http://libguestfs.org/
|
||||||
Source0: http://libguestfs.org/download/1.15-development/%{name}-%{version}.tar.gz
|
Source0: http://libguestfs.org/download/1.15-development/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
|
||||||
|
# Upstream patch: tests/protocol: Contains a Perl test so we must set PERL5LIB.
|
||||||
|
Patch0: 0001-tests-protocol-Contains-a-Perl-test-so-we-must-set-P.patch
|
||||||
|
BuildRequires: automake
|
||||||
|
|
||||||
%if 0%{?rhel} >= 7
|
%if 0%{?rhel} >= 7
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
%endif
|
%endif
|
||||||
@ -588,6 +592,9 @@ for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
%patch0 -p1
|
||||||
|
automake
|
||||||
|
|
||||||
mkdir -p daemon/m4
|
mkdir -p daemon/m4
|
||||||
|
|
||||||
# Replace developer-specific README that ships with libguestfs, with
|
# Replace developer-specific README that ships with libguestfs, with
|
||||||
@ -963,10 +970,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Dec 22 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.15.13-1
|
* Thu Dec 22 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.15.13-2
|
||||||
- New upstream version 1.15.13.
|
- New upstream version 1.15.13.
|
||||||
- Fixes Security: Mitigate possible privilege escalation via SG_IO ioctl
|
- Fixes Security: Mitigate possible privilege escalation via SG_IO ioctl
|
||||||
(CVE-2011-4127, RHBZ#757071).
|
(CVE-2011-4127, RHBZ#757071).
|
||||||
|
- Upstream patch: tests/protocol: Contains a Perl test so we must set PERL5LIB.
|
||||||
|
|
||||||
* Thu Dec 22 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.15.12-1
|
* Thu Dec 22 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.15.12-1
|
||||||
- New upstream version 1.15.12.
|
- New upstream version 1.15.12.
|
||||||
|
Loading…
Reference in New Issue
Block a user