SHA256
1
0
forked from pool/openscap

Accepting request 174618 from security

- fix build on SLE11 - possible 64Bit issue
  - fix-missing-include.dif (forwarded request 174495 from mcalmer)

OBS-URL: https://build.opensuse.org/request/show/174618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openscap?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2013-05-07 13:17:06 +00:00 committed by Git OBS Bridge
commit 628415a8ab
7 changed files with 31 additions and 5 deletions

12
fix-missing-include.dif Normal file
View File

@ -0,0 +1,12 @@
Index: openscap-0.9.7/src/OVAL/probes/unix/linux/rpminfo.c
===================================================================
--- openscap-0.9.7.orig/src/OVAL/probes/unix/linux/rpminfo.c
+++ openscap-0.9.7/src/OVAL/probes/unix/linux/rpminfo.c
@@ -66,6 +66,7 @@
#include <rpm/rpmmacro.h>
#include <rpm/rpmlog.h>
#include <rpm/header.h>
+#include <rpm/rpmfi.h>
#ifndef HAVE_HEADERFORMAT
# define HAVE_LIBRPM44 1 /* hack */

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4da3d416d3861ff919ea19f77adf6e393cd103bb164973a3946d3049e49e110e
size 12425425

View File

@ -1 +0,0 @@
62d90fc9b02942b49121c54148f36c8dbe600141 openscap-0.9.6.tar.gz

3
openscap-0.9.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d9ae804026d69e60d44e27cf489e65dd1c2865895cde2cb174ff90fd7868a6a
size 12122561

View File

@ -0,0 +1 @@
259a7afe278e35e9d848005be542e088f8aee030 openscap-0.9.7.tar.gz

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat May 4 15:37:25 UTC 2013 - mc@suse.com
- fix build on SLE11 - possible 64Bit issue
- fix-missing-include.dif
-------------------------------------------------------------------
Mon Apr 29 09:21:35 UTC 2013 - meissner@suse.com
- updated to 0.9.7
- bugfixes
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 25 11:28:31 UTC 2013 - meissner@suse.com Thu Apr 25 11:28:31 UTC 2013 - meissner@suse.com

View File

@ -20,7 +20,7 @@
%define with_bindings 0 %define with_bindings 0
Name: openscap Name: openscap
Version: 0.9.6 Version: 0.9.7
Release: 1.0 Release: 1.0
Source: https://fedorahosted.org/releases/o/p/openscap/%name-%version.tar.gz Source: https://fedorahosted.org/releases/o/p/openscap/%name-%version.tar.gz
Source5: https://fedorahosted.org/releases/o/p/openscap/%name-%version.tar.gz.sha1sum Source5: https://fedorahosted.org/releases/o/p/openscap/%name-%version.tar.gz.sha1sum
@ -33,6 +33,7 @@ Source3: scap-yast2sec-xccdf.xml
Source4: scap-yast2sec-oval.xml Source4: scap-yast2sec-oval.xml
# #
# #
Patch0: fix-missing-include.dif
Url: http://www.open-scap.org/ Url: http://www.open-scap.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libacl-devel BuildRequires: libacl-devel
@ -146,6 +147,7 @@ commonly used and require additional dependencies.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build