From 3d91c7b1f25dafb4fc72005df6433b2964d5a514 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Thu, 3 Aug 2017 18:10:21 -0400 Subject: [PATCH] git-p4: explicitly require python2 The git-p4 script requires python2. Ensure we require it rather than and unversioned /usr/bin/python. --- git.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/git.spec b/git.spec index bfc0af0..cde985f 100644 --- a/git.spec +++ b/git.spec @@ -220,7 +220,7 @@ Simple web interface to track changes in git repositories Summary: Git tools for working with Perforce depots Group: Development/Tools BuildArch: noarch -BuildRequires: python +BuildRequires: python2 Requires: git = %{version}-%{release} %description p4 %{summary}. @@ -363,6 +363,7 @@ DESTDIR = %{buildroot} INSTALL = install -p GITWEB_PROJECTROOT = %{_localstatedir}/lib/git GNU_ROFF = 1 +PYTHON_PATH = %{__python2} htmldir = %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} prefix = %{_prefix} gitwebdir = %{_localstatedir}/www/git @@ -729,6 +730,7 @@ rm -rf %{buildroot} * Fri Aug 04 2017 Todd Zullinger - 2.14.0-1 - Update to 2.14.0 - Use pcre2 library +- git-p4: explicitly require python2 * Tue Aug 01 2017 Todd Zullinger - 2.13.4-1 - Update to 2.13.4