Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
9d7d233bf9
commit
eadff202bc
16
abrt.spec
16
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user