Skip to content

Commit 0c81a40

Browse files
committed
Add shebang
1 parent ad3ce05 commit 0c81a40

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

leapp/cli/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
from leapp.cli import main
32
import leapp.utils.i18n # noqa: F401; pylint: disable=unused-import
43

packaging/leapp.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
# we have to drop the dependency on python(abi) completely on el8+ because
4040
# of IPU (python abi is different between systems)
4141
%global __requires_exclude ^python\\(abi\\) = 3\\..+|/usr/libexec/platform-python|/usr/bin/python.*
42+
%global py3_shebang_flags %{py3_shebang_flags}I
4243
%endif
4344

4445
Name: leapp
@@ -196,6 +197,7 @@ install -m 0644 etc/leapp/*.conf %{buildroot}%{_sysconfdir}/leapp
196197
install -m 0644 -p man/leapp.1 %{buildroot}%{_mandir}/man1/
197198

198199
%{leapp_py_install}
200+
%py3_shebang_fix %{buildroot}%{_bindir}/leapp
199201

200202

201203
##################################################

0 commit comments

Comments
 (0)