SHA256
8
0
forked from pool/cpprest

Accepting request 541235 from home:AndreasStieger:branches:devel:libraries:c_c++

cpprest 2.10.0

OBS-URL: https://build.opensuse.org/request/show/541235
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=24
This commit is contained in:
2017-11-13 09:43:30 +00:00
committed by Git OBS Bridge
parent 4f110edea6
commit 1d6da9d658
6 changed files with 46 additions and 56 deletions

View File

@@ -17,9 +17,9 @@
%define major 2
%define minor 9
%define minor 10
Name: cpprest
Version: 2.9.1
Version: 2.10.0
Release: 0
Summary: C++ REST library
# main: MIT (license.txt)
@@ -28,13 +28,11 @@ Summary: C++ REST library
# sha1/sha1.hpp: BSD-3-Clause (ThirdPartyNotices.txt)
# common/md5.hpp: Zlib (ThirdPartyNotices.txt)
# utf8_validation.hpp: MIT (ThirdPartyNotices.txt)
License: MIT and BSD-3-Clause and Zlib
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
Patch1: cpprest-pthread.patch
Patch2: cpprestsdk-2.9.1-Fix-build-error-with-glibc-2.26-xlocale.h.patch
BuildRequires: cmake >= 2.6
BuildRequires: cmake >= 3.0
BuildRequires: gcc-c++
BuildRequires: openssl-devel >= 1.0
%if 0%{?suse_version} > 1325
@@ -77,8 +75,6 @@ Development files.
%prep
%setup -q -n cpprestsdk-%{version}
%patch1 -p1
%patch2 -p1
%build
%cmake \