x
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=18
This commit is contained in:
parent
4aed793e33
commit
9e79ec22b3
13
assume.patch
Normal file
13
assume.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: openscap-0.7.2/src/OVAL/oval_agent.c
|
||||||
|
===================================================================
|
||||||
|
--- openscap-0.7.2.orig/src/OVAL/oval_agent.c
|
||||||
|
+++ openscap-0.7.2/src/OVAL/oval_agent.c
|
||||||
|
@@ -33,7 +33,7 @@
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
-#include <assume.h>
|
||||||
|
+#include "common/assume.h"
|
||||||
|
|
||||||
|
#include "oval_definitions_impl.h"
|
||||||
|
#include "oval_agent_api_impl.h"
|
@ -25,19 +25,12 @@ Release: 1.0
|
|||||||
License: GNU GPL v3 or later
|
License: GNU GPL v3 or later
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Source: http://www.open-scap.org/download/%name-%version.tar.bz2
|
Source: http://www.open-scap.org/download/%name-%version.tar.bz2
|
||||||
|
Patch0: assume.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel libgcrypt-devel libnl-devel libxml2-devel
|
||||||
BuildRequires: libgcrypt-devel
|
|
||||||
BuildRequires: libnl-devel
|
|
||||||
BuildRequires: libxml2-devel
|
|
||||||
# Use package name cause of "have choice for perl(XML::Parser): brp-check-suse perl-XML-Parser"
|
# Use package name cause of "have choice for perl(XML::Parser): brp-check-suse perl-XML-Parser"
|
||||||
BuildRequires: perl-XML-Parser
|
BuildRequires: perl-XML-Parser
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config python-devel pcre-devel rpm-devel swig libxslt-devel
|
||||||
BuildRequires: python-devel
|
|
||||||
BuildRequires: pcre-devel
|
|
||||||
BuildRequires: rpm-devel
|
|
||||||
BuildRequires: swig
|
|
||||||
BuildRequires: libxslt-devel
|
|
||||||
Summary: A Set of Libraries for Integration with SCAP
|
Summary: A Set of Libraries for Integration with SCAP
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -89,10 +82,11 @@ The OpenSCAP Perl Library for easy integration with SCAP.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-silent-rules --disable-probes
|
%configure --disable-silent-rules --disable-probes
|
||||||
%__make # %{?_smp_mflags}
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%__make check %{?_smp_mflags}
|
%__make check %{?_smp_mflags}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user