hg-fast-export.noarch: W: files-duplicate /usr/lib/python3.6/site-packages/hg2git.pyo /usr/lib/python3.6/site-packages/hg2git.pyc hg-fast-export.noarch: W: files-duplicate /usr/share/hg-fast-export/hg-fast-export.pyo /usr/share/hg-fast-export/hg-fast-export.pyc hg-fast-export.noarch: W: files-duplicate /usr/share/hg-fast-export/hg-reset.pyc /usr/share/hg-fast-export/hg-reset.pyo hg-fast-export.src:26: W: macro-in-comment %{URL} There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. hg-fast-export.noarch: W: python-bytecode-wrong-magic-value /usr/lib/python3.6/site-packages/hg2git.pyc expected 3379 (3.6), found 62211 (2.7) hg-fast-export.noarch: W: python-bytecode-wrong-magic-value /usr/lib/python3.6/site-packages/hg2git.pyo expected 3379 (3.6), found 62211 (2.7) The "magic" ABI version embedded in this python bytecode file isn't equal to that of the corresponding runtime, which will force the interpreter to recompile the .py source every time, ignoring the saved bytecode. hg-fast-export.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/git-hg /usr/bin/env bash This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env python needs to be patched into #!/usr/bin/python otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/python. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. 2 packages and 0 specfiles checked; 1 errors, 6 warnings.