public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kig] epel10: fix pykig shebang sed invocation, again (#1840510)
@ 2026-08-04 19:44 Kevin Kofler
  0 siblings, 0 replies; only message in thread
From: Kevin Kofler @ 2026-08-04 19:44 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/kig
            Branch : epel10
            Commit : 6ea4131dbf59fdd8233b0c8db491946f0748f6cf
            Author : Kevin Kofler <Kevin@tigcc.ticalc.org>
            Date   : 2020-05-27T12:11:12+02:00
            Stats  : +5/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/kig/c/6ea4131dbf59fdd8233b0c8db491946f0748f6cf?branch=epel10

            Log:
            fix pykig shebang sed invocation, again (#1840510)

* Wed May 27 2020 Kevin Kofler <Kevin@tigcc.ticalc.org> - 20.04.1-2
- fix pykig shebang sed invocation, again (#1840510)

Changing the sed line was just wrong. The reason my sed line did not
work as is for your 19.12.x builds is because the "Port pykig to python
3" patch was NOT upstreamed into 19.12.x, only into 20.04.x, so it was
wrong to drop the patch in the 19.12.x builds.

---
diff --git a/kig.spec b/kig.spec
index e5495d2..961a293 100644
--- a/kig.spec
+++ b/kig.spec
@@ -4,7 +4,7 @@
 Name:    kig
 Summary: Interactive Geometry 
 Version: 20.04.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 License: GPLv2+
 URL:     https://cgit.kde.org/%{name}.git
@@ -61,7 +61,7 @@ Conflicts: kdeedu-math < 4.7.0-10
 %prep
 %autosetup -p1
 
-sed -ie "s|^#!/usr/bin/env python|#!%{__python3}|" pykig/pykig.py
+sed -ie "s|^#!/usr/bin/env python3|#!%{__python3}|" pykig/pykig.py
 
 
 %build
@@ -110,6 +110,9 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.d
 
 
 %changelog
+* Wed May 27 2020 Kevin Kofler <Kevin@tigcc.ticalc.org> - 20.04.1-2
+- fix pykig shebang sed invocation, again (#1840510)
+
 * Tue May 26 2020 Rex Dieter <rdieter@fedoraproject.org> - 20.04.1-1
 - 20.04.1
 

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

only message in thread, other threads:[~2026-08-04 19:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-04 19:44 [rpms/kig] epel10: fix pykig shebang sed invocation, again (#1840510) Kevin Kofler

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