From 7ead1f18b63d3474149dbac6dc3ca0bef41084e5507064114325122c91da3828 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 23 Feb 2024 15:04:05 +0000 Subject: [PATCH] Accepting request 1149970 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/1149970 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-headers?expand=0&rev=113 --- vulkan-headers.changes | 6 ++++++ vulkan-headers.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/vulkan-headers.changes b/vulkan-headers.changes index ad07af8..837fef3 100644 --- a/vulkan-headers.changes +++ b/vulkan-headers.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 23 14:08:29 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang_path macro, [bsc#1212476] + ------------------------------------------------------------------- Thu Jan 18 19:13:54 UTC 2024 - Nicolas FORMICHELLA diff --git a/vulkan-headers.spec b/vulkan-headers.spec index 12a8202..7dab2b0 100644 --- a/vulkan-headers.spec +++ b/vulkan-headers.spec @@ -58,6 +58,10 @@ to make use of Vulkan. %install %cmake_install +%if %{suse_version} >= 1600 +%python3_fix_shebang_path %{buildroot}%{_datadir}/vulkan/registry/* +%python3_fix_shebang_path %{buildroot}%{_datadir}/vulkan/registry/spec_tools/* +%endif %files %license LICENSE.md