| |
@@ -1,6 +1,6 @@
|
| |
Name: pyhoca-gui
|
| |
Version: 0.5.0.7
|
| |
- Release: 3%{?dist}
|
| |
+ Release: 4%{?dist}
|
| |
Summary: Graphical X2Go client written in (wx)Python
|
| |
|
| |
Group: Applications/Communications
|
| |
@@ -72,6 +72,8 @@
|
| |
%build
|
| |
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
|
| |
2to3 --write --nobackups .
|
| |
+ # Fix shebang of pyhoca-gui executable.
|
| |
+ pathfix.py -i %{__python3} -pn %{name}
|
| |
%{__python3} setup.py build_i18n
|
| |
%py3_build
|
| |
%else
|
| |
@@ -122,6 +124,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Mon Apr 16 2018 Iryna Shcherbina <shcherbina.iryna@gmail.com> - 0.5.0.7-4
|
| |
+ - Fix shebangs to avoid depending on Python 2 for Fedora 28+
|
| |
+
|
| |
* Sat Apr 14 2018 Orion Poplawski <orion@cora.nwra.com> - 0.5.0.7-3
|
| |
- Require python3-wxpython4
|
| |
|
| |
The package started to depend on both Python 2 and Python 3 in Fedora rawhide:
The "/usr/bin/env python" shebang in
pyhoca-gui
executable is generating dependency on Python 2. This PR replaces it with "/usr/bin/python3" on Fedora 28+.