remove unneeded scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-12 10:33:32 +02:00
parent 7971c54549
commit b880171c54
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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