diff --git a/cpprest.spec b/cpprest.spec index 62f5297..ca76a64 100644 --- a/cpprest.spec +++ b/cpprest.spec @@ -2,7 +2,7 @@ %define minor 10 Name: cpprest Version: 2.10.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ REST library License: MIT Url: https://github.com/Microsoft/cpprestsdk @@ -15,6 +15,9 @@ Patch2: cpprest-2.10.0-disable-tests-long-timeouts.patch Patch3: cpprest-2.9.1-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 +BuildRequires: pkgconfig(libbrotlidec) >= 0.6.0 +BuildRequires: pkgconfig(libbrotlienc) >= 0.6.0 BuildRequires: cmake >= 3.1 BuildRequires: gcc-c++ BuildRequires: pkgconfig(openssl) >= 1.0 @@ -52,7 +55,7 @@ cd Release mkdir build.release cd build.release export CXXFLAGS="%{optflags} -Wl,--as-needed" -%cmake .. -DCMAKE_BUILD_TYPE=Release -DWERROR=OFF -DCPPREST_EXPORT_DIR=cmake/cpprestsdk +%cmake .. -DCMAKE_BUILD_TYPE=Release -DWERROR=OFF -DCPPREST_EXPORT_DIR=cmake/cpprestsdk -DCPPREST_EXCLUDE_BROTLI=OFF make %{?_smp_mflags} %install @@ -86,6 +89,11 @@ cd Release/build.release/Binaries %changelog +* Thu Nov 15 2018 Wolfgang Stöggl - 2.10.8-2 +- Enable brotli HTTP compression + add BR: pkgconfig(libbrotlidec), pkgconfig(libbrotlienc) + add -DCPPREST_EXCLUDE_BROTLI=OFF to cmake + * Wed Nov 14 2018 Wolfgang Stöggl - 2.10.8-1 - New upstream version