public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/abrt] update-2.17.9-f44: Remove obsolete scriptlets
Date: Mon, 03 Aug 2026 11:05:05 GMT	[thread overview]
Message-ID: <178575510594.1.7174514304748786997.rpms-abrt-eadff202bca2@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/abrt
            Branch : update-2.17.9-f44
            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.9-f44

            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
 

             reply	other threads:[~2026-08-03 11:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03 11:05 Igor Gnatenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-08-03 11:04 [rpms/abrt] update-2.17.9-f44: Remove obsolete scriptlets Igor Gnatenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178575510594.1.7174514304748786997.rpms-abrt-eadff202bca2@fedoraproject.org \
    --to=ignatenkobrain@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox