SHA256
1
0
forked from pool/openscap
Marcus Meissner 2009-11-19 14:31:51 +00:00 committed by Git OBS Bridge
parent e0bae6d4ed
commit b3cb7df1c5
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
Index: src/OVAL/probes/Makefile.am
===================================================================
--- src/OVAL/probes.orig/Makefile.am
+++ src/OVAL/probes/Makefile.am
@@ -25,17 +25,17 @@ probe_family_LDFLAGS=
pkglibexec_PROGRAMS += probe_system_info
probe_system_info_SOURCES= independent/system_info.c
probe_system_info_CFLAGS= @libnl_cflags@
-probe_system_info_LDFLAGS= @libnl_libs@
+probe_system_info_LDADD= @libnl_libs@
pkglibexec_PROGRAMS += probe_textfilecontent54
probe_textfilecontent54_SOURCES= independent/textfilecontent54.c
probe_textfilecontent54_CFLAGS= @pcre_cflags@
-probe_textfilecontent54_LDFLAGS= @pcre_libs@
+probe_textfilecontent54_LDADD= @pcre_libs@
pkglibexec_PROGRAMS += probe_xmlfilecontent
probe_xmlfilecontent_SOURCES= independent/xmlfilecontent.c
probe_xmlfilecontent_CFLAGS= @libxml_cflags@
-probe_xmlfilecontent_LDFLAGS= @libxml_libs@
+probe_xmlfilecontent_LDADD= @libxml_libs@
endif
if WANT_PROBES_UNIX
@@ -54,7 +54,7 @@ if ENABLE_PROBE_RPMINFO
pkglibexec_PROGRAMS += probe_rpminfo
probe_rpminfo_SOURCES= unix/linux/rpminfo.c
probe_rpminfo_CFLAGS= @rpm_cflags@
-probe_rpminfo_LDFLAGS= @rpm_libs@
+probe_rpminfo_LDADD= @rpm_libs@
endif
endif

View File

@ -26,6 +26,7 @@ Summary: A Friendly Greeting Program
Version: 0.5.5 Version: 0.5.5
Release: 1 Release: 1
Source0: http://www.open-scap.org/download/%name-%version.tar.bz2 Source0: http://www.open-scap.org/download/%name-%version.tar.bz2
Patch0: %name-fixasneeded.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -40,6 +41,7 @@ More information about SCAP can be found at nvd.nist.gov.
%prep %prep
%setup -q %setup -q
%patch0 -p0
%build %build
%configure %configure