From e449748bbe695888fb15e437cf22b51de314998c885e778a7937a22bfe0ea053 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 13 Jul 2007 20:39:06 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/audit?expand=0&rev=5 --- audit-libs-python.changes | 5 +++++ audit-libs-python.spec | 6 +++++- audit-swig-attribute.patch | 10 ++++++++++ audit.spec | 2 +- 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 audit-swig-attribute.patch diff --git a/audit-libs-python.changes b/audit-libs-python.changes index 6ad98ab..f315dc2 100644 --- a/audit-libs-python.changes +++ b/audit-libs-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 13 01:58:29 CEST 2007 - tonyj@suse.de + +- Fix build errors on ppc + ------------------------------------------------------------------- Thu Jul 12 01:38:36 CEST 2007 - tonyj@suse.de diff --git a/audit-libs-python.spec b/audit-libs-python.spec index c15051a..bea74e6 100644 --- a/audit-libs-python.spec +++ b/audit-libs-python.spec @@ -15,11 +15,12 @@ Name: audit-libs-python BuildRequires: audit-devel gcc-c++ pkg-config python-devel swig Summary: Python bindings for libaudit Version: 1.5.4 -Release: 1 +Release: 3 License: GPL v2 or later Group: System/Monitoring URL: http://people.redhat.com/sgrubb/audit/ Source0: audit-%{version}.tar.gz +Patch0: audit-swig-attribute.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: audit-libs = %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' audit-libs`) PreReq: %insserv_prereq %fillup_prereq @@ -36,6 +37,7 @@ Authors: %prep %setup -q -n audit-%{version} +%patch -p1 %build autoreconf -iv --install @@ -65,6 +67,8 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/python%{py_ver}/site-packages/audit.py* %changelog +* Fri Jul 13 2007 - tonyj@suse.de +- Fix build errors on ppc * Thu Jul 12 2007 - tonyj@suse.de - Upgrade to 1.5.4 * Wed May 02 2007 - tonyj@suse.de diff --git a/audit-swig-attribute.patch b/audit-swig-attribute.patch new file mode 100644 index 0000000..912356c --- /dev/null +++ b/audit-swig-attribute.patch @@ -0,0 +1,10 @@ +--- audit-1.5.4/swig/auditswig.i 2007-06-14 17:17:00.000000000 +0200 ++++ audit-1.5.4/swig/auditswig.i 2007-07-12 23:27:24.764034000 +0200 +@@ -26,6 +26,7 @@ + %define __signed__ + signed + %enddef ++#define __attribute(x) /* nothing */ + %include "/usr/include/asm/types.h" + %include "/usr/include/linux/audit.h" + #define __extension__ /*nothing*/ diff --git a/audit.spec b/audit.spec index abe52fa..56d132a 100644 --- a/audit.spec +++ b/audit.spec @@ -14,7 +14,7 @@ Name: audit BuildRequires: gcc-c++ Summary: User Space Tools for 2.6 Kernel Auditing Version: 1.5.4 -Release: 1 +Release: 3 License: GPL v2 or later Group: System/Monitoring URL: http://people.redhat.com/sgrubb/audit/