diff --git a/git.changes b/git.changes index 87c7ebd..2829374 100644 --- a/git.changes +++ b/git.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 22 13:49:57 UTC 2022 - Dirk Müller + +- drop python2 requires as git-p4 is documented to work with python3 + ------------------------------------------------------------------- Fri Sep 9 11:16:03 UTC 2022 - Callum Farmer diff --git a/git.spec b/git.spec index 54425fc..5fef41c 100644 --- a/git.spec +++ b/git.spec @@ -221,7 +221,6 @@ system. Summary: Git tools for importing Perforce repositories Group: Development/Tools/Version Control Requires: git-core = %{version} -Requires: python2-base %description p4 Tools for importing Perforce repositories to the GIT version control @@ -321,6 +320,8 @@ directory /git/ that calls the cgi script. %autosetup -p1 %build +# update shebang to use python3 +sed -e '1{s,.*,#!/usr/bin/python3,}' git-p4.py cat > .make <<'EOF' #!/bin/bash %make_build CFLAGS="%{optflags}" \