New upstream release

This commit is contained in:
Steve 2012-12-12 12:33:18 -05:00
parent 3d431cff12
commit 51d40bdb45
2 changed files with 13 additions and 0 deletions

View File

@ -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 \

11
fix-srand.patch Normal file
View File

@ -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();