[dieharder] Added support for the aarch64

Jirka Hladky jhladky at fedoraproject.org
Sat Jan 4 02:52:22 UTC 2014


commit a25453df8495af5270b8b668bec410871ee58048
Author: Jirka Hladky <jhladky at redhat.com>
Date:   Sat Jan 4 03:51:03 2014 +0100

    Added support for the aarch64

 .gitignore     |    1 +
 dieharder.spec |   17 +++++++++++++----
 sources        |    2 +-
 3 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 764a029..94d00b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /dieharder-3.31.1.tgz
+/dieharder-3.31.1_urandom_64bit.patch
diff --git a/dieharder.spec b/dieharder.spec
index 80a90f8..db9f3fb 100644
--- a/dieharder.spec
+++ b/dieharder.spec
@@ -1,12 +1,13 @@
 Summary:        Random number generator tester and timer
 Name:           dieharder
 Version:        3.31.1
-Release:        8%{?dist}
+Release:        9%{?dist}
 License:        GPLv2+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Group:          Development/Tools
 Source0:        http://www.phy.duke.edu/~rgb/General/%{name}/%{name}-%{version}.tgz
 URL:            http://www.phy.duke.edu/~rgb/General/dieharder.php
+Patch0:         dieharder-3.31.1_urandom_64bit.patch 
 
 Requires:       gsl
 Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
@@ -19,12 +20,12 @@ BuildRequires:  texlive-latex
 %endif
 BuildRequires:  latex2html
 
-BuildRequires:  gsl-devel
+BuildRequires:  gsl-devel autoconf
 
 
 %description 
 dieharder is a fairly involved random number/uniform deviate generator
-tester.  It can either test any of its many prebuilt and linked
+tester.  It can either test any of its many pre-built and linked
 generators (basically all of those in the Gnu Scientific Library plus
 some others) or a potentially random data-set in a file.  With file
 input, it can manage either a variety of ASCII-formatted input or a raw
@@ -53,7 +54,7 @@ Group:          Development/Libraries
 
 libdieharder is the core library of dieharder designed to be "the last
 suite of random number testers you'll ever wear".  It can test any of
-its many prebuilt and library linked generators (basically all of those
+its many pre-built and library linked generators (basically all of those
 in the Gnu Scientific Library plus a number of others from various
 sources) or a potentially random data-set in either an ASCII-formatted
 or raw (presumed 32 bit unsigned int) binary file.  It is fairly
@@ -82,6 +83,8 @@ Development files for %{name}
 ########################################################################
 %prep
 %setup -q
+%patch0 -p1
+autoconf
 
 %build
 %configure
@@ -135,6 +138,12 @@ rm -rf %{buildroot}
 %{_libdir}/*.so
 
 %changelog
+* Sat Jan 04 2014 Jirka Hladky <hladky.jiri at gmail.com> - 3.31.1-9
+- Fixed issue when testing /dev/random and /dev/urandom 9generators 500 and 501)
+  on 64-bit architecture. Refer to 
+  https://bugzilla.redhat.com/show_bug.cgi?id=803292
+- Added support for the ARM 64 bit CPU architecture (aarch64)
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.31.1-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 853bed4..7d68de0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b57404dfb812d4548caaf71a05be2d17  dieharder-3.31.1.tgz
+8936f9008183eea8d6cc0791a43e6359  dieharder-3.31.1_urandom_64bit.patch


More information about the scm-commits mailing list