From 51d40bdb4523c50734893536b0618bce966f425d Mon Sep 17 00:00:00 2001 From: Steve Date: Wed, 12 Dec 2012 12:33:18 -0500 Subject: [PATCH] New upstream release --- audit.spec | 2 ++ fix-srand.patch | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 fix-srand.patch diff --git a/audit.spec b/audit.spec index dd622bb..a83335b 100644 --- a/audit.spec +++ b/audit.spec @@ -11,6 +11,7 @@ License: GPLv2+ Group: System Environment/Daemons URL: http://people.redhat.com/sgrubb/audit/ Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz +Patch1: fix-srand.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: swig python-devel BuildRequires: tcp_wrappers-devel krb5-devel libcap-ng-devel @@ -89,6 +90,7 @@ behavior. %prep %setup -q +%patch1 -p0 %build %configure --sbindir=/sbin --libdir=/%{_lib} --with-python=yes --with-prelude --with-libwrap --enable-gssapi-krb5=yes --with-libcap-ng=yes --with-armeb \ diff --git a/fix-srand.patch b/fix-srand.patch new file mode 100644 index 0000000..d18185e --- /dev/null +++ b/fix-srand.patch @@ -0,0 +1,11 @@ +Index: trunk/lib/test/lookup_test.c +=================================================================== +--- trunk/lib/test/lookup_test.c (revision 737) ++++ trunk/lib/test/lookup_test.c (revision 738) +@@ -385,5 +385,5 @@ + // This is only for preventing collisions in s2i tests. + // If collisions are found in future, change the number. +- srand(2); ++ srand(3); + #ifdef WITH_ALPHA + test_alpha_table();