remove unneeded scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
7971c54549
commit
b880171c54
15
libidn2.spec
15
libidn2.spec
@ -12,9 +12,6 @@ Patch0: libidn2-2.0.0-rpath.patch
|
|||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: libunistring-devel
|
BuildRequires: libunistring-devel
|
||||||
Requires(post): /sbin/install-info, /sbin/ldconfig
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
Provides: bundled(gnulib)
|
Provides: bundled(gnulib)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -67,17 +64,7 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
|
|||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} -C tests check
|
make %{?_smp_mflags} -C tests check
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%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
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%license COPYING COPYING.LESSERv3 COPYING.unicode COPYINGv2
|
%license COPYING COPYING.LESSERv3 COPYING.unicode COPYINGv2
|
||||||
|
Loading…
Reference in New Issue
Block a user