Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-02 10:23:11 +01:00
parent 1d0fc706a8
commit a48c88f932
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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 <ignatenkobrain@fedoraproject.org> - 2.4.89-2
- Switch to %%ldconfig_scriptlets
* Mon Dec 18 2017 Dave Airlie <airlied@redhat.com> - 2.4.89-1
- Update to 2.4.89