Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-27 19:01:35 +01:00
parent d8f6c9b51a
commit 709cafe119
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -61,8 +61,6 @@ management.
Summary: Development headers and libraries for %{name} Summary: Development headers and libraries for %{name}
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: libgpg-error-devel%{?_isa} >= %{libgpg_error_min_ver} Requires: libgpg-error-devel%{?_isa} >= %{libgpg_error_min_ver}
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
%description devel %description devel
%{summary}. %{summary}.
@ -185,14 +183,6 @@ make check
%{_bindir}/%{name}-json %{_bindir}/%{name}-json
%{_libdir}/lib%{name}.so.11* %{_libdir}/lib%{name}.so.11*
%post devel
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
%preun devel
if [ $1 -eq 0 ] ; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
fi
%files devel %files devel
%{_bindir}/%{name}-config %{_bindir}/%{name}-config
%{_bindir}/%{name}-tool %{_bindir}/%{name}-tool