forked from pool/cpprest
Accepting request 561866 from home:1Antoine1:branches:devel:libraries:c_c++
- Update to version 2.10.1:
* Improve CMake generation of UWP binaries.
* Fix regression in CMake versions supported. As listed in the
main CMakeLists.txt, we intend to only require 3.0.
* Mirror changes in the main PPL sources to
Concurrency::details::do_while(), which yield a significant
compiler throughput improvement on MSVC.
* Fix issues under /permissive-, an on-by-default flag for new
projects in VS2017 15.5.
- Fix build with Boost 1.66:
* Add cpprest-2.10.1-srand-boost-1.66.patch.
* Add cpprest-2.10.1-threadpool-boost-1.66.patch.
OBS-URL: https://build.opensuse.org/request/show/561866
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=28
This commit is contained in:
10
cpprest.spec
10
cpprest.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package cpprest
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@@ -19,7 +19,7 @@
|
||||
%define major 2
|
||||
%define minor 10
|
||||
Name: cpprest
|
||||
Version: 2.10.0
|
||||
Version: 2.10.1
|
||||
Release: 0
|
||||
Summary: C++ REST library
|
||||
# main: MIT (license.txt)
|
||||
@@ -32,6 +32,10 @@ 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
|
||||
# PATCH-FIX-UPSTREAM cpprest-2.10.1-srand-boost-1.66.patch -- Fix build with boost 1.66
|
||||
Patch0: cpprest-2.10.1-srand-boost-1.66.patch
|
||||
# PATCH-FIX-UPSTREAM cpprest-2.10.1-threadpool-boost-1.66.patch -- Fix build with boost 1.66
|
||||
Patch1: cpprest-2.10.1-threadpool-boost-1.66.patch
|
||||
BuildRequires: cmake >= 3.0
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: openssl-devel >= 1.0
|
||||
@@ -76,6 +80,8 @@ Development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n cpprestsdk-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
|
||||
Reference in New Issue
Block a user