From 83c582352b5f5330f53d95ffd8a3610a12541195 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Tue, 15 Nov 2022 19:34:42 +0000 Subject: [PATCH] Use a global description to fix unexpanded description macro --- mesa-freeworld.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mesa-freeworld.spec b/mesa-freeworld.spec index 339a089..7544145 100644 --- a/mesa-freeworld.spec +++ b/mesa-freeworld.spec @@ -1,4 +1,6 @@ %global srcname mesa +%global _description These drivers contains video acceleration codecs for decoding/encoding H.264 and H.265 \ +algorithms and decoding only VC1 algorithm. %ifnarch s390x %global with_hardware 1 %global with_vulkan_hw 0 @@ -145,8 +147,7 @@ BuildRequires: pkgconfig(vulkan) %endif %description -These drivers contains video acceleration codecs for decoding/encoding H.264 and H.265 -algorithms and decoding only VC1 algorithm. +%{_description} %if 0%{?with_va} %package -n %{srcname}-va-drivers-freeworld @@ -156,7 +157,7 @@ Provides: %{srcname}-va-drivers = %{?epoch:%{epoch}:}%{version}-%{release} Enhances: %{srcname}%{?_isa} %description -n %{srcname}-va-drivers-freeworld -%{description} +%{_description} %endif %if 0%{?with_vdpau} @@ -167,7 +168,7 @@ Provides: %{srcname}-vdpau-drivers = %{?epoch:%{epoch}:}%{version}-%{relea Enhances: %{srcname}%{?_isa} %description -n %{srcname}-vdpau-drivers-freeworld -%{description} +%{_description} %endif %prep %autosetup -n %{srcname}-%{ver} -p1