summaryrefslogtreecommitdiff
path: root/libssh2/libssh2.spec
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-10-09 11:05:48 -0400
committerB Stack <bgstack15@gmail.com>2019-10-09 11:05:48 -0400
commitd0a75dff7ac27de9ba5fa25394d2ff56e693cab4 (patch)
tree43c5c622eac9d5f7a3c537e5495c1044668785f7 /libssh2/libssh2.spec
parentWIP: libssh2 change release name (diff)
downloadstackrpms-d0a75dff7ac27de9ba5fa25394d2ff56e693cab4.tar.gz
stackrpms-d0a75dff7ac27de9ba5fa25394d2ff56e693cab4.tar.bz2
stackrpms-d0a75dff7ac27de9ba5fa25394d2ff56e693cab4.zip
libssh2 customized for el8 for ffs
Diffstat (limited to 'libssh2/libssh2.spec')
-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