[hydra] s390x is 64-bit arch

Dan Horák sharkcz at fedoraproject.org
Sat Dec 22 10:05:05 UTC 2012


commit 74946ee178e3c8efadd6be0c486cc8b0034ed1fd
Author: Dan Horák <dan at danny.cz>
Date:   Sat Dec 22 11:05:00 2012 +0100

    s390x is 64-bit arch

 hydra-7.3-s390x.patch |   14 ++++++++++++++
 hydra.spec            |    8 +++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/hydra-7.3-s390x.patch b/hydra-7.3-s390x.patch
new file mode 100644
index 0000000..8390e57
--- /dev/null
+++ b/hydra-7.3-s390x.patch
@@ -0,0 +1,14 @@
+diff -up hydra-7.3/configure.s390x hydra-7.3/configure
+--- hydra-7.3/configure.s390x	2012-12-22 10:22:12.000000000 +0100
++++ hydra-7.3/configure	2012-12-22 10:23:54.000000000 +0100
+@@ -39,6 +39,10 @@ if [ "$SYSS" = "Linux" -o "$SYSS" = "Ope
+     SIXFOUR=64
+     echo Detected 64 Bit $SYSS OS
+   fi
++  if [ `uname -m` = "s390x" ]; then
++    SIXFOUR=64
++    echo Detected 64 Bit $SYSS OS
++  fi
+ fi
+ PREFIX=""
+ NOSTRIP=""
diff --git a/hydra.spec b/hydra.spec
index ff5f491..8f4df7e 100644
--- a/hydra.spec
+++ b/hydra.spec
@@ -1,7 +1,7 @@
 Summary: Very fast network log-on cracker
 Name: hydra
 Version: 7.3
-Release: 12%{?dist}
+Release: 13%{?dist}
 License: GPLv3 with exceptions
 Source0: http://freeworld.thc.org/releases/%{name}-%{version}.tar.gz
 Source1: xhydra.desktop
@@ -9,6 +9,8 @@ Source1: xhydra.desktop
 Patch0: hydra-use-system-libpq-fe.patch
 Patch1: hydra-fix-dpl4hydra-dir.patch
 Patch2: hydra-fix-makefile.patch
+# s390x is 64-bit arch
+Patch3: hydra-7.3-s390x.patch
 
 
 URL: http://www.thc.org/thc-hydra/
@@ -36,6 +38,7 @@ This package includes xhydra, a GTK+ front end for hydra.
 %patch0 -p0
 %patch1 -p0
 %patch2 -p0
+%patch3 -p1
 
 %build
 export BINDIR=%{_bindir}
@@ -67,6 +70,9 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1};
 %{_datadir}/applications/*
 
 %changelog
+* Sat Dec 22 2012 Dan Horák <dan[at]danny.cz> 7.3-13
+- s390x is 64-bit arch
+
 * Mon Sep 10 2012 Athmane Madjoudj <athmane at fedoraproject.org> 7.3-12
 - Remove dep on ncpfs-devel since it's a dead upstream.
 


More information about the scm-commits mailing list