public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/abrt] update-2.17.8: Remove obsolete scriptlets
@ 2026-08-03 10:23 Igor Gnatenko
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Gnatenko @ 2026-08-03 10:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/abrt
            Branch : update-2.17.8
            Commit : 4684ea4866fe789cc5346d5fc008cac4fe55cc96
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2018-01-05T23:23:42+01:00
            Stats  : +4/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/abrt/c/4684ea4866fe789cc5346d5fc008cac4fe55cc96?branch=update-2.17.8

            Log:
            Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/abrt.spec b/abrt.spec
index c7ca38f..c6e04f4 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -56,7 +56,7 @@
 Summary: Automatic bug detection and reporting tool
 Name: abrt
 Version: 2.10.5
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: https://abrt.readthedocs.org/
@@ -739,12 +739,6 @@ fi
 
 %postun gui-libs -p /sbin/ldconfig
 
-%postun gui
-if [ $1 -eq 0 ] ; then
-    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
-    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-
 %posttrans
 service abrtd condrestart >/dev/null 2>&1 || :
 
@@ -793,9 +787,6 @@ service abrt-pstoreoops condrestart >/dev/null 2>&1 || :
 %posttrans addon-upload-watch
 service abrt-upload-watch condrestart >/dev/null 2>&1 || :
 
-%posttrans gui
-gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
 %posttrans dbus
 # Force abrt-dbus to restart like we do with the other services
 killall abrt-dbus >/dev/null 2>&1 || :
@@ -1166,6 +1157,9 @@ killall abrt-dbus >/dev/null 2>&1 || :
 %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
 
 %changelog
+* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.10.5-4
+- Remove obsolete scriptlets
+
 * Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 2.10.5-3
 - Fix ambiguous Python 2 dependency declarations
   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/abrt] update-2.17.8: Remove obsolete scriptlets
@ 2026-08-03 10:23 Igor Gnatenko
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Gnatenko @ 2026-08-03 10:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/abrt
            Branch : update-2.17.8
            Commit : eadff202bca229eecaaceefecfb83cffa878074e
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-01-27T12:37:15+01:00
            Stats  : +5/-11 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/abrt/c/eadff202bca229eecaaceefecfb83cffa878074e?branch=update-2.17.8

            Log:
            Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/abrt.spec b/abrt.spec
index f95f33d..9a87998 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -53,7 +53,7 @@
 Summary: Automatic bug detection and reporting tool
 Name: abrt
 Version: 2.11.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 URL: https://abrt.readthedocs.org/
 Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
@@ -802,9 +802,7 @@ fi
 %systemd_postun_with_restart abrt-coredump-helper.service
 %endif # with atomic
 
-%if 0%{?fedora} > 27 || 0%{?rhel} > 7
-# ldconfigi and gtk-update-icon-cache is not needed
-%else
+%if 0%{?rhel} && 0%{?rhel} <= 7
 %post libs -p /sbin/ldconfig
 
 %postun libs -p /sbin/ldconfig
@@ -876,13 +874,6 @@ exit 0
 %posttrans addon-pstoreoops
 service abrt-pstoreoops condrestart >/dev/null 2>&1 || :
 
-%if 0%{?fedora} > 27
-# gtk-update-icon-cache is not needed
-%else
-%posttrans gui
-gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-%endif
-
 %posttrans dbus
 # Force abrt-dbus to restart like we do with the other services
 killall abrt-dbus >/dev/null 2>&1 || :
@@ -1245,6 +1236,9 @@ killall abrt-dbus >/dev/null 2>&1 || :
 %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
 
 %changelog
+* Sun Jan 27 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.11.1-4
+- Remove obsolete scriptlets
+
 * Tue Jan 08 2019 Matej Marusak <mmarusak@redhat.com> 2.11.1-2
 - dbus: task: Use modern GLib type macros
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-03 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 10:23 [rpms/abrt] update-2.17.8: Remove obsolete scriptlets Igor Gnatenko
2026-08-03 10:23 Igor Gnatenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox