From 4baefaecb181df7a18036013c19c2180f08b016f Mon Sep 17 00:00:00 2001 From: Wolfgang Stöggl Date: Jan 21 2019 11:54:04 +0000 Subject: New upstream version 2.10.9 - Update patches to current code: cpprest-2.10.9-disable-outside-and-failing-tests.patch cpprest-2.10.9-disable-tests-long-timeouts.patch cpprest-2.10.9-disable-test-extract_floating_point.patch --- diff --git a/cpprest-2.10.0-disable-tests-long-timeouts.patch b/cpprest-2.10.0-disable-tests-long-timeouts.patch deleted file mode 100644 index 7a0d41f..0000000 --- a/cpprest-2.10.0-disable-tests-long-timeouts.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff --git a/Release/tests/functional/http/client/connections_and_errors.cpp b/Release/tests/functional/http/client/connections_and_errors.cpp -index 24e452f0..91e27406 100644 ---- a/Release/tests/functional/http/client/connections_and_errors.cpp -+++ b/Release/tests/functional/http/client/connections_and_errors.cpp -@@ -128,6 +128,7 @@ TEST_FIXTURE(uri_address, server_close_without_responding) - VERIFY_THROWS(client.request(methods::GET).wait(), web::http::http_exception); - } - -+/* - TEST_FIXTURE(uri_address, request_timeout) - { - test_http_server::scoped_server scoped(m_uri); -@@ -146,7 +147,9 @@ TEST_FIXTURE(uri_address, request_timeout) - #endif - t.get(); - } -+*/ - -+/* - TEST_FIXTURE(uri_address, request_timeout_microsecond) - { - pplx::task t; -@@ -168,6 +171,7 @@ TEST_FIXTURE(uri_address, request_timeout_microsecond) - try { t.get(); } - catch (...) {} - } -+*/ - - TEST_FIXTURE(uri_address, invalid_method) - { -diff --git a/Release/tests/functional/http/listener/requests_tests.cpp b/Release/tests/functional/http/listener/requests_tests.cpp -index be3317d6..82f0917f 100644 ---- a/Release/tests/functional/http/listener/requests_tests.cpp -+++ b/Release/tests/functional/http/listener/requests_tests.cpp -@@ -174,6 +174,7 @@ TEST_FIXTURE(uri_address, large_body) - listener.close().wait(); - } - -+/* - TEST_FIXTURE(uri_address, response_order) - { - http_listener listener(m_uri); -@@ -217,6 +218,7 @@ TEST_FIXTURE(uri_address, response_order) - - listener.close().wait(); - } -+*/ - - TEST_FIXTURE(uri_address, uri_encoding, "Ignore", "Codeplex 201") - { -diff --git a/Release/tests/functional/websockets/client/client_construction.cpp b/Release/tests/functional/websockets/client/client_construction.cpp -index 766fa968..252ef107 100644 ---- a/Release/tests/functional/websockets/client/client_construction.cpp -+++ b/Release/tests/functional/websockets/client/client_construction.cpp -@@ -82,6 +82,7 @@ TEST_FIXTURE(uri_address, get_client_config_callback_client) - } - - -+/* - // Verify that we can get the baseuri from websocket_client connect. - TEST_FIXTURE(uri_address, uri_test) - { -@@ -101,6 +102,7 @@ TEST_FIXTURE(uri_address, uri_test) - VERIFY_ARE_EQUAL(client2.uri(), m_uri); - client2.close().wait(); - } -+*/ - - TEST_FIXTURE(uri_address, move_operations) - { diff --git a/cpprest-2.10.2-disable-outside-and-failing-tests.patch b/cpprest-2.10.2-disable-outside-and-failing-tests.patch deleted file mode 100644 index 6acb9a5..0000000 --- a/cpprest-2.10.2-disable-outside-and-failing-tests.patch +++ /dev/null @@ -1,226 +0,0 @@ -diff --git a/Release/tests/functional/http/client/CMakeLists.txt b/Release/tests/functional/http/client/CMakeLists.txt -index 60804e17..5c768675 100644 ---- a/Release/tests/functional/http/client/CMakeLists.txt -+++ b/Release/tests/functional/http/client/CMakeLists.txt -@@ -9,7 +9,6 @@ set(SOURCES - multiple_requests.cpp - oauth1_tests.cpp - oauth2_tests.cpp -- outside_tests.cpp - pipeline_stage_tests.cpp - progress_handler_tests.cpp - proxy_tests.cpp -diff --git a/Release/tests/functional/http/client/authentication_tests.cpp b/Release/tests/functional/http/client/authentication_tests.cpp -index c58ca1c9..1351043a 100644 ---- a/Release/tests/functional/http/client/authentication_tests.cpp -+++ b/Release/tests/functional/http/client/authentication_tests.cpp -@@ -663,15 +663,19 @@ void auth_test_impl(bool fail) - VERIFY_ARE_EQUAL(return_code, response.status_code()); - } - -+/* - TEST(auth_no_data) - { - auth_test_impl(false); - } -+*/ - -+/* - TEST(unsuccessful_auth_with_basic_cred) - { - auth_test_impl(true); - } -+*/ - - TEST_FIXTURE(uri_address, set_user_options_asio_http) - { -@@ -693,6 +697,7 @@ TEST_FIXTURE(uri_address, set_user_options_asio_http) - VERIFY_ARE_EQUAL(200, response.status_code()); - } - -+/* - TEST_FIXTURE(uri_address, set_user_options_asio_https) - { - handle_timeout([] -@@ -714,6 +719,7 @@ TEST_FIXTURE(uri_address, set_user_options_asio_https) - VERIFY_IS_FALSE(v.empty()); - }); - } -+*/ - - #endif - -diff --git a/Release/tests/functional/http/client/client_construction.cpp b/Release/tests/functional/http/client/client_construction.cpp -index ae2b978a..e2ffe313 100644 ---- a/Release/tests/functional/http/client/client_construction.cpp -+++ b/Release/tests/functional/http/client/client_construction.cpp -@@ -34,6 +34,7 @@ TEST_FIXTURE(uri_address, string_types) - http_client c3(utility::string_t(U("http://localhost:4567/"))); - } - -+/* - // Tests different variations on specifying the URI in http_client constructor. - TEST_FIXTURE(uri_address, different_uris) - { -@@ -60,6 +61,7 @@ TEST_FIXTURE(uri_address, different_uris) - test_connection(scoped.server(), &client, expected_paths[i]); - } - } -+*/ - - // Helper function verifies that when constructing an http_client with given - // URI std::invalid_argument is thrown. -diff --git a/Release/tests/functional/http/client/connections_and_errors.cpp b/Release/tests/functional/http/client/connections_and_errors.cpp -index 24e452f0..cf5b53cd 100644 ---- a/Release/tests/functional/http/client/connections_and_errors.cpp -+++ b/Release/tests/functional/http/client/connections_and_errors.cpp -@@ -341,6 +341,7 @@ TEST_FIXTURE(uri_address, cancel_after_body) - response.content_ready().wait(); - } - -+/* - TEST_FIXTURE(uri_address, cancel_with_error) - { - http_client c(m_uri); -@@ -356,6 +357,7 @@ TEST_FIXTURE(uri_address, cancel_with_error) - // All errors after cancellation are ignored. - VERIFY_THROWS_HTTP_ERROR_CODE(responseTask.get(), std::errc::operation_canceled); - } -+*/ - - TEST_FIXTURE(uri_address, cancel_while_uploading_data) - { -@@ -415,6 +417,7 @@ TEST_FIXTURE(uri_address, cancel_while_downloading_data) - } - #endif - -+/* - // Try to connect to a server on a closed port and cancel the operation. - TEST_FIXTURE(uri_address, cancel_bad_port) - { -@@ -446,6 +449,7 @@ TEST_FIXTURE(uri_address, cancel_bad_port) - - VERIFY_THROWS_HTTP_ERROR_CODE(t.get(), std::errc::operation_canceled); - } -+*/ - - } // SUITE(connections_and_errors) - -diff --git a/Release/tests/functional/http/client/progress_handler_tests.cpp b/Release/tests/functional/http/client/progress_handler_tests.cpp -index 4b9568c3..2f8d0790 100644 ---- a/Release/tests/functional/http/client/progress_handler_tests.cpp -+++ b/Release/tests/functional/http/client/progress_handler_tests.cpp -@@ -355,6 +355,7 @@ TEST_FIXTURE(uri_address, download_nobody_exception) - VERIFY_THROWS(client.request(msg).get().content_ready().get(), std::invalid_argument); - } - -+#if 0 - TEST_FIXTURE(uri_address, data_upload_exception) - { - http_client client(m_uri); -@@ -375,6 +376,7 @@ TEST_FIXTURE(uri_address, data_upload_exception) - try { t.get(); } - catch (const std::runtime_error&) { /* It is ok if the request does not complete before the server is shutdown */ } - } -+#endif - - TEST_FIXTURE(uri_address, data_download_exception, "Ignore:Windows", "395") - { -diff --git a/Release/tests/functional/http/client/to_string_tests.cpp b/Release/tests/functional/http/client/to_string_tests.cpp -index d85b7e1f..880ff66b 100644 ---- a/Release/tests/functional/http/client/to_string_tests.cpp -+++ b/Release/tests/functional/http/client/to_string_tests.cpp -@@ -73,6 +73,7 @@ TEST_FIXTURE(uri_address, request_to_string_with_body) - body); - } - -+/* - TEST_FIXTURE(uri_address, response_to_string_without_body) - { - test_http_server::scoped_server scoped(m_uri); -@@ -109,6 +110,7 @@ TEST_FIXTURE(uri_address, response_to_string_without_body) - } - #endif - } -+*/ - - TEST_FIXTURE(uri_address, response_to_string_with_body) - { -diff --git a/Release/tests/functional/websockets/client/authentication_tests.cpp b/Release/tests/functional/websockets/client/authentication_tests.cpp -index 00a498cb..82c04435 100644 ---- a/Release/tests/functional/websockets/client/authentication_tests.cpp -+++ b/Release/tests/functional/websockets/client/authentication_tests.cpp -@@ -87,6 +87,7 @@ bool is_timeout(const std::string &msg) - return false; - } - -+/* - TEST(ssl_test) - { - websocket_client client; -@@ -122,6 +123,7 @@ TEST(ssl_test) - throw; - } - } -+*/ - - // These tests are specific to our websocketpp based implementation. - #if !defined(__cplusplus_winrt) -@@ -154,12 +156,14 @@ void sni_test_impl(websocket_client &client) - } - } - -+/* - // Test specifically for server SignalR team hit interesting cases with. - TEST(sni_with_older_server_test) - { - websocket_client client; - sni_test_impl(client); - } -+*/ - - // WinRT doesn't expose option for disabling. - // No stable server is available to reliably test this. -@@ -189,6 +193,7 @@ TEST(disable_sni, "Ignore", "Manual") - } - } - -+/* - // Winrt doesn't allow explicitly setting server host for SNI. - TEST(sni_explicit_hostname) - { -@@ -199,6 +204,7 @@ TEST(sni_explicit_hostname) - websocket_client client(config); - sni_test_impl(client); - } -+*/ - - void handshake_error_test_impl(const ::utility::string_t &host) - { -@@ -220,20 +226,26 @@ void handshake_error_test_impl(const ::utility::string_t &host) - } - } - -+/* - TEST(self_signed_cert) - { - handshake_error_test_impl(U("wss://self-signed.badssl.com/")); - } -+*/ - -+/* - TEST(hostname_mismatch) - { - handshake_error_test_impl(U("wss://wrong.host.badssl.com/")); - } -+*/ - -+/* - TEST(cert_expired) - { - handshake_error_test_impl(U("wss://expired.badssl.com/")); - } -+*/ - - #endif - diff --git a/cpprest-2.10.9-disable-outside-and-failing-tests.patch b/cpprest-2.10.9-disable-outside-and-failing-tests.patch new file mode 100644 index 0000000..e37595f --- /dev/null +++ b/cpprest-2.10.9-disable-outside-and-failing-tests.patch @@ -0,0 +1,211 @@ +diff --git a/Release/tests/functional/http/client/CMakeLists.txt b/Release/tests/functional/http/client/CMakeLists.txt +index 45f0d9af..0a379c2b 100644 +--- a/Release/tests/functional/http/client/CMakeLists.txt ++++ b/Release/tests/functional/http/client/CMakeLists.txt +@@ -12,7 +12,6 @@ set(SOURCES + multiple_requests.cpp + oauth1_tests.cpp + oauth2_tests.cpp +- outside_tests.cpp + pipeline_stage_tests.cpp + progress_handler_tests.cpp + proxy_tests.cpp +diff --git a/Release/tests/functional/http/client/authentication_tests.cpp b/Release/tests/functional/http/client/authentication_tests.cpp +index c0440fed..afa4a666 100644 +--- a/Release/tests/functional/http/client/authentication_tests.cpp ++++ b/Release/tests/functional/http/client/authentication_tests.cpp +@@ -675,9 +675,13 @@ SUITE(authentication_tests) + VERIFY_ARE_EQUAL(return_code, response.status_code()); + } + ++/* + TEST(auth_no_data) { auth_test_impl(false); } ++*/ + ++/* + TEST(unsuccessful_auth_with_basic_cred) { auth_test_impl(true); } ++*/ + + TEST_FIXTURE(uri_address, set_user_options_asio_http) + { +@@ -695,6 +699,7 @@ SUITE(authentication_tests) + VERIFY_ARE_EQUAL(200, response.status_code()); + } + ++/* + TEST_FIXTURE(uri_address, set_user_options_asio_https) + { + handle_timeout([] { +@@ -714,6 +719,7 @@ SUITE(authentication_tests) + VERIFY_IS_FALSE(v.empty()); + }); + } ++*/ + + #endif + +diff --git a/Release/tests/functional/http/client/client_construction.cpp b/Release/tests/functional/http/client/client_construction.cpp +index 1229b2cf..84d1b636 100644 +--- a/Release/tests/functional/http/client/client_construction.cpp ++++ b/Release/tests/functional/http/client/client_construction.cpp +@@ -40,6 +40,7 @@ SUITE(client_construction) + http_client c3(utility::string_t(U("http://localhost:4567/"))); + } + ++/* + // Tests different variations on specifying the URI in http_client constructor. + TEST_FIXTURE(uri_address, different_uris) + { +@@ -54,6 +55,7 @@ SUITE(client_construction) + test_connection(scoped.server(), &client, expected_paths[i]); + } + } ++*/ + + // Helper function verifies that when constructing an http_client with given + // URI std::invalid_argument is thrown. +diff --git a/Release/tests/functional/http/client/connections_and_errors.cpp b/Release/tests/functional/http/client/connections_and_errors.cpp +index 22e0fc82..f2a848e5 100644 +--- a/Release/tests/functional/http/client/connections_and_errors.cpp ++++ b/Release/tests/functional/http/client/connections_and_errors.cpp +@@ -343,6 +343,7 @@ SUITE(connections_and_errors) + response.content_ready().wait(); + } + ++/* + TEST_FIXTURE(uri_address, cancel_with_error) + { + http_client c(m_uri); +@@ -358,6 +359,7 @@ SUITE(connections_and_errors) + // All errors after cancellation are ignored. + VERIFY_THROWS_HTTP_ERROR_CODE(responseTask.get(), std::errc::operation_canceled); + } ++*/ + + TEST_FIXTURE(uri_address, cancel_while_uploading_data) + { +@@ -416,6 +418,7 @@ SUITE(connections_and_errors) + } + #endif + ++/* + // Try to connect to a server on a closed port and cancel the operation. + TEST_FIXTURE(uri_address, cancel_bad_port) + { +@@ -447,6 +450,7 @@ SUITE(connections_and_errors) + + VERIFY_THROWS_HTTP_ERROR_CODE(t.get(), std::errc::operation_canceled); + } ++*/ + + } // SUITE(connections_and_errors) + +diff --git a/Release/tests/functional/http/client/progress_handler_tests.cpp b/Release/tests/functional/http/client/progress_handler_tests.cpp +index 320bcc5c..f52931e0 100644 +--- a/Release/tests/functional/http/client/progress_handler_tests.cpp ++++ b/Release/tests/functional/http/client/progress_handler_tests.cpp +@@ -338,6 +338,7 @@ SUITE(progress_handler_tests) + VERIFY_THROWS(client.request(msg).get().content_ready().get(), std::invalid_argument); + } + ++#if 0 + TEST_FIXTURE(uri_address, data_upload_exception) + { + http_client client(m_uri); +@@ -361,6 +362,7 @@ SUITE(progress_handler_tests) + { /* It is ok if the request does not complete before the server is shutdown */ + } + } ++#endif + + TEST_FIXTURE(uri_address, data_download_exception, "Ignore:Windows", "395") + { +diff --git a/Release/tests/functional/http/client/to_string_tests.cpp b/Release/tests/functional/http/client/to_string_tests.cpp +index 8ae964f7..9d2466b5 100644 +--- a/Release/tests/functional/http/client/to_string_tests.cpp ++++ b/Release/tests/functional/http/client/to_string_tests.cpp +@@ -68,6 +68,7 @@ SUITE(to_string_tests) + msg.to_string(), mtd, U("/path%20baby/"), U("HTTP/1.1"), expected_headers, body); + } + ++/* + TEST_FIXTURE(uri_address, response_to_string_without_body) + { + test_http_server::scoped_server scoped(m_uri); +@@ -98,6 +99,7 @@ SUITE(to_string_tests) + } + #endif + } ++*/ + + TEST_FIXTURE(uri_address, response_to_string_with_body) + { +diff --git a/Release/tests/functional/websockets/client/authentication_tests.cpp b/Release/tests/functional/websockets/client/authentication_tests.cpp +index 29536860..5ed0725a 100644 +--- a/Release/tests/functional/websockets/client/authentication_tests.cpp ++++ b/Release/tests/functional/websockets/client/authentication_tests.cpp +@@ -93,6 +93,7 @@ SUITE(authentication_tests) + return false; + } + ++/* + TEST(ssl_test) + { + websocket_client client; +@@ -127,6 +128,7 @@ SUITE(authentication_tests) + throw; + } + } ++*/ + + // These tests are specific to our websocketpp based implementation. + #if !defined(__cplusplus_winrt) +@@ -159,12 +161,14 @@ SUITE(authentication_tests) + } + } + ++/* + // Test specifically for server SignalR team hit interesting cases with. + TEST(sni_with_older_server_test) + { + websocket_client client; + sni_test_impl(client); + } ++*/ + + // WinRT doesn't expose option for disabling. + // No stable server is available to reliably test this. +@@ -194,6 +198,7 @@ SUITE(authentication_tests) + } + } + ++/* + // Winrt doesn't allow explicitly setting server host for SNI. + TEST(sni_explicit_hostname) + { +@@ -204,6 +209,7 @@ SUITE(authentication_tests) + websocket_client client(config); + sni_test_impl(client); + } ++*/ + + void handshake_error_test_impl(const ::utility::string_t& host) + { +@@ -225,11 +231,17 @@ SUITE(authentication_tests) + } + } + ++/* + TEST(self_signed_cert) { handshake_error_test_impl(U("wss://self-signed.badssl.com/")); } ++*/ + ++/* + TEST(hostname_mismatch) { handshake_error_test_impl(U("wss://wrong.host.badssl.com/")); } ++*/ + ++/* + TEST(cert_expired) { handshake_error_test_impl(U("wss://expired.badssl.com/")); } ++*/ + + #endif + diff --git a/cpprest-2.10.9-disable-test-extract_floating_point.patch b/cpprest-2.10.9-disable-test-extract_floating_point.patch new file mode 100644 index 0000000..795ee8e --- /dev/null +++ b/cpprest-2.10.9-disable-test-extract_floating_point.patch @@ -0,0 +1,20 @@ +diff --git a/Release/tests/functional/streams/istream_tests.cpp b/Release/tests/functional/streams/istream_tests.cpp +index d1018e31..66b3f801 100644 +--- a/Release/tests/functional/streams/istream_tests.cpp ++++ b/Release/tests/functional/streams/istream_tests.cpp +@@ -1297,6 +1297,7 @@ SUITE(istream_tests) + void compare_double(double expected, double actual) { compare_floating(expected, actual, DBL_EPSILON); } + void compare_float(float expected, float actual) { compare_floating(expected, actual, FLT_EPSILON); } + ++/* + TEST(extract_floating_point) + { + std::string test_string; +@@ -1343,6 +1344,7 @@ SUITE(istream_tests) + if (expected == 0) VERIFY_ARE_EQUAL(1 / expected, 1 / actual); + } while (!std_istream.eof()); + } ++*/ + + TEST(extract_floating_point_with_exceptions) + { diff --git a/cpprest-2.10.9-disable-tests-long-timeouts.patch b/cpprest-2.10.9-disable-tests-long-timeouts.patch new file mode 100644 index 0000000..4b8be0b --- /dev/null +++ b/cpprest-2.10.9-disable-tests-long-timeouts.patch @@ -0,0 +1,70 @@ +diff --git a/Release/tests/functional/http/client/connections_and_errors.cpp b/Release/tests/functional/http/client/connections_and_errors.cpp +index 22e0fc82..115597fc 100644 +--- a/Release/tests/functional/http/client/connections_and_errors.cpp ++++ b/Release/tests/functional/http/client/connections_and_errors.cpp +@@ -130,6 +130,7 @@ SUITE(connections_and_errors) + VERIFY_THROWS(client.request(methods::GET).wait(), web::http::http_exception); + } + ++/* + TEST_FIXTURE(uri_address, request_timeout) + { + test_http_server::scoped_server scoped(m_uri); +@@ -148,7 +149,9 @@ SUITE(connections_and_errors) + #endif + t.get(); + } ++*/ + ++/* + TEST_FIXTURE(uri_address, request_timeout_microsecond) + { + pplx::task t; +@@ -175,6 +178,7 @@ SUITE(connections_and_errors) + { + } + } ++*/ + + TEST_FIXTURE(uri_address, invalid_method) + { +diff --git a/Release/tests/functional/http/listener/requests_tests.cpp b/Release/tests/functional/http/listener/requests_tests.cpp +index db293598..7e1dbbc4 100644 +--- a/Release/tests/functional/http/listener/requests_tests.cpp ++++ b/Release/tests/functional/http/listener/requests_tests.cpp +@@ -167,6 +167,7 @@ SUITE(requests_tests) + listener.close().wait(); + } + ++/* + TEST_FIXTURE(uri_address, response_order) + { + http_listener listener(m_uri); +@@ -208,6 +209,7 @@ SUITE(requests_tests) + + listener.close().wait(); + } ++*/ + + TEST_FIXTURE(uri_address, uri_encoding, "Ignore", "Codeplex 201") + { +diff --git a/Release/tests/functional/websockets/client/client_construction.cpp b/Release/tests/functional/websockets/client/client_construction.cpp +index cffe647b..03a93b01 100644 +--- a/Release/tests/functional/websockets/client/client_construction.cpp ++++ b/Release/tests/functional/websockets/client/client_construction.cpp +@@ -87,6 +87,7 @@ SUITE(client_construction) + VERIFY_ARE_EQUAL(config2.credentials().username(), cred.username()); + } + ++/* + // Verify that we can get the baseuri from websocket_client connect. + TEST_FIXTURE(uri_address, uri_test) + { +@@ -106,6 +107,7 @@ SUITE(client_construction) + VERIFY_ARE_EQUAL(client2.uri(), m_uri); + client2.close().wait(); + } ++*/ + + TEST_FIXTURE(uri_address, move_operations) + { diff --git a/cpprest-2.9.1-disable-test-extract_floating_point.patch b/cpprest-2.9.1-disable-test-extract_floating_point.patch deleted file mode 100644 index a01ffc5..0000000 --- a/cpprest-2.9.1-disable-test-extract_floating_point.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/Release/tests/functional/streams/istream_tests.cpp b/Release/tests/functional/streams/istream_tests.cpp -index 5ee45629..a2fe4e56 100644 ---- a/Release/tests/functional/streams/istream_tests.cpp -+++ b/Release/tests/functional/streams/istream_tests.cpp -@@ -1303,6 +1303,7 @@ void compare_float(float expected, float actual) - compare_floating(expected, actual, FLT_EPSILON); - } - -+/* - TEST(extract_floating_point) - { - std::string test_string; -@@ -1349,6 +1350,7 @@ TEST(extract_floating_point) - VERIFY_ARE_EQUAL(1 / expected, 1 / actual); - } while (!std_istream.eof()); - } -+*/ - - TEST(extract_floating_point_with_exceptions) - { diff --git a/cpprest.spec b/cpprest.spec index ca76a64..ae5817e 100644 --- a/cpprest.spec +++ b/cpprest.spec @@ -1,18 +1,18 @@ %define major 2 %define minor 10 Name: cpprest -Version: 2.10.8 -Release: 2%{?dist} +Version: 2.10.9 +Release: 1%{?dist} Summary: C++ REST library License: MIT Url: https://github.com/Microsoft/cpprestsdk Source0: https://github.com/Microsoft/cpprestsdk/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # Disable outside, failing and sometimes failing tests -Patch1: cpprest-2.10.2-disable-outside-and-failing-tests.patch +Patch1: cpprest-2.10.9-disable-outside-and-failing-tests.patch # Disable tests with long timeouts -Patch2: cpprest-2.10.0-disable-tests-long-timeouts.patch +Patch2: cpprest-2.10.9-disable-tests-long-timeouts.patch # Disable test extract_floating_point, which fails on ppc64le and aarch64 -Patch3: cpprest-2.9.1-disable-test-extract_floating_point.patch +Patch3: cpprest-2.10.9-disable-test-extract_floating_point.patch BuildRequires: boost-devel >= 1.55 # The lowest version in currently supported Fedora was tested under F27: brotli-devel 0.6.0 @@ -89,6 +89,13 @@ cd Release/build.release/Binaries %changelog +* Mon Jan 21 2019 Wolfgang Stöggl - 2.10.9-1 +- New upstream version 2.10.9 +- Update patches to current code: + cpprest-2.10.9-disable-outside-and-failing-tests.patch + cpprest-2.10.9-disable-tests-long-timeouts.patch + cpprest-2.10.9-disable-test-extract_floating_point.patch + * Thu Nov 15 2018 Wolfgang Stöggl - 2.10.8-2 - Enable brotli HTTP compression add BR: pkgconfig(libbrotlidec), pkgconfig(libbrotlienc)