[libssh2/f19] avoid collisions between 32bit and 64bit builds
Kamil Dudka
kdudka at fedoraproject.org
Tue Mar 26 12:49:19 UTC 2013
commit abdd90b894fcf158bc4ec3adb0a7e840b5162465
Author: Kamil Dudka <kdudka at redhat.com>
Date: Tue Mar 26 13:29:19 2013 +0100
avoid collisions between 32bit and 64bit builds
... running on a single build-host
libssh2.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/libssh2.spec b/libssh2.spec
index b32a405..04b0f73 100644
--- a/libssh2.spec
+++ b/libssh2.spec
@@ -9,7 +9,7 @@
Name: libssh2
Version: 1.4.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A library implementing the SSH2 protocol
Group: System Environment/Libraries
License: BSD
@@ -62,6 +62,10 @@ developing applications that use libssh2.
%prep
%setup -q
+# replace hard wired port number in the test suite to avoid collisions
+# between 32bit and 64bit builds running on a single build-host
+sed -i s/4711/47%{?__isa_bits}/ tests/ssh2.{c,sh}
+
# Make sure things are UTF-8...
%patch0 -p1
@@ -128,6 +132,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/libssh2.pc
%changelog
+* Tue Mar 26 2013 Kamil Dudka <kdudka at redhat.com> 1.4.3-3
+- avoid collisions between 32bit and 64bit builds running on a single build-host
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list