From 899e8526b2eb0acb5af6d721a6448746d36b5eef Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mar 20 2015 13:03:55 +0000 Subject: call ldconfig after (un)installation --- diff --git a/liblangtag.spec b/liblangtag.spec index 8a7ad5e..668b6e2 100644 --- a/liblangtag.spec +++ b/liblangtag.spec @@ -78,9 +78,11 @@ make install DESTDIR=%{buildroot} rm -f %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/%{name}/*.la %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig +%post gobject -p /sbin/ldconfig +%postun gobject -p /sbin/ldconfig + %check export LD_LIBRARY_PATH=`pwd`/liblangtag/.libs:`pwd`/liblangtag-gobject/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} make %{?_smp_mflags} check