Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion leapp/cli/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

from leapp.cli import main
import leapp.utils.i18n # noqa: F401; pylint: disable=unused-import

Expand Down
2 changes: 2 additions & 0 deletions packaging/leapp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
# we have to drop the dependency on python(abi) completely on el8+ because
# of IPU (python abi is different between systems)
%global __requires_exclude ^python\\(abi\\) = 3\\..+|/usr/libexec/platform-python|/usr/bin/python.*
%global py3_shebang_flags %{py3_shebang_flags}I
Copy link
Member

@pirat89 pirat89 Aug 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's known problem to me. I made a workaround for such type of problem in the past, but I will need to remind myself how I did. There is a trick where you enforce evaluation of the macro first and then set the new value.

%endif

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

%{leapp_py_install}
%py3_shebang_fix %{buildroot}%{_bindir}/leapp


##################################################
Expand Down
Loading