From caf756f64aef1ccdbc35f240c4e1e1010115c7a1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 6 Jan 2018 10:23:33 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- tuned.spec | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/tuned.spec b/tuned.spec index 8afd908..0b1d9f7 100644 --- a/tuned.spec +++ b/tuned.spec @@ -9,7 +9,7 @@ Summary: A dynamic adaptive system tuning daemon Name: tuned Version: 2.9.0 -Release: 2%{?prerel1}%{?dist} +Release: 3%{?prerel1}%{?dist} License: GPLv2+ Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}.tar.gz#/%{name}-%{version}%{?prerel1}.tar.gz Source1: https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git/snapshot/kvm-unit-tests-20171020.tar.gz @@ -252,21 +252,6 @@ if [ -d %{_sysconfdir}/grub.d ]; then fi -%post gtk -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - - -%postun gtk -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : -fi - - -%posttrans gtk -/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - - %files %defattr(-,root,root,-) %exclude %{docdir}/README.utils @@ -419,6 +404,9 @@ fi %{_mandir}/man7/tuned-profiles-compat.7* %changelog +* Sat Jan 06 2018 Igor Gnatenko - 2.9.0-3 +- Remove obsolete scriptlets + * Mon Nov 13 2017 Jaroslav Škarvada - 2.9.0-2 - added tscdeadline_latency.flat benchmark resolves: rhbz#1504680