[packages/file] fix build without python3

atler atler at pld-linux.org
Sun Nov 15 22:59:37 CET 2020


commit 2196b92b3a0f4d9b58a2d1a0d37d506b68cc5fc0
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Nov 15 22:59:14 2020 +0100

    fix build without python3

 file.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/file.spec b/file.spec
index d2b821f..be597d9 100644
--- a/file.spec
+++ b/file.spec
@@ -417,7 +417,7 @@ fi
 %{py_sitescriptdir}/file_magic-*-py*.egg-info
 %endif
 
-%if %{with_python3}
+%if %{with python3}
 %files -n python3-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/2196b92b3a0f4d9b58a2d1a0d37d506b68cc5fc0



More information about the pld-cvs-commit mailing list