SHA256
8
0
forked from pool/cpprest

Accepting request 635425 from home:1Antoine1:branches:devel:libraries:c_c++

- Update to 2.10.6:
  + Fix clang build error (gh#Microsoft/cpprestsdk#844).
- Update to 2.10.5:
  * Fix incorrect `cpprest/version.h`.
- Update to 2.10.4:
  * Add a `.clang-format` to enable consistent formatting.
  * Add support for `Host:` headers changing the checked CNAME
    field for SSL certificates in WinHTTP and Asio.
  * Pass 0666 to open() for creating files to better match the
    default behavior for other http clients (wget, etc).
  * Fix a build issue with clang
  * Teach cmake to respect the GNUInstallDirs variables
  * Improve handling of dead connections in the connection pool on
    Asio.
  * Improve error handling in the accept() call in `http_listener`
  * Improve the iOS buildsystem
- Update to 2.10.3:
  * Add a root `CMakeLists.txt` to improve support for VS2017 Open
    Folder.
  * Improve support for `/permissive-` in MSVC
  * Fix a regression due to compression support; we no longer fail
    on unknown Content-Encoding headers if we did not set
    Accepts-Encoding
  * Fix build failure with boost 1.63
  * Suppress and fix some warnings with new versions of gcc and
    clang
- Drop cpprestsdk-2.10.2-fix-gcc8.patch (fixed upstream).

OBS-URL: https://build.opensuse.org/request/show/635425
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=35
This commit is contained in:
2018-09-13 10:56:32 +00:00
committed by Git OBS Bridge
parent 435c774a72
commit 779a161176
5 changed files with 40 additions and 42 deletions

View File

@@ -19,7 +19,7 @@
%define major 2
%define minor 10
Name: cpprest
Version: 2.10.2
Version: 2.10.6
Release: 0
Summary: C++ REST library
# main: MIT (license.txt)
@@ -31,8 +31,7 @@ Summary: C++ REST library
License: MIT AND BSD-3-Clause AND Zlib
Group: Development/Libraries/C and C++
URL: https://github.com/Microsoft/cpprestsdk
Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}.tar.gz#/cpprestsdk-%{version}.tar.gz
Patch0: cpprestsdk-2.10.2-fix-gcc8.patch
Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}/cpprestsdk-%{version}.tar.gz
BuildRequires: cmake >= 3.0
BuildRequires: gcc-c++
BuildRequires: openssl-devel >= 1.0
@@ -77,7 +76,6 @@ Development files.
%prep
%setup -q -n cpprestsdk-%{version}
%patch0 -p1
%build
%cmake \