diff --git a/libdrm.spec b/libdrm.spec index 2013148684f591b98655d4e9efcd5c3c04a9d0e9..b59c9cbc3a0904c93940a52ae74594dd0be09442 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