diff --git a/.gitignore b/.gitignore index 368c9e7..858911c 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ openscap-0.6.0.tar.gz /openscap-1.0.7.tar.gz /openscap-1.0.8.tar.gz /openscap-1.0.9.tar.gz +/openscap-1.1.0.tar.gz diff --git a/openscap.spec b/openscap.spec index bcffb1f..bd21a09 100644 --- a/openscap.spec +++ b/openscap.spec @@ -5,8 +5,8 @@ restorecon -R /usr/bin/oscap /usr/libexec/openscap; \ Name: openscap -Version: 1.0.9 -Release: 4%{?dist} +Version: 1.1.0 +Release: 1%{?dist} Summary: Set of open source libraries enabling integration of the SCAP line of standards Group: System Environment/Libraries License: LGPLv2+ @@ -44,7 +44,7 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package python -Summary: Python bindings for %{name} +Summary: Python 2 bindings for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: python-devel @@ -53,6 +53,16 @@ BuildRequires: python-devel The %{name}-python package contains the bindings so that %{name} libraries can be used by python. +%package python3 +Summary: Python 3 bindings for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +BuildRequires: python3-devel + +%description python3 +The %{name}-python3 package contains the bindings so that %{name} +libraries can be used by python3. + %package perl Summary: Perl bindings for %{name} Group: Development/Libraries @@ -168,7 +178,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fpie" export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" %endif -%configure --enable-sce --enable-perl --enable-selinux_policy +%configure --enable-sce --enable-perl --enable-selinux_policy --enable-python3 make %{?_smp_mflags} # Remove shebang from bash-completion script @@ -252,6 +262,8 @@ exit 0 %{_libexecdir}/openscap/probe_shadow %{_libexecdir}/openscap/probe_sysctl %{_libexecdir}/openscap/probe_system_info +%{_libexecdir}/openscap/probe_systemdunitdependency +%{_libexecdir}/openscap/probe_systemdunitproperty %{_libexecdir}/openscap/probe_textfilecontent %{_libexecdir}/openscap/probe_textfilecontent54 %{_libexecdir}/openscap/probe_uname @@ -270,6 +282,9 @@ exit 0 %defattr(-,root,root,-) %{python_sitearch}/* +%files python3 +%{python3_sitearch}/* + %files perl %defattr(-,root,root,-) %{perl_vendorarch}/* @@ -322,6 +337,9 @@ exit 0 # %{_mandir}/man8/openscap_selinux.8.* %changelog +* Wed Sep 03 2014 Šimon Lukašík - 1.1.0-1 +- upgrade + * Thu Aug 28 2014 Jitka Plesnikova - 1.0.9-4 - Perl 5.20 rebuild diff --git a/sources b/sources index 089bf27..8b093c1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ca27bc1f698a68b9082a26d6b0645c97 openscap-1.0.9.tar.gz +a8d82102ece43496cf7b11a6a74bd712 openscap-1.1.0.tar.gz