Remove ldconfig scriptlet, now done via. transfiletrigger in glibc

This commit is contained in:
Nikos Mavrogiannopoulos 2018-10-30 08:25:08 +01:00
parent ba25b06f42
commit f2315c5ac9

View File

@ -1,6 +1,6 @@
# This spec file has been automatically updated # This spec file has been automatically updated
Version: 3.6.4 Version: 3.6.4
Release: 4%{?dist} Release: 5%{?dist}
Patch1: gnutls-3.2.7-rpath.patch Patch1: gnutls-3.2.7-rpath.patch
Patch2: gnutls-3.6.4-no-now-guile.patch Patch2: gnutls-3.6.4-no-now-guile.patch
Patch3: gnutls-3.6.4-fix-rehandshake.patch Patch3: gnutls-3.6.4-fix-rehandshake.patch
@ -217,14 +217,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gnutls-dane.pc
%check %check
make check %{?_smp_mflags} make check %{?_smp_mflags}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post c++ -p /sbin/ldconfig
%postun c++ -p /sbin/ldconfig
%post devel %post devel
if [ -f %{_infodir}/gnutls.info.gz ]; then if [ -f %{_infodir}/gnutls.info.gz ]; then
/sbin/install-info %{_infodir}/gnutls.info.gz %{_infodir}/dir || : /sbin/install-info %{_infodir}/gnutls.info.gz %{_infodir}/dir || :
@ -235,18 +227,6 @@ if [ $1 = 0 -a -f %{_infodir}/gnutls.info.gz ]; then
/sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir || : /sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir || :
fi fi
%if %{with dane}
%post dane -p /sbin/ldconfig
%postun dane -p /sbin/ldconfig
%endif
%if %{with guile}
%post guile -p /sbin/ldconfig
%postun guile -p /sbin/ldconfig
%endif
%files -f gnutls.lang %files -f gnutls.lang
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/libgnutls.so.30* %{_libdir}/libgnutls.so.30*
@ -305,6 +285,9 @@ fi
%endif %endif
%changelog %changelog
* Mon Oct 29 2018 James Antill <james.antill@redhat.com> - 3.6.4-5
- Remove ldconfig scriptlet, now done via. transfiletrigger in glibc.
* Wed Oct 17 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.6.4-4 * Wed Oct 17 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.6.4-4
- Fix issue with rehandshake affecting glib-networking (#1634736) - Fix issue with rehandshake affecting glib-networking (#1634736)