diff --git a/python-podman.spec b/python-podman.spec index c5e303c..771701f 100644 --- a/python-podman.spec +++ b/python-podman.spec @@ -65,9 +65,17 @@ export PBR_VERSION="0.0.0" %pyproject_save_files %{pypi_name} %endif +%if 0%{?rhel} <= 8 +%files -n python3-podman +%license LICENSE +%doc README.md +%{python3_sitelib}/podman/* +%{python3_sitelib}/podman-*/* +%else %files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md +%endif %changelog %autochangelog