From b9f65912d0e03fafbea8e976c4f423b64c984d685d40ae9758aa6efa5e306d6f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 14 Jun 2024 14:54:13 +0000 Subject: [PATCH] Accepting request 1180928 from home:pgajdos - remove dependency on /usr/bin/python3 using %python3_fix_shebang macro, [bsc#1212476] OBS-URL: https://build.opensuse.org/request/show/1180928 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/flatpak?expand=0&rev=198 --- flatpak.changes | 6 ++++++ flatpak.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/flatpak.changes b/flatpak.changes index c8b7682..379d3e0 100644 --- a/flatpak.changes +++ b/flatpak.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 14 13:51:38 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang macro, [bsc#1212476] + ------------------------------------------------------------------- Tue Apr 23 13:23:52 UTC 2024 - Robert Frohl diff --git a/flatpak.spec b/flatpak.spec index 265b3ee..a59e6da 100644 --- a/flatpak.spec +++ b/flatpak.spec @@ -166,8 +166,8 @@ more information. Summary: Add Flathub repository to system flatpak Group: System/Packages Requires: flatpak -Requires(postun):flatpak -Requires(postun):sed +Requires(postun): flatpak +Requires(postun): sed %if 0%{?suse_version} > 1600 Supplements: flatpak %endif @@ -202,6 +202,8 @@ fi %lang_package +%python3_fix_shebang + %prep %autosetup -p1 sed -i -e '1s,#!%{_bindir}/env python3,#!%{_bindir}/python3,' scripts/flatpak-*