diff --git a/libdrm.spec b/libdrm.spec index 54d8416..7c0da85 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -7,7 +7,7 @@ Name: libdrm Summary: Direct Rendering Manager runtime library Version: 2.4.89 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: https://dri.freedesktop.org @@ -96,8 +96,7 @@ find %{buildroot} -type f -name "*.la" -delete rm -f %{buildroot}%{_includedir}/%{name}/{r300_reg.h,via_3d_reg.h} -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc README @@ -229,6 +228,9 @@ rm -f %{buildroot}%{_includedir}/%{name}/{r300_reg.h,via_3d_reg.h} %{_mandir}/man7/drm*.7* %changelog +* Fri Feb 02 2018 Igor Gnatenko - 2.4.89-2 +- Switch to %%ldconfig_scriptlets + * Mon Dec 18 2017 Dave Airlie - 2.4.89-1 - Update to 2.4.89