diff --git a/libxkbcommon.spec b/libxkbcommon.spec index db55170..decfa8f 100644 --- a/libxkbcommon.spec +++ b/libxkbcommon.spec @@ -2,7 +2,7 @@ Name: libxkbcommon Version: 0.8.0 -Release: 1%{?gitdate:.%{gitdate}}%{?dist} +Release: 2%{?gitdate:.%{gitdate}}%{?dist} Summary: X.Org X11 XKB parsing library License: MIT URL: http://www.x.org @@ -67,8 +67,7 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';' -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %license LICENSE @@ -85,8 +84,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';' %{_includedir}/xkbcommon/xkbcommon-names.h %{_libdir}/pkgconfig/xkbcommon.pc -%post x11 -p /sbin/ldconfig -%postun x11 -p /sbin/ldconfig +%ldconfig_scriptlets x11 %files x11 %{_libdir}/libxkbcommon-x11.so.0.0.0 @@ -98,6 +96,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';' %{_libdir}/pkgconfig/xkbcommon-x11.pc %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.8.0-2 +- Switch to %%ldconfig_scriptlets + * Tue Dec 19 2017 Peter Hutterer 0.8.0-1 - libxkbcommon 0.8.0