[packages/file] fix build without python2

atler atler at pld-linux.org
Sun Feb 28 13:44:36 CET 2021


commit cd2e9cca42d6681ac392216857f5faf6dc27d770
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Feb 28 13:44:20 2021 +0100

    fix build without python2

 file.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/file.spec b/file.spec
index e3e2fbb..bf04d69 100644
--- a/file.spec
+++ b/file.spec
@@ -411,7 +411,7 @@ fi
 %{_libdir}/libmagic.a
 %endif
 
-%if %{with python3}
+%if %{with python2}
 %files -n python-magic
 %defattr(644,root,root,755)
 %doc python/README.md python/example.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/file.git/commitdiff/cd2e9cca42d6681ac392216857f5faf6dc27d770



More information about the pld-cvs-commit mailing list