From c76efbe7de511159746e00dbfddea22ac7dfb519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 22 Aug 2022 16:40:51 +0200 Subject: [PATCH] Use the default flags for Python in the shebang of /usr/bin/cura Fixes: https://bugzilla.redhat.com/2117729 --- cura.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cura.spec b/cura.spec index f9f0f5d..206e5b9 100644 --- a/cura.spec +++ b/cura.spec @@ -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 - 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 - 1:4.13.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild