Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-06 00:16:05 +01:00
parent 4968a9bfca
commit a8eabca1f1

View File

@ -21,7 +21,7 @@
Name: octave Name: octave
Epoch: 6 Epoch: 6
Version: 4.2.1 Version: 4.2.1
Release: 4%{?rcver:.rc%{rcver}}%{?dist}.2 Release: 4%{?rcver:.rc%{rcver}}%{?dist}.3
Summary: A high-level language for numerical computations Summary: A high-level language for numerical computations
Group: Applications/Engineering Group: Applications/Engineering
License: GPLv3+ License: GPLv3+
@ -381,7 +381,6 @@ make check || :
%post %post
/sbin/ldconfig /sbin/ldconfig
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%if %{builddocs} %if %{builddocs}
/sbin/install-info --info-dir=%{_infodir} --section="Programming" \ /sbin/install-info --info-dir=%{_infodir} --section="Programming" \
%{_infodir}/octave.info || : %{_infodir}/octave.info || :
@ -394,15 +393,7 @@ if [ "$1" = "0" ]; then
fi fi
%endif %endif
%postun %postun -p /sbin/ldconfig
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files %files
@ -448,6 +439,9 @@ fi
%{_pkgdocdir}/refcard*.pdf %{_pkgdocdir}/refcard*.pdf
%changelog %changelog
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6:4.2.1-4.3
- Remove obsolete scriptlets
* Sun Aug 13 2017 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.1-4.2 * Sun Aug 13 2017 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.1-4.2
- Make octave-devel require libappstream-glib - Make octave-devel require libappstream-glib