fix FTBFS

This commit is contained in:
David Tardon 2018-02-13 17:17:55 +01:00
parent 199547537f
commit 8b0d874c13
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
From 1f48bf3f1fdc488158ce57f3aa595c4b127e93e4 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Wed, 7 Feb 2018 16:57:59 +0100
Subject: [PATCH] fix build with gtk-doc 1.27
---
gtkdoc.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gtkdoc.py b/gtkdoc.py
index 48f862a3..2abfd8e2 100644
--- a/gtkdoc.py
+++ b/gtkdoc.py
@@ -319,9 +319,9 @@ class GTKDoc(object):
ldflags = ' "-L%s" %s ' % (self.library_path, additional_ldflags) + ldflags
current_ld_library_path = env.get('LD_LIBRARY_PATH')
if current_ld_library_path:
- env['RUN'] = 'LD_LIBRARY_PATH="%s:%s" ' % (self.library_path, current_ld_library_path)
+ env['LD_LIBRARY_PATH'] = '%s:%s' % (self.library_path, current_ld_library_path)
else:
- env['RUN'] = 'LD_LIBRARY_PATH="%s" ' % self.library_path
+ env['LD_LIBRARY_PATH'] = '%s' % self.library_path
if ldflags:
env['LDFLAGS'] = '%s %s' % (ldflags, env.get('LDFLAGS', ''))
--
2.14.3

View File

@ -13,6 +13,7 @@ Source1: %{name}-test-%{test_date}_%{test_sha}.tar.xz
# https://bugzilla.redhat.com/show_bug.cgi?id=1185007
Patch0: poppler-0.30.0-rotated-words-selection.patch
Patch1: 0001-fix-build-with-gtk-doc-1.27.patch
BuildRequires: cmake
BuildRequires: gettext-devel