diff --git a/libverto.spec b/libverto.spec index 7de7685..b2c2abb 100644 --- a/libverto.spec +++ b/libverto.spec @@ -2,7 +2,7 @@ Name: libverto Version: 0.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Main loop abstraction library License: MIT @@ -139,21 +139,12 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - -%post -n %{name}-glib -p /sbin/ldconfig -%postun -n %{name}-glib -p /sbin/ldconfig - -%post -n %{name}-libevent -p /sbin/ldconfig -%postun -n %{name}-libevent -p /sbin/ldconfig - -# %post -n %{name}-tevent -p /sbin/ldconfig -# %postun -n %{name}-tevent -p /sbin/ldconfig - +%ldconfig_scriptlets +%ldconfig_scriptlets glib +%ldconfig_scriptlets libevent +#ldconfig_scriptlets tevent %if !0%{?rhel} -%post -n %{name}-libev -p /sbin/ldconfig -%postun -n %{name}-libev -p /sbin/ldconfig +%ldconfig_scriptlets libev %endif %files @@ -203,6 +194,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %endif %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.3.0-3 +- Switch to %%ldconfig_scriptlets + * Wed Jan 31 2018 Robbie Harwood - 0.3.0-2 - Stop providing the tevent backend - https://bugzilla.samba.org/show_bug.cgi?id=12987