From 61036003bc98cfb2fd096d4fd5eb35983a432c44 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Jun 29 2018 21:34:00 +0000 Subject: Use ldconfig scriptlet macros --- diff --git a/libxcb.spec b/libxcb.spec index 2c1dafc..c204216 100644 --- a/libxcb.spec +++ b/libxcb.spec @@ -2,7 +2,7 @@ Name: libxcb Version: 1.13 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A C binding to the X11 protocol License: MIT URL: http://xcb.freedesktop.org/ @@ -76,9 +76,9 @@ sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefi find $RPM_BUILD_ROOT -name '*.la' -delete -%post -p /sbin/ldconfig +%ldconfig_post -%postun -p /sbin/ldconfig +%ldconfig_postun %files %{_libdir}/libxcb-composite.so.0* @@ -117,6 +117,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %{_pkgdocdir} %changelog +* Fri Jun 29 2018 Adam Jackson - 1.13-3 +- Use ldconfig scriptlet macros + * Mon Mar 19 2018 Adam Jackson - 1.13-2 - Build with python3