From 45b4154df3e3ff7c2ba6f3e4345b27a27455743f Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Mon, 20 May 2024 12:18:44 +0900 Subject: [PATCH] 1.16.2 --- ...mmander-MR55-fix-double-g_free_error.patch | 27 ------------------- gnome-commander.spec | 11 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 34 deletions(-) delete mode 100644 gnome-commander-MR55-fix-double-g_free_error.patch diff --git a/gnome-commander-MR55-fix-double-g_free_error.patch b/gnome-commander-MR55-fix-double-g_free_error.patch deleted file mode 100644 index 783d7a8..0000000 --- a/gnome-commander-MR55-fix-double-g_free_error.patch +++ /dev/null @@ -1,27 +0,0 @@ -From ed704b30992b7f576060c424e431d6909504b9b4 Mon Sep 17 00:00:00 2001 -From: Mamoru TASAKA -Date: Thu, 18 Apr 2024 19:56:24 +0900 -Subject: [PATCH] Fix double g_error_free call in remote_close_callback - -gnome_cmd_error_message() calls g_error_free() internally, -so no need to call g_error_free() again in -remote_close_callback(). ---- - src/gnome-cmd-con-remote.cc | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/src/gnome-cmd-con-remote.cc b/src/gnome-cmd-con-remote.cc -index 85f87e3d..39a131e5 100644 ---- a/src/gnome-cmd-con-remote.cc -+++ b/src/gnome-cmd-con-remote.cc -@@ -125,7 +125,6 @@ static void remote_close_callback(GObject *gobj, GAsyncResult *result, gpointer - if (error && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CLOSED)) - { - gnome_cmd_error_message(_("Disconnect error"), error); -- g_error_free(error); - return; - } - if (error) --- -GitLab - diff --git a/gnome-commander.spec b/gnome-commander.spec index 27f108b..5838e11 100644 --- a/gnome-commander.spec +++ b/gnome-commander.spec @@ -39,8 +39,8 @@ %endif %global shortver 1.16 -%global fullver %{shortver}.1 -%global baserelease 6 +%global fullver %{shortver}.2 +%global baserelease 1 %if 0%{?use_release} >= 1 %global fedorarel %{?prever:0.}%{baserelease}%{?prever:.%{prerpmver}} @@ -75,9 +75,6 @@ Source1: gnome-commander.sh Source2: create-gcmd-git-bare-tarball.sh Source10: mimeedit-svn%{mimeedit_rev}.sh Patch1: gnome-commander-1.6.0-path-fedora-specific.patch -# https://gitlab.gnome.org/GNOME/gnome-commander/-/merge_requests/55 -# https://bugzilla.redhat.com/show_bug.cgi?id=2271363 -Patch2: gnome-commander-MR55-fix-double-g_free_error.patch BuildRequires: gcc-c++ %if 0%{?use_gcc_strict_sanitize} @@ -181,7 +178,6 @@ git commit -m "base" -q %patch -P1 -p1 -b .path git commit -m "Apply Fedora specific path configuration" -a -cat %PATCH2 | git am %if 0%{?use_release} %endif @@ -292,6 +288,9 @@ popd %{_datadir}/pixmaps/%{name}/ %changelog +* Mon May 20 2024 Mamoru TASAKA - 4:1.16.2-1 +- 1.16.2 + * Thu Apr 18 2024 Mamoru TASAKA - 4:1.16.1-6 - Fix double g_error_free call in remote_close_callback (bug 2271363) diff --git a/sources b/sources index bec4d0d..cad2396 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gnome-commander-1.16.1.tar.xz) = 3a42671350e071552f82e44cf09e7598c9851a8d0b47cedc059a23347e8da71e1cc140f16191b31b1e66b74d803240db63a0eb8ba6a189dfc64315783fb954e0 +SHA512 (gnome-commander-1.16.2.tar.xz) = da2675a6625a67ab873d49f1caf939c30a317ecc0cb9b15c794b27c4a46dfba4cdea10266b380ef1e6809329ee770db4d7559a9cf94b575340b7fe4bb997d6c2