Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 189e9aa7c2
commit 87c0226b8e

@ -2,7 +2,7 @@
Name: transmission
Version: 2.92
Release: 8%{?dist}
Release: 9%{?dist}
Summary: A lightweight GTK+ BitTorrent client
Group: Applications/Internet
@ -179,39 +179,15 @@ SentUpstream: 2014-09-18
</application>
EOF
%post common
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%post gtk
/usr/bin/update-desktop-database &> /dev/null || :
%post qt
/usr/bin/update-desktop-database &> /dev/null || :
%post daemon
%systemd_post transmission-daemon.service
%preun daemon
%systemd_preun transmission-daemon.service
%postun common
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
%postun daemon
%systemd_postun_with_restart transmission-daemon.service
%postun gtk
/usr/bin/update-desktop-database &> /dev/null || :
%postun qt
/usr/bin/update-desktop-database &> /dev/null || :
%posttrans common
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%files common
@ -252,6 +228,9 @@ fi
%doc %{_mandir}/man1/transmission-qt.*
%changelog
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.92-9
- Remove obsolete scriptlets
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.92-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

Loading…
Cancel
Save