[packages/git-filter-repo] Enforce system python3
glen
glen at pld-linux.org
Fri Feb 28 09:35:43 CET 2020
commit d482abc217fbed3000c16416061e2d8d6cd00f5e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Fri Feb 28 10:35:26 2020 +0200
Enforce system python3
git-filter-repo.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/git-filter-repo.spec b/git-filter-repo.spec
index b06930a..4323db0 100644
--- a/git-filter-repo.spec
+++ b/git-filter-repo.spec
@@ -2,7 +2,7 @@ Summary: Distributed version control system focused on speed, effectivity and us
Summary(pl.UTF-8): Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności
Name: git-filter-repo
Version: 2.25.0
-Release: 1
+Release: 2
License: GPL v2
Group: Development/Tools
Source0: https://github.com/newren/git-filter-repo/releases/download/v%{version}/%{name}-%{version}.tar.xz
@@ -20,6 +20,7 @@ Python standard library (and execution of git commands).
%prep
%setup -q
+%{__sed} -i -e '1s,^#!.*python3*,#!%{__python3},' %{name}
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/git-filter-repo.git/commitdiff/d482abc217fbed3000c16416061e2d8d6cd00f5e
More information about the pld-cvs-commit
mailing list