SHA256
1
0
forked from pool/git

Accepting request 1005485 from devel:tools:scm

OBS-URL: https://build.opensuse.org/request/show/1005485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=288
This commit is contained in:
Dominique Leuenberger 2022-09-25 13:34:16 +00:00 committed by Git OBS Bridge
parent cbec24d713
commit 877a55d6a2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 22 13:49:57 UTC 2022 - Dirk Müller <dmueller@suse.com>
- drop python2 requires as git-p4 is documented to work with python3
-------------------------------------------------------------------
Fri Sep 9 11:16:03 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -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}" \