From 050f43fd46f8a18d6fa167a8148384ea1a2379ed39e7ca0a324357213c3e6535 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 30 Apr 2024 08:04:18 +0000 Subject: [PATCH] Accepting request 1170709 from home:pgajdos - remove dependency on /usr/bin/python3 using %python3_fix_shebang_path macro, [bsc#1212476] OBS-URL: https://build.opensuse.org/request/show/1170709 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=220 --- gstreamer.changes | 6 ++++++ gstreamer.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/gstreamer.changes b/gstreamer.changes index a649dda..9e74cbc 100644 --- a/gstreamer.changes +++ b/gstreamer.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 29 08:35:23 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang_path macro, [bsc#1212476] + ------------------------------------------------------------------- Tue Mar 12 09:16:23 UTC 2024 - Antonio Larrosa diff --git a/gstreamer.spec b/gstreamer.spec index 62418f9..4882467 100644 --- a/gstreamer.spec +++ b/gstreamer.spec @@ -183,6 +183,10 @@ mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets install -m644 -D %{SOURCE1} %{buildroot}%{_fileattrsdir}/gstreamer.attr install -m755 -D %{SOURCE2} %{buildroot}%{_rpmconfigdir}/gstreamer-provides +%if %{suse_version} >= 1600 +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/gstreamer-*/* +%endif + %verifyscript %verify_permissions -e %{_libexecdir}/gstreamer-%{gst_branch}/gst-ptp-helper