[audit] New upstream release

Steve Grubb sgrubb at fedoraproject.org
Wed Dec 12 17:33:25 UTC 2012


commit 51d40bdb4523c50734893536b0618bce966f425d
Author: Steve <sgrubb at redhat.com>
Date:   Wed Dec 12 12:33:18 2012 -0500

    New upstream release

 audit.spec      |    2 ++
 fix-srand.patch |   11 +++++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)
---
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();


More information about the scm-commits mailing list