From ffe67d3d06d253b4a2cc8a10a0ee00a8766cce0d Mon Sep 17 00:00:00 2001 From: zhouwenpei Date: Fri, 18 Nov 2022 02:27:37 +0000 Subject: [PATCH] Optimize the patch for add sw architecture --- libdrm.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libdrm.spec b/libdrm.spec index 2013148..b59c9cb 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -47,7 +47,7 @@ end} Name: libdrm Version: 2.4.109 -Release: 4 +Release: 5 License: MIT Summary: library for direct rendering manager @@ -80,7 +80,9 @@ BuildRequires: pkgconfig(udev) Patch1001: %{name}-make-dri-perms-okay.patch Patch1002: %{name}-2.4.0-no-bc.patch +%ifarch sw_64 Patch1003: libdrm-2.4.109-sw.patch +%endif %description %{name} provides a user space library for accessing the DRM, direct rendering manager, @@ -110,9 +112,6 @@ Utility programs for the kernel DRM interface. %prep %autosetup -n %{name}-%{version} -p1 -%ifnarch sw_64 -%patch1003 -R -p1 -%endif %build %meson \ @@ -271,6 +270,9 @@ install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2} %endif %changelog +* Fri Nov 18 2022 zhouwenpei - 2.4.109-5 +- Optimize the patch for add sw architecture + * Fri Oct 21 2022 wuzx - 2.4.109-4 - add sw64 patch -- Gitee