From abf046311b79d0fe520787cf030d09a6114542a89d2f3ab8fea6ba101372b95e Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Wed, 2 Dec 2015 15:20:41 +0000 Subject: [PATCH] Accepting request 347181 from home:pluskalm:branches:devel:libraries:c_c++ - Update to 2.7.0 * see https://github.com/Microsoft/cpprestsdk/releases for full list of changes - Update project and download url OBS-URL: https://build.opensuse.org/request/show/347181 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=12 --- cpprest-2.6.0.zip | 3 --- cpprest-pthread.patch | 14 +++++++------- cpprest.changes | 8 ++++++++ cpprest.spec | 11 +++++------ v2.7.0.tar.gz | 3 +++ 5 files changed, 23 insertions(+), 16 deletions(-) delete mode 100644 cpprest-2.6.0.zip create mode 100644 v2.7.0.tar.gz diff --git a/cpprest-2.6.0.zip b/cpprest-2.6.0.zip deleted file mode 100644 index d05144e..0000000 --- a/cpprest-2.6.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c81b9d54455071f8e878c2f86a9bf3f29b693c89f8f4beec5bea766968afffcf -size 2353292 diff --git a/cpprest-pthread.patch b/cpprest-pthread.patch index 3ddf9f7..334ef46 100644 --- a/cpprest-pthread.patch +++ b/cpprest-pthread.patch @@ -1,11 +1,11 @@ -Index: x/Release/tests/common/UnitTestpp/CMakeLists.txt +Index: cpprestsdk-2.7.0/Release/tests/common/UnitTestpp/CMakeLists.txt =================================================================== ---- x.orig/Release/tests/common/UnitTestpp/CMakeLists.txt -+++ x/Release/tests/common/UnitTestpp/CMakeLists.txt +--- cpprestsdk-2.7.0.orig/Release/tests/common/UnitTestpp/CMakeLists.txt ++++ cpprestsdk-2.7.0/Release/tests/common/UnitTestpp/CMakeLists.txt @@ -49,4 +49,4 @@ elseif(WIN32) - endif() - - add_library(${LIB}unittestpp ${UT_SOURCES}) + endif() + + add_library(${LIB}unittestpp ${UT_SOURCES}) -target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS}) \ No newline at end of file -+target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS} pthread) ++target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS} pthread) diff --git a/cpprest.changes b/cpprest.changes index 603a1aa..4cfeb87 100644 --- a/cpprest.changes +++ b/cpprest.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Dec 2 13:50:02 UTC 2015 - mpluskal@suse.com + +- Update to 2.7.0 + * see https://github.com/Microsoft/cpprestsdk/releases for full + list of changes +- Update project and download url + ------------------------------------------------------------------- Tue Jul 7 08:37:35 UTC 2015 - schwab@suse.de diff --git a/cpprest.spec b/cpprest.spec index c212dec..eb5f0b4 100644 --- a/cpprest.spec +++ b/cpprest.spec @@ -17,21 +17,20 @@ %define major 2 -%define minor 6 +%define minor 7 Name: cpprest -Version: 2.6.0 +Version: 2.7.0 Release: 0 Summary: C++ REST library License: Apache-2.0 Group: Devlopment/Libraries/C and C++ -Url: https://casablanca.codeplex.com/ -Source: http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=casablanca&changeSetId=c7d85ee385c6#/%{name}-%{version}.zip +Url: https://github.com/Microsoft/cpprestsdk +Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}.tar.gz Patch1: cpprest-pthread.patch BuildRequires: boost-devel BuildRequires: cmake >= 2.6 BuildRequires: gcc-c++ BuildRequires: openssl-devel -BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -63,7 +62,7 @@ project aims to help C++ developers connect to and interact with services. Development files. %prep -%setup -q -c +%setup -q -n cpprestsdk-%{version} %patch1 -p1 %build diff --git a/v2.7.0.tar.gz b/v2.7.0.tar.gz new file mode 100644 index 0000000..8f1927c --- /dev/null +++ b/v2.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d53593fda17bcac8f68af8bc3ba4ac638ea7e7480f43aa7f3350f6f200b0c63e +size 1602602