summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Weyl <cweyl@fedoraproject.org>2010-01-19 06:18:57 +0000
committerChris Weyl <cweyl@fedoraproject.org>2010-01-19 06:18:57 +0000
commitce5ce38efe6f5d8b727061b8e2d750986f4927d0 (patch)
treef2fee5fa061a1f7d9168a719584789c252415e7e
parent- patch w/1aba38cd7d2658146675ce1737e5090f879f306; not yet in a GA release (diff)
downloadlibssh2-freefilesync-ce5ce38efe6f5d8b727061b8e2d750986f4927d0.tar.gz
libssh2-freefilesync-ce5ce38efe6f5d8b727061b8e2d750986f4927d0.tar.bz2
libssh2-freefilesync-ce5ce38efe6f5d8b727061b8e2d750986f4927d0.zip
- enable tests; conditionalize sshd test, which fails with a funky SElinux
error when run locally
-rw-r--r--libssh2.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/libssh2.spec b/libssh2.spec
index 250323a..a56cba6 100644
--- a/libssh2.spec
+++ b/libssh2.spec
@@ -1,6 +1,6 @@
Name: libssh2
Version: 1.2.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A library implementing the SSH2 protocol
Group: System Environment/Libraries
@@ -15,6 +15,9 @@ Patch0: libssh2-1.2.2-padding.patch
BuildRequires: openssl-devel
BuildRequires: zlib-devel
+# tests
+BuildRequires: openssh-server
+
%description
libssh2 is a library implementing the SSH2 protocol as defined by
Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25),
@@ -70,8 +73,9 @@ rm -rf example/simple/.deps
find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} +
%check
-# tests are currently not doing so well under rpmbuild
-#(cd tests && make check)
+# sshd/loopback test fails under local build, with selinux enforcing
+%{?_without_sshd_tests:echo "Skipping sshd tests" ; echo "exit 0" > tests/ssh2.sh }
+(cd tests && make check)
%clean
rm -rf %{buildroot}
@@ -100,6 +104,10 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/*
%changelog
+* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-4
+- enable tests; conditionalize sshd test, which fails with a funky SElinux
+ error when run locally
+
* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-3
- patch w/1aba38cd7d2658146675ce1737e5090f879f306; not yet in a GA release
bgstack15