SHA256
1
0
forked from pool/audit

- remove libcap-ng too from audit.spec as it's only needed for plugins

(and libcap-ng itself needs python to build bindings)

OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=53
This commit is contained in:
Stephan Kulow 2013-06-28 09:31:27 +00:00 committed by Git OBS Bridge
parent e38ed3ab5f
commit 2db0c57f70
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 28 09:30:54 UTC 2013 - coolo@suse.com
- remove libcap-ng too from audit.spec as it's only needed for plugins
(and libcap-ng itself needs python to build bindings)
-------------------------------------------------------------------
Thu Jun 27 15:15:07 UTC 2013 - tonyj@suse.com

View File

@ -16,8 +16,6 @@
#
#!BuildIgnore: util-linux
Name: audit
Summary: First part of auditing package
License: GPL-2.0+
@ -36,7 +34,6 @@ BuildRequires: gcc-c++
BuildRequires: kernel-headers >= 2.6.30
BuildRequires: libtool
BuildRequires: tcpd-devel
BuildRequires: pkgconfig(libcap-ng)
Requires: %{name}-libs = %{version}
PreReq: %insserv_prereq %fillup_prereq
@ -88,7 +85,7 @@ export CXXFLAGS="$CFLAGS"
export LDFLAGS="-Wl,-z,relro,-z,now"
# no krb support (omit --enable-gssapi-krb5=yes), see audit-no-gss.patch
%configure --enable-systemd --libexecdir=%{_prefix}/lib/%{name} \
--with-apparmor --with-libwrap --with-libcap-ng=yes \
--with-apparmor --with-libwrap --without-libcap-ng \
--disable-static --with-pic --without-python
(cd lib ; %{__make} %{?_smp_mflags})
(cd auparse ; %{__make} %{?_smp_mflags})