diff options
author | CoprDistGit <infra@openeuler.org> | 2025-01-04 10:13:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-01-04 10:13:50 +0000 |
commit | 6b82a469a0d13127d3e252bb311a3abb037edea2 (patch) | |
tree | 300ea2f65694c792dafb58c8560508f0fc2d9798 | |
parent | e385a0781b5231cf9b44b756b92dbfc51080ca1e (diff) |
automatic import of libssh2openeuler24.03_LTS
-rw-r--r-- | libssh2.spec | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/libssh2.spec b/libssh2.spec index f1aabee..91b0ae2 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -32,7 +32,7 @@ developing applications that use libssh2. sed -i s/4711/47%{?__isa_bits}/ tests/{openssh_fixture.c,test_ssh{2.c,d.test}} %build -%configure --disable-silent-rules --enable-shared --disable-docker-tests +%configure --disable-silent-rules --disable-static --enable-shared --disable-docker-tests %make_build %install @@ -46,20 +46,7 @@ find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -delete mv -v example example.%{_arch} %check -echo "Running tests for %{_arch}" -if [ ! -c /dev/tty ]; then - echo Skipping SSH test due to missing /dev/tty - echo "exit 0" > tests/ssh2.sh -fi -%ifarch %{sparc} %{arm} -echo Skipping SSH test on sparc/arm -echo "exit 0" > tests/ssh2.sh -%endif -%ifarch ppc %{power64} aarch64 -echo "Skipping mansyntax test on PPC* and aarch64" -echo "exit 0" > tests/mansyntax.sh -%endif -#LC_ALL=en_US.UTF-8 make -C tests check +LC_ALL=en_US.UTF-8 make -C tests check %files %doc docs/AUTHORS NEWS README RELEASE-NOTES |