From e7660c379011755d9eda6d297d4df0a49410bd7d98232f8dc1ab6df6f5aaf6e7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 29 Apr 2024 09:31:17 +0000 Subject: [PATCH] Accepting request 1170691 from home:pgajdos - remove dependency on /usr/bin/python3 using %python3_fix_shebang_path and %python_fix_shebang macros, [bsc#1212476] OBS-URL: https://build.opensuse.org/request/show/1170691 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk-doc?expand=0&rev=83 --- gtk-doc.changes | 6 ++++++ gtk-doc.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/gtk-doc.changes b/gtk-doc.changes index e6bd65f..457a99c 100644 --- a/gtk-doc.changes +++ b/gtk-doc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 29 07:51:50 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang_path and %python_fix_shebang macros, [bsc#1212476] + ------------------------------------------------------------------- Wed Mar 6 07:52:18 UTC 2024 - Dominique Leuenberger diff --git a/gtk-doc.spec b/gtk-doc.spec index 3aca45a..2370adb 100644 --- a/gtk-doc.spec +++ b/gtk-doc.spec @@ -118,6 +118,10 @@ mkdir -p %{buildroot}%{_datadir}/gtk-doc/html %fdupes %{buildroot}%{_datadir}/help/[a-z]* %find_lang gtk-doc-manual %{?no_lang_C} %endif +%python3_fix_shebang +%if %{suse_version} >= 1600 +%python3_fix_shebang_path %{buildroot}%{_datadir}/gtk-doc/python/gtkdoc/* +%endif %if "%{flavor}" == "" %files