[packages/python-distro] - DON'T create empty package when python2 is disabled
qboosh
qboosh at pld-linux.org
Sun Dec 3 19:38:53 CET 2023
commit 18304a1888be4b4fd75043c2c23fa6ee3be18069
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 3 19:17:57 2023 +0100
- DON'T create empty package when python2 is disabled
python-distro.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python-distro.spec b/python-distro.spec
index b33c733..ab3b560 100644
--- a/python-distro.spec
+++ b/python-distro.spec
@@ -122,9 +122,9 @@ rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%if %{with python2}
%files
%defattr(644,root,root,755)
-%if %{with python2}
%doc CHANGELOG.md CONTRIBUTORS.md LICENSE README.md
%{py_sitescriptdir}/distro.py[co]
%{py_sitescriptdir}/distro-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-distro.git/commitdiff/18304a1888be4b4fd75043c2c23fa6ee3be18069
More information about the pld-cvs-commit
mailing list