centos8 conditionals for file listings
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
ffa67d5bf4
commit
3811bf759d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user