SHA256
1
0
forked from pool/cmis-client

Accepting request 714046 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/714046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmis-client?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2019-08-10 21:45:13 +00:00 committed by Git OBS Bridge
commit a4ffc4275f
6 changed files with 25 additions and 44 deletions

View File

@ -1,19 +0,0 @@
Index: libcmis-0.5.1/src/libcmis/xml-utils.cxx
===================================================================
--- libcmis-0.5.1.orig/src/libcmis/xml-utils.cxx
+++ libcmis-0.5.1/src/libcmis/xml-utils.cxx
@@ -31,7 +31,14 @@
#include <sstream>
#include <stdlib.h>
+#include <boost/version.hpp>
+
+#if BOOST_VERSION >= 106800
+#include <boost/uuid/detail/sha1.hpp>
+#else
#include <boost/uuid/sha1.hpp>
+#endif
+
#include <curl/curl.h>
#include "xml-utils.hxx"

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon Jul 8 10:40:24 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.5.2:
* Fixed Google Drive login, broken by Google's new 2-page login sequence
* Added support for Google Drive two-factor authentication
* Fixed access to SharePoint root folder (tdf#101385)
* Limited the maximal number of redirections to 20 (rhbz#1410197)
* Switched library implementation to C++11 (the API remains C++98-compatible)
* Fixed build with boost >= 1.68.0 (#19)
* Fixed encoding of OAuth2 credentials
* Dropped cppcheck run from "make check". A new "make cppcheck" target was created for it
* Added proper API symbol exporting
* Speeded up building of tests a bit
* Fixed a few issues found by coverity and cppcheck
- Remove merged patches:
* boost_168.patch
* declare-automake-foreign.patch
-------------------------------------------------------------------
Fri Aug 17 07:17:25 UTC 2018 - adam.majer@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package cmis-client
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -20,16 +20,13 @@
%define incname 0.5
%define _name libcmis
Name: cmis-client
Version: 0.5.1
Version: 0.5.2
Release: 0
Summary: Sample CMIS client
License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://github.com/tdf/libcmis
Source0: https://github.com/tdf/%{_name}/releases/download/v%{version}/%{_name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM: declare automake foreign
Patch0: declare-automake-foreign.patch
Patch1: boost_168.patch
BuildRequires: docbook2X
BuildRequires: gcc-c++
BuildRequires: intltool
@ -89,8 +86,6 @@ the CMIS interface.
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%patch1 -p1
%build
autoreconf -fvi
@ -98,7 +93,6 @@ export CFLAGS="%{optflags} -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)"
%configure \
--disable-silent-rules \
--disable-long-tests \
--disable-static \
--disable-werror
make %{?_smp_mflags}

View File

@ -1,13 +0,0 @@
Index: libcmis-0.5.1/configure.ac
===================================================================
--- libcmis-0.5.1.orig/configure.ac
+++ libcmis-0.5.1/configure.ac
@@ -10,7 +10,7 @@ m4_define([libcmis_version],[libcmis_api
AC_PREREQ([2.63])
AC_INIT([libcmis], [libcmis_version])
-AM_INIT_AUTOMAKE()
+AM_INIT_AUTOMAKE([1.10 foreign dist-xz])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
# Checks for programs.

View File

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

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

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