commit aad427b2e2d1870b0717d9536a5d39ff1bef6357
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Nov 15 19:34:42 2022 +0000
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 969e6cc..741c079 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
@@ -157,7 +158,7 @@ Provides: %{srcname}-va-drivers%{?_isa} =
%{?epoch:%{epoch}:}%{version}-%{
Enhances: %{srcname}%{?_isa}
%description -n %{srcname}-va-drivers-freeworld
-%{description}
+%{_description}
%endif
%if 0%{?with_vdpau}
@@ -169,7 +170,7 @@ Provides: %{srcname}-vdpau-drivers%{?_isa} =
%{?epoch:%{epoch}:}%{version}
Enhances: %{srcname}%{?_isa}
%description -n %{srcname}-vdpau-drivers-freeworld
-%{description}
+%{_description}
%endif
%prep
%autosetup -n %{srcname}-%{ver} -p1
Show replies by date