Use the default flags for Python in the shebang of /usr/bin/cura

Fixes: https://bugzilla.redhat.com/2117729
This commit is contained in:
Miro Hrončok 2022-08-22 16:40:51 +02:00
commit c76efbe7de

View file

@ -4,7 +4,7 @@
Name: cura
Epoch: 1
Version: %{major_minor_version}.%{patch_version}
Release: 4%{?dist}
Release: 5%{?dist}
Summary: 3D printer / slicing GUI
# https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/thread/MOUNX6I3POCDMYWBNJ7JPLLIKVYWVRBJ/
@ -139,6 +139,9 @@ rm -r %{buildroot}%{_prefix}/lib/cura/plugins/{SentryLogger,UFPReader,UFPWriter}
# Bytecompile the plugins
%py_byte_compile %{__python3} %{buildroot}%{_prefix}/lib/cura
# Use the default flags in the shebang
%py3_shebang_fix %{buildroot}%{_bindir}/*
%find_lang cura
%find_lang fdmextruder.def.json
%find_lang fdmprinter.def.json
@ -166,6 +169,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{reverse_dns_name}.d
%{_prefix}/lib/%{name}
%changelog
* Mon Aug 22 2022 Miro Hrončok <mhroncok@redhat.com> - 1:4.13.1-5
- Use the default flags for Python in the shebang of /usr/bin/cura
- Fixes: rhbz#2117729
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.13.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild