diff --git a/libidn2.spec b/libidn2.spec index bd1b6f2..7885e05 100644 --- a/libidn2.spec +++ b/libidn2.spec @@ -12,9 +12,6 @@ Patch0: libidn2-2.0.0-rpath.patch BuildRequires: gcc BuildRequires: gettext BuildRequires: libunistring-devel -Requires(post): /sbin/install-info, /sbin/ldconfig -Requires(preun): /sbin/install-info -Requires(postun): /sbin/ldconfig Provides: bundled(gnulib) %description @@ -67,17 +64,7 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir %check make %{?_smp_mflags} -C tests check -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%post -n idn2 -/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || : - -%preun -n idn2 -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || : -fi +%ldconfig_scriptlets %files -f %{name}.lang %license COPYING COPYING.LESSERv3 COPYING.unicode COPYINGv2