forked from pool/cpprest
Accepting request 437906 from home:AndreasStieger:branches:devel:libraries:c_c++
cpprest 2.9.0 OBS-URL: https://build.opensuse.org/request/show/437906 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=16
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
|
||||
|
||||
%define major 2
|
||||
%define minor 8
|
||||
%define minor 9
|
||||
Name: cpprest
|
||||
Version: 2.8.0
|
||||
Version: 2.9.0
|
||||
Release: 0
|
||||
Summary: C++ REST library
|
||||
License: Apache-2.0
|
||||
@@ -68,7 +68,7 @@ Development files.
|
||||
%build
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
%ifarch ppc ppc64 ppc64le aarch64 %arm
|
||||
%ifarch ppc ppc64 ppc64le aarch64 %{arm}
|
||||
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-error=attributes -Wno-error=type-limits -Wno-error=cast-align -Wno-error=deprecated-declarations" \
|
||||
%endif
|
||||
../Release
|
||||
@@ -78,6 +78,7 @@ make %{?_smp_mflags}
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user