From b880171c54dfe52bf3d6a18bdee268d9639c803f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 12 Jul 2018 10:33:32 +0200 Subject: [PATCH] remove unneeded scriptlets Signed-off-by: Igor Gnatenko --- libidn2.spec | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) 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