public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/duplicity] epel10: Don't hardcode Python version
Date: Fri, 09 Oct 2026 15:24:22 GMT	[thread overview]
Message-ID: <179155946209.1.8937891713317369411.rpms-duplicity-7a6e788f0b19@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-10-09 15:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179155946209.1.8937891713317369411.rpms-duplicity-7a6e788f0b19@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox