]> git.pld-linux.org Git - packages/file.git/commitdiff
fix build without python2
authorJan Palus <atler@pld-linux.org>
Sun, 28 Feb 2021 12:44:20 +0000 (13:44 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 28 Feb 2021 12:44:20 +0000 (13:44 +0100)
file.spec

index e3e2fbb9aa1bf7d68414c9353b852149ff0807c7..bf04d697c9c9515091254b085b5e734918693abe 100644 (file)
--- 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
This page took 0.037165 seconds and 4 git commands to generate.