diff --git a/fix-missing-include.dif b/fix-missing-include.dif new file mode 100644 index 0000000..328a3be --- /dev/null +++ b/fix-missing-include.dif @@ -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 + #include + #include ++#include + + #ifndef HAVE_HEADERFORMAT + # define HAVE_LIBRPM44 1 /* hack */ diff --git a/openscap-0.9.6.tar.gz b/openscap-0.9.6.tar.gz deleted file mode 100644 index c2cd2f2..0000000 --- a/openscap-0.9.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4da3d416d3861ff919ea19f77adf6e393cd103bb164973a3946d3049e49e110e -size 12425425 diff --git a/openscap-0.9.6.tar.gz.sha1sum b/openscap-0.9.6.tar.gz.sha1sum deleted file mode 100644 index d727478..0000000 --- a/openscap-0.9.6.tar.gz.sha1sum +++ /dev/null @@ -1 +0,0 @@ -62d90fc9b02942b49121c54148f36c8dbe600141 openscap-0.9.6.tar.gz diff --git a/openscap-0.9.7.tar.gz b/openscap-0.9.7.tar.gz new file mode 100644 index 0000000..98e5f5e --- /dev/null +++ b/openscap-0.9.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d9ae804026d69e60d44e27cf489e65dd1c2865895cde2cb174ff90fd7868a6a +size 12122561 diff --git a/openscap-0.9.7.tar.gz.sha1sum b/openscap-0.9.7.tar.gz.sha1sum new file mode 100644 index 0000000..38b1ad2 --- /dev/null +++ b/openscap-0.9.7.tar.gz.sha1sum @@ -0,0 +1 @@ +259a7afe278e35e9d848005be542e088f8aee030 openscap-0.9.7.tar.gz diff --git a/openscap.changes b/openscap.changes index 9b0d76e..f5da3d7 100644 --- a/openscap.changes +++ b/openscap.changes @@ -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 diff --git a/openscap.spec b/openscap.spec index 350d335..7a59876 100644 --- a/openscap.spec +++ b/openscap.spec @@ -20,7 +20,7 @@ %define with_bindings 0 Name: openscap -Version: 0.9.6 +Version: 0.9.7 Release: 1.0 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 @@ -33,6 +33,7 @@ Source3: scap-yast2sec-xccdf.xml Source4: scap-yast2sec-oval.xml # # +Patch0: fix-missing-include.dif Url: http://www.open-scap.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libacl-devel @@ -146,6 +147,7 @@ commonly used and require additional dependencies. %prep %setup -q +%patch0 -p1 %build