SHA256
1
0
forked from pool/cmis-client

Accepting request 344847 from home:namtrac:branches:devel:libraries:c_c++

- Add 0005-Remove-invalid-comments-from-test-JSON-file.patch to fix
  test-onedrive failure with boost 1.59
  (http://sourceforge.net/p/libcmis/tickets/13/)

OBS-URL: https://build.opensuse.org/request/show/344847
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmis-client?expand=0&rev=31
This commit is contained in:
Ismail Dönmez 2015-11-17 08:33:22 +00:00 committed by Git OBS Bridge
parent e70734d1a5
commit 0f6ad3800c
3 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,34 @@
From 814c7845d53688b35a747cf193c2ff99e40a8652 Mon Sep 17 00:00:00 2001
From: Jonathan Wakely <jwakely@redhat.com>
Date: Wed, 2 Sep 2015 16:35:45 +0100
Subject: [PATCH 5/5] Remove invalid comments from test JSON file.
---
qa/libcmis/data/onedrive/search-result.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qa/libcmis/data/onedrive/search-result.json b/qa/libcmis/data/onedrive/search-result.json
index 61d250a..2482429 100644
--- a/qa/libcmis/data/onedrive/search-result.json
+++ b/qa/libcmis/data/onedrive/search-result.json
@@ -8,7 +8,7 @@
},
"name":"OneDriveFile",
"description":"",
- "parent_id":"folderA", // path: /A/Wrong File
+ "parent_id":"folderA",
"size":18047,
"upload_location":"https://apis.live.net/v5.0/wrongFileId/content/",
"comments_count":0,
@@ -32,7 +32,7 @@
},
"name":"OneDriveFile",
"description":"",
- "parent_id":"folderC", // path: /A/B/C/Right File
+ "parent_id":"folderC",
"size":4,
"upload_location":"https://apis.live.net/v5.0/rightFileId/content/",
"comments_count":0,
--
2.4.3

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Nov 17 08:24:04 UTC 2015 - idonmez@suse.com
- Add 0005-Remove-invalid-comments-from-test-JSON-file.patch to fix
test-onedrive failure with boost 1.59
(http://sourceforge.net/p/libcmis/tickets/13/)
-------------------------------------------------------------------
Wed May 6 17:10:00 UTC 2015 - fstrba@suse.com

View File

@ -31,7 +31,8 @@ Source0: http://downloads.sourceforge.net/project/libcmis/%{_name}-%{vers
Patch0: 0001-fix-boost-configuration-with-gcc-5.patch
# Upstream patch to fix test failures with gcc5
Patch1: 0002-avoid-use-after-delete.patch
# Upstream patch to fix test-onedrive with boost 1.59
Patch2: 0005-Remove-invalid-comments-from-test-JSON-file.patch
BuildRequires: boost-devel >= 1.42
BuildRequires: docbook2X
BuildRequires: gcc-c++
@ -87,6 +88,7 @@ This allows C applications to connect to any CMIS-enabled repositories. It is on
%setup -q -n %{_name}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
libtoolize --force --copy