diff --git a/0005-Remove-invalid-comments-from-test-JSON-file.patch b/0005-Remove-invalid-comments-from-test-JSON-file.patch new file mode 100644 index 0000000..7f38e29 --- /dev/null +++ b/0005-Remove-invalid-comments-from-test-JSON-file.patch @@ -0,0 +1,34 @@ +From 814c7845d53688b35a747cf193c2ff99e40a8652 Mon Sep 17 00:00:00 2001 +From: Jonathan Wakely +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 + diff --git a/cmis-client.changes b/cmis-client.changes index d27df24..12d7380 100644 --- a/cmis-client.changes +++ b/cmis-client.changes @@ -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 diff --git a/cmis-client.spec b/cmis-client.spec index 2391a5b..d43f3ac 100644 --- a/cmis-client.spec +++ b/cmis-client.spec @@ -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