From 0102e47e88118d797d7a381034224fdfcc03d2dd9267e39f39a94b89b24eafb0 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 22 Feb 2018 13:59:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=199 --- openscap.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openscap.spec b/openscap.spec index e2b3b97..db9eb3a 100644 --- a/openscap.spec +++ b/openscap.spec @@ -192,6 +192,9 @@ make check %{?_smp_mflags} || : make install DESTDIR=%{buildroot} find %{buildroot} -name "*.la" -delete +# last python2 user in oscap-utils ... needs porting to python3 +rm %{buildroot}/usr/bin/scap-as-rpm + mkdir -p $RPM_BUILD_ROOT%{_fillupdir} install -d -m 755 $RPM_BUILD_ROOT%{_initrddir} install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/oscap-scan