diff --git a/virt-viewer.spec b/virt-viewer.spec index 56392dd..76a8a21 100644 --- a/virt-viewer.spec +++ b/virt-viewer.spec @@ -17,7 +17,7 @@ Name: virt-viewer Version: 6.0 -Release: 1%{?dist}%{?extra_release} +Release: 2%{?dist}%{?extra_release} Summary: Virtual Machine Viewer Group: Applications/System License: GPLv2+ @@ -98,24 +98,13 @@ install -m 0755 data/spice-xpi-client-remote-viewer %{buildroot}%{_libexecdir}/ rm -rf $RPM_BUILD_ROOT %post -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : -/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || : %{_sbindir}/update-alternatives --install %{_libexecdir}/spice-xpi-client \ spice-xpi-client %{_libexecdir}/spice-xpi-client-remote-viewer 25 -/usr/bin/update-desktop-database -q %{_datadir}/applications %postun 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 || : - /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : %{_sbindir}/update-alternatives --remove spice-xpi-client %{_libexecdir}/spice-xpi-client-remote-viewer fi -/usr/bin/update-desktop-database -q %{_datadir}/applications - -%posttrans -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) @@ -133,6 +122,9 @@ fi %{_mandir}/man1/remote-viewer.1* %changelog +* Thu Jan 18 2018 Igor Gnatenko - 6.0-2 +- Remove obsolete scriptlets + * Tue Aug 15 2017 Daniel P. Berrange - 6.0-1 - Update to 6.0 release