local with = rpm.expand("%{?with_" .. option .. "}")
local value = (with ~= '') and "enabled" or "disabled"
option = option:gsub('_', '-')
print(string.format("-D%s=%s", option, value))
end}
%define bcond_meson_tf() %{lua: do
local option = rpm.expand("%{1}")
local with = rpm.expand("%{?with_" .. option .. "}")
local value = (with ~= '') and "true" or "false"
@ -46,7 +53,7 @@ end}
@@ -46,7 +53,7 @@ end}
Name: libdrm
Summary: Direct Rendering Manager runtime library
Version: 2.4.111
Version: 2.4.115
Release: 1%{?dist}
License: MIT
@ -121,9 +128,9 @@ Utility programs for the kernel DRM interface. Will void your warranty.
@@ -121,9 +128,9 @@ Utility programs for the kernel DRM interface. Will void your warranty.