SHA256
8
0
forked from pool/cpprest

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

- Fix licensing issues:
  * Use upstream tarball as is, i.e. don't include third-party
    stuff from vcpkg submodule.
  * As a consequence, websocketpp is not embedded in tarball so
    add build requirement on system's websocketpp.

OBS-URL: https://build.opensuse.org/request/show/667306
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=38
This commit is contained in:
2019-01-22 12:53:48 +00:00
committed by Git OBS Bridge
parent c690d9f887
commit 8efc78f8d7
3 changed files with 13 additions and 4 deletions

View File

@@ -31,11 +31,11 @@ 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}/cpprestsdk-%{version}.tar.gz
Source: cpprestsdk-%{version}.tar.gz
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
BuildRequires: pkgconfig(websocketpp) >= 0.8
%if 0%{?suse_version} > 1325
BuildRequires: libboost_atomic-devel
BuildRequires: libboost_filesystem-devel