diff --git a/openscap.spec b/openscap.spec index 364c497..024a4e4 100644 --- a/openscap.spec +++ b/openscap.spec @@ -293,7 +293,11 @@ ln -s %{_datadir}/openscap/scap-yast2sec-xccdf.xml %{buildroot}/%{_datadir}/ope %files docker %defattr(-, root, root) +if %if 0%{?suse_version} >= 1500 %{python3_sitelib}/oscap_docker_python +%else +%{python3_sitelib}/oscap_docker_python +%endif %{_bindir}/oscap-docker %if 0%{?with_bindings}