SHA256
8
0
forked from pool/libssh

Updating link to change in openSUSE:Factory/libssh revision 47.0

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libssh?expand=0&rev=fc01fb48475f33aa3f28dac7c487fc28
This commit is contained in:
OBS User buildservice-autocommit
2018-03-13 09:22:03 +00:00
committed by Git OBS Bridge
parent ff8b37ee68
commit 0725c05bc2
3 changed files with 75 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package libssh
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -40,6 +40,7 @@ Patch7: 0001-cmake-Use-configure-check-for-CRYPTO_ctr128_encrypt.patch
# END of OpenSSL 1.1 support patches
# PATCH-FIX-UPSTREAM Fix parsing of config files (boo#1067782)
Patch10: 0001-config-Bugfix-Dont-skip-unseen-opcodes.patch
Patch11: 0001-disable-timeout-test-on-slow-buildsystems.patch
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: gcc-c++
@@ -101,15 +102,24 @@ Documentation for libssh development.
%patch6 -p1
%patch7 -p1
%patch10 -p1
%patch11 -p1
%build
%ifarch s390 s390x ppc64le
%define slow_test_system "ON"
%else
%define slow_test_system "OFF"
%endif
%cmake \
-DCMAKE_C_FLAGS:STRING="%{optflags} -DOPENSSL_LOAD_CONF" \
-DWITH_CLIENT_TESTING="OFF" \
-DWITH_TESTING="ON" \
-DWITH_GSSAPI=ON \
-DWITH_BENCHMARKS="OFF" \
-DWITH_EXAMPLES="OFF"
-DWITH_EXAMPLES="OFF" \
-DSLOW_TEST_SYSTEM=%{slow_test_system}
make %{?_smp_mflags}
make %{?_smp_mflags} doc