public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/abrt] update-2.17.9-f44: Remove a no longer needed posttrans scriptlet
@ 2026-08-03 11:04 Jakub Filak
0 siblings, 0 replies; only message in thread
From: Jakub Filak @ 2026-08-03 11:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/abrt
Branch : update-2.17.9-f44
Commit : b72e3399f7a1cbe59eb9bafd46fcaac7d2fffad3
Author : Jakub Filak <jfilak@redhat.com>
Date : 2015-04-13T11:44:16+02:00
Stats : +4/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/abrt/c/b72e3399f7a1cbe59eb9bafd46fcaac7d2fffad3?branch=update-2.17.9-f44
Log:
Remove a no longer needed posttrans scriptlet
The scriptlet was making a copy of 'analyzer' file to 'type' file,
because there was no 'type' file long time ago, a new version
started requiring that element, thus we had to add a scriptlet
creating that problem element for the problems detected by older
versions of abrt (prior abrt-2.5.0, contents of analyzer was the same as
contents of type).
---
diff --git a/abrt.spec b/abrt.spec
index 30a1902..a45b174 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -46,7 +46,7 @@
Summary: Automatic bug detection and reporting tool
Name: abrt
Version: 2.5.1
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://github.com/abrt/abrt/wiki/ABRT-Project
@@ -647,8 +647,6 @@ if [ $1 -eq 0 ] ; then
fi
%posttrans
-# update the old problem dirs to contain "type" element
-abrtdir=$(grep "DumpLocation" /etc/abrt/abrt.conf | cut -d'=' -f2 | tr -d ' '); cd $abrtdir 2>/dev/null && for i in `find . -name "analyzer" 2>/dev/null`; do len=${#i};cp "$i" "${i:0:$len-9}/type"; done; for i in `find "$abrtdir" -mindepth 1 -maxdepth 1 -type d`; do chown `stat --format=%U:abrt $i` $i/*; done
service abrtd condrestart >/dev/null 2>&1 || :
%posttrans addon-ccpp
@@ -1024,6 +1022,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
%changelog
+* Mon Apr 13 2015 Jakub Filak <jfilak@redhat.com> 2.5.1-2
+- Remove no longer needed posttrans scriptlet copying analyzer to type
+
* Thu Apr 09 2015 Jakub Filak <jfilak@redhat.com> 2.5.1-1
- Translation updates
- problem: use 'type' element instead of 'analyzer'
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-03 11:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 11:04 [rpms/abrt] update-2.17.9-f44: Remove a no longer needed posttrans scriptlet Jakub Filak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox