Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
9bdb11f892
commit
3e17b200c8
12
gnutls.spec
12
gnutls.spec
@ -66,8 +66,6 @@ Requires: %{name}-c++%{?_isa} = %{version}-%{release}
|
|||||||
Requires: %{name}-dane%{?_isa} = %{version}-%{release}
|
Requires: %{name}-dane%{?_isa} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -217,16 +215,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gnutls-dane.pc
|
|||||||
%check
|
%check
|
||||||
make check %{?_smp_mflags}
|
make check %{?_smp_mflags}
|
||||||
|
|
||||||
%post devel
|
|
||||||
if [ -f %{_infodir}/gnutls.info.gz ]; then
|
|
||||||
/sbin/install-info %{_infodir}/gnutls.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun devel
|
|
||||||
if [ $1 = 0 -a -f %{_infodir}/gnutls.info.gz ]; then
|
|
||||||
/sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files -f gnutls.lang
|
%files -f gnutls.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libgnutls.so.30*
|
%{_libdir}/libgnutls.so.30*
|
||||||
|
Loading…
Reference in New Issue
Block a user