summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libssh2/libssh2.spec13
1 files changed, 10 insertions, 3 deletions
diff --git a/libssh2/libssh2.spec b/libssh2/libssh2.spec
index b34dadf..01742ce 100644
--- a/libssh2/libssh2.spec
+++ b/libssh2/libssh2.spec
@@ -16,10 +16,14 @@
# Define %%{__isa_bits} for old releases
%{!?__isa_bits: %global __isa_bits %((echo '#include <bits/wordsize.h>'; echo __WORDSIZE) | cpp - | grep -Ex '32|64')}
+%global shortname libssh2
+%if 0%{?rhel} >= 8
+Name: libssh2-freefilesync
+%else
Name: libssh2
-Epoch: 1
+%endif
Version: 1.9.0
-Release: 12.stack
+Release: 3.0.stack.%{__distinit}%{__distvers}
Summary: A library implementing the SSH2 protocol
License: BSD
URL: http://www.libssh2.org/
@@ -77,7 +81,7 @@ The libssh2-docs package contains man pages and examples for
developing applications that use libssh2.
%prep
-%setup -q
+%setup -q -n %{shortname}-%{version}
# Replace hard wired port number in the test suite to avoid collisions
# between 32-bit and 64-bit builds running on a single build-host
@@ -158,6 +162,9 @@ echo "exit 0" > tests/mansyntax.sh
%{_libdir}/pkgconfig/libssh2.pc
%changelog
+* Wed Oct 09 2019 Ben Stack <bgstack15@gmail.com> - 1.9.0-3.0.stack
+- Disable tests so it will build in copr
+
* Tue Sep 17 2019 Ben Stack <bgstack15@gmail.com> - 1.9.0-2.0.stack
- Disable tests so it will build in copr
bgstack15