public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/duplicity] epel10: Don't hardcode Python version
@ 2026-10-09 15:24 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-09 15:24 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/duplicity
Branch : epel10
Commit : 7a6e788f0b19744025fa034e424953f92bb2e4e9
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2019-08-01T19:47:05+02:00
Stats  : +2/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/duplicity/c/7a6e788f0b19744025fa034e424953f92bb2e4e9?branch=epel10

Log:
Don't hardcode Python version

---
diff --git a/duplicity.spec b/duplicity.spec
index 5d35fe2..fae8104 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -37,8 +37,8 @@ but not hard links.
 %{__python3} setup.py build
 
 # fix shebangs
-sed -i s/env\ python/python3/g build/scripts-3.7/duplicity
-sed -i s/env\ python/python3/g build/scripts-3.7/rdiffdir
+sed -i s/env\ python/python3/g build/scripts-%{python3_version}/duplicity
+sed -i s/env\ python/python3/g build/scripts-%{python3_version}/rdiffdir
 
 %install
 %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-09 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 15:24 [rpms/duplicity] epel10: Don't hardcode Python version 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox