SHA256
1
0
forked from pool/cmis-client

Accepting request 365919 from LibreOffice:Factory

- Version update to 0.5.1:
  * Few small bugfixes, see NEWS file for details
- Remove upstreamed patches
  * 0001-fix-boost-configuration-with-gcc-5.patch
  * 0002-avoid-use-after-delete.patch
  * 0005-Remove-invalid-comments-from-test-JSON-file.patch

OBS-URL: https://build.opensuse.org/request/show/365919
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmis-client?expand=0&rev=34
This commit is contained in:
Tomáš Chvátal 2016-03-04 13:50:28 +00:00 committed by Git OBS Bridge
parent 67a6faa816
commit dfe4bc0266
7 changed files with 19 additions and 1343 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,25 +0,0 @@
From 58130d0f774242da1177ae2f77a711e7aaa8ab7d Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Thu, 26 Feb 2015 14:48:27 +0100
Subject: [PATCH 2/2] avoid use-after-delete
---
qa/mockup/mockup-config.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qa/mockup/mockup-config.cxx b/qa/mockup/mockup-config.cxx
index 7918cef..01fec24 100644
--- a/qa/mockup/mockup-config.cxx
+++ b/qa/mockup/mockup-config.cxx
@@ -49,7 +49,7 @@ namespace
}
}
- const char** lcl_toStringArray( vector< string > vect )
+ const char** lcl_toStringArray( const vector< string >& vect )
{
const char** array = new const char*[vect.size() + 1];
for ( size_t i = 0; i < vect.size( ); i++ )
--
2.3.7

View File

@ -1,34 +0,0 @@
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,13 @@
-------------------------------------------------------------------
Fri Mar 4 13:36:58 UTC 2016 - tchvatal@suse.com
- Version update to 0.5.1:
* Few small bugfixes, see NEWS file for details
- Remove upstreamed patches
* 0001-fix-boost-configuration-with-gcc-5.patch
* 0002-avoid-use-after-delete.patch
* 0005-Remove-invalid-comments-from-test-JSON-file.patch
-------------------------------------------------------------------
Fri Nov 20 13:33:48 UTC 2015 - normand@linux.vnet.ibm.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cmis-client
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,19 +20,13 @@
%define incname 0.5
%define _name libcmis
Name: cmis-client
Version: 0.5.0
Version: 0.5.1
Release: 0
Summary: Sample CMIS client
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
Group: Development/Libraries/C and C++
Url: http://sourceforge.net/projects/libcmis/
Source0: http://downloads.sourceforge.net/project/libcmis/%{_name}-%{version}.tar.gz
# Upstream patch to fix building with gcc5
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
Url: https://github.com/tdf/libcmis
Source0: https://github.com/tdf/%_name/releases/download/v%{version}/%_name-%{version}.tar.gz
BuildRequires: boost-devel >= 1.42
BuildRequires: docbook2X
BuildRequires: gcc-c++
@ -86,9 +80,6 @@ This allows C applications to connect to any CMIS-enabled repositories. It is on
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
libtoolize --force --copy
@ -130,7 +121,7 @@ make check %{?_smp_mflags}
%files -n %{_name}-%{soname}
%defattr(-, root, root)
%doc AUTHORS COPYING.LGPL COPYING.MPL COPYING.GPL NEWS README
%doc AUTHORS COPYING.LGPL COPYING.MPL COPYING.GPL NEWS
%{_libdir}/%{_name}-%{incname}.so.*
%files -n %{_name}-devel
@ -141,7 +132,7 @@ make check %{?_smp_mflags}
%files -n %{_name}-c-%{soname}
%defattr(-, root, root)
%doc AUTHORS COPYING.LGPL COPYING.MPL COPYING.GPL NEWS README
%doc AUTHORS COPYING.LGPL COPYING.MPL COPYING.GPL NEWS
%{_libdir}/%{_name}-c-%{incname}.so.*
%files -n %{_name}-c-devel

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a87e02913dee3ee659db5abf6d7dafcfcd85dd4b24bf4389d8d4afe8c8dcf9b6
size 738119

3
libcmis-0.5.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6acbdf22ecdbaba37728729b75bfc085ee5a4b49a6024757cfb86ccd3da27b0e
size 767701