Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 18:07:14 +01:00
parent ff0a3eac08
commit 7ee7f92621
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: libva
Version: 2.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Video Acceleration (VA) API for Linux
License: MIT
URL: https://01.org/linuxmedia
@ -56,9 +56,7 @@ sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_install INSTALL="install -p"
find %{buildroot} -regex ".*\.la$" | xargs rm -f --
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc NEWS
@ -72,6 +70,9 @@ find %{buildroot} -regex ".*\.la$" | xargs rm -f --
%{_libdir}/pkgconfig/libva*.pc
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.0-2
- Switch to %%ldconfig_scriptlets
* Tue Oct 24 2017 Nicolas Chauvet <kwizart@gmail.com> - 2.0.0-1
- Update to 2.0.0