From dd1d90e9bcbb4fd089d1e938d693633d92db6d24 Mon Sep 17 00:00:00 2001 From: Peter Vrabec Date: Sep 25 2012 15:36:05 +0000 Subject: upgrade to openscap 0.9.0 --- diff --git a/openscap.spec b/openscap.spec index 83d767f..d77a083 100644 --- a/openscap.spec +++ b/openscap.spec @@ -2,7 +2,7 @@ %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: openscap -Version: 0.8.5 +Version: 0.9.0 Release: 1%{?dist} Summary: Set of open source libraries enabling integration of the SCAP line of standards Group: System Environment/Libraries @@ -17,14 +17,16 @@ BuildRequires: pcre-devel BuildRequires: libacl-devel BuildRequires: libselinux-devel libcap-devel BuildRequires: libblkid-devel -BuildRequires: libnl-devel +%if %{?_with_check:1}%{!?_with_check:0} +BuildRequires: perl-XML-XPath +%endif Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description -OpenSCAP is a set of open source libraries providing an easier path -for integration of the SCAP line of standards. SCAP is a line of standards -managed by NIST with the goal of providing a standard language +OpenSCAP is a set of open source libraries providing an easier path +for integration of the SCAP line of standards. SCAP is a line of standards +managed by NIST with the goal of providing a standard language for the expression of Computer Network Defense related information. %package devel @@ -42,7 +44,7 @@ developing applications that use %{name}. Summary: Python bindings for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} -BuildRequires: python-devel +BuildRequires: python-devel %description python The %{name}-python package contains the bindings so that %{name} @@ -73,6 +75,7 @@ The %{name}-utils package contains various utilities based on %{name} library. Summary: SCAP content Group: Applications/System Requires: %{name} = %{version}-%{release} +BuildArch: noarch %description content Example of SCAP content for Fedora. Please note that this content @@ -112,7 +115,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fpie" export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" %endif -%configure --enable-sce +%configure --enable-sce --enable-perl make %{?_smp_mflags} # Remove shebang from bash-completion script @@ -232,6 +235,9 @@ rm -rf $RPM_BUILD_ROOT %{_libexecdir}/openscap/probe_gconf %changelog +* Tue Sep 25 2012 Peter Vrabec 0.9.0-1 +- upgrade + * Mon Aug 27 2012 Petr Lautrbach 0.8.5-1 - upgrade