Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
0a6cc60579
commit
6f4a16e88e
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: libverto
|
Name: libverto
|
||||||
Version: 0.3.0
|
Version: 0.3.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Main loop abstraction library
|
Summary: Main loop abstraction library
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -139,21 +139,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
%postun -p /sbin/ldconfig
|
%ldconfig_scriptlets glib
|
||||||
|
%ldconfig_scriptlets libevent
|
||||||
%post -n %{name}-glib -p /sbin/ldconfig
|
#ldconfig_scriptlets tevent
|
||||||
%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
|
|
||||||
|
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
%post -n %{name}-libev -p /sbin/ldconfig
|
%ldconfig_scriptlets libev
|
||||||
%postun -n %{name}-libev -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -203,6 +194,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-3
|
||||||
|
- Switch to %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Wed Jan 31 2018 Robbie Harwood <rharwood@redhat.com> - 0.3.0-2
|
* Wed Jan 31 2018 Robbie Harwood <rharwood@redhat.com> - 0.3.0-2
|
||||||
- Stop providing the tevent backend
|
- Stop providing the tevent backend
|
||||||
- https://bugzilla.samba.org/show_bug.cgi?id=12987
|
- https://bugzilla.samba.org/show_bug.cgi?id=12987
|
||||||
|
Loading…
Reference in New Issue
Block a user