Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel8
Igor Gnatenko 7 years ago
parent fb25ca31e6
commit 502ad7d4fe

@ -8,7 +8,7 @@
Name: remmina Name: remmina
Version: 1.2.0 Version: 1.2.0
Release: 0.45%{?snapshot:.%{snapshot}}%{?shortcommit0:.%{date}.git.%{shortcommit0}}%{?dist} Release: 0.46%{?snapshot:.%{snapshot}}%{?shortcommit0:.%{date}.git.%{shortcommit0}}%{?dist}
Summary: Remote Desktop Client Summary: Remote Desktop Client
License: GPLv2+ and MIT License: GPLv2+ and MIT
URL: http://remmina.org URL: http://remmina.org
@ -202,79 +202,6 @@ cp -p %{SOURCE1} %{buildroot}/%{_includedir}/%{name}/
%find_lang %{name} %find_lang %{name}
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%post plugins-nx
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%post plugins-rdp
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%post plugins-vnc
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%post plugins-xdmcp
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%post plugins-spice
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%postun plugins-nx
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%postun plugins-rdp
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%postun plugins-vnc
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%postun plugins-xdmcp
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%postun plugins-spice
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%posttrans plugins-nx
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%posttrans plugins-rdp
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%posttrans plugins-vnc
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%posttrans plugins-xdmcp
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%posttrans plugins-spice
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang %files -f %{name}.lang
%license LICENSE %license LICENSE
%doc AUTHORS ChangeLog README.md %doc AUTHORS ChangeLog README.md
@ -326,6 +253,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog %changelog
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.0-0.46.20180107.git.d70108c
- Remove obsolete scriptlets
* Tue Jan 16 2018 Simone Caronni <negativo17@gmail.com> - 1.2.0-0.45.20180107.git.d70108c * Tue Jan 16 2018 Simone Caronni <negativo17@gmail.com> - 1.2.0-0.45.20180107.git.d70108c
- Update to latest snapshot. - Update to latest snapshot.

Loading…
Cancel
Save