Skip to content

Commit

Permalink
Use a global description to fix unexpanded description macro
Browse files Browse the repository at this point in the history
  • Loading branch information
leigh123linux committed Nov 15, 2022
1 parent 80f9311 commit 83c5823
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions mesa-freeworld.spec
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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}
Expand All @@ -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
Expand Down

0 comments on commit 83c5823

Please sign in to comment.