Hello community,

here is the log from the commit of package cpprest for openSUSE:Factory checked 
in at 2020-05-08 23:09:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpprest (Old)
 and      /work/SRC/openSUSE:Factory/.cpprest.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpprest"

Fri May  8 23:09:13 2020 rev:18 rq:801852 version:2.10.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpprest/cpprest.changes  2019-08-06 
17:27:13.628689216 +0200
+++ /work/SRC/openSUSE:Factory/.cpprest.new.2738/cpprest.changes        
2020-05-08 23:09:21.918354190 +0200
@@ -1,0 +2,7 @@
+Tue May  5 08:15:39 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.10.16:
+  * Various c++11 fixes
+  * Cmake buildsystem improvements
+
+-------------------------------------------------------------------

Old:
----
  cpprestsdk-2.10.14.tar.gz

New:
----
  cpprestsdk-2.10.16.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cpprest.spec ++++++
--- /var/tmp/diff_new_pack.BIvno2/_old  2020-05-08 23:09:24.218358888 +0200
+++ /var/tmp/diff_new_pack.BIvno2/_new  2020-05-08 23:09:24.222358896 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cpprest
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # 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.14
+Version:        2.10.16
 Release:        0
 Summary:        C++ REST library
 # main: MIT (license.txt)
@@ -29,12 +29,12 @@
 # common/md5.hpp: Zlib (ThirdPartyNotices.txt)
 # utf8_validation.hpp: MIT (ThirdPartyNotices.txt)
 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
 BuildRequires:  cmake >= 3.0
 BuildRequires:  gcc-c++
-BuildRequires:  openssl-devel >= 1.0
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(libssl) >= 1.0
 BuildRequires:  pkgconfig(websocketpp) >= 0.8
 BuildRequires:  pkgconfig(zlib)
 %if 0%{?suse_version} > 1325
@@ -57,7 +57,6 @@
 
 %package -n libcpprest%{major}_%{minor}
 Summary:        C++ Rest library
-Group:          System/Libraries
 
 %description -n libcpprest%{major}_%{minor}
 The C++ REST SDK is a Microsoft project for cloud-based client-server
@@ -66,7 +65,6 @@
 
 %package devel
 Summary:        Development files for %{name}
-Group:          Development/Libraries/C and C++
 Requires:       libcpprest%{major}_%{minor} = %{version}
 
 %description devel
@@ -82,21 +80,11 @@
 %build
 %cmake \
        -DCMAKE_BUILD_TYPE=Release \
-%ifarch ppc ppc64 ppc64le aarch64 %{arm}
-       -DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-deprecated-copy 
-Wno-redundant-move -Wno-error=attributes -Wno-error=type-limits 
-Wno-error=cast-align -Wno-error=deprecated-declarations" \
-%else
-       -DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-deprecated-copy 
-Wno-redundant-move" \
-%endif
-       ../Release
-make %{?_smp_mflags}
+    -DWERROR=OFF
+%cmake_build
 
 %install
-mkdir -p %{buildroot}%{_includedir}
-cp -r Release/include/* %{buildroot}%{_includedir}/
-install -d -m 755 %{buildroot}%{_libdir}
-chmod -x %{buildroot}%{_includedir}/cpprest/oauth1.h
-cp build/Binaries/libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/
-ln -sf libcpprest.so.%{major}.%{minor} %{buildroot}%{_libdir}/libcpprest.so
+%cmake_install
 
 # create a pkgconfig file
 install -d %{buildroot}%{_libdir}/pkgconfig
@@ -114,6 +102,15 @@
 Cflags: -I%{_includedir}/cpprest -I%{_includedir}/pplx
 EOF
 
+%check
+# websocketsclient_test -> authentication_tests - online tests
+# httpclient_test -> follows_retrieval_redirect - online test
+# do not use macro so we can exclude tests
+pushd build
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
+ctest --output-on-failure --force-new-ctest-process %{_smp_mflags} -E 
'(httpclient_test|websocketsclient_test)'
+popd
+
 %post -n libcpprest%{major}_%{minor} -p /sbin/ldconfig
 %postun -n libcpprest%{major}_%{minor} -p /sbin/ldconfig
 
@@ -129,6 +126,7 @@
 %{_includedir}/%{name}
 %{_includedir}/pplx
 %{_libdir}/libcpprest.so
+%{_libdir}/cmake/*
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog

++++++ cpprestsdk-2.10.14.tar.gz -> cpprestsdk-2.10.16.tar.gz ++++++
++++ 4384 lines of diff (skipped)


Reply via email to