Fix syntax (RHEL-65632)

Resolves: RHEL-65632
This commit is contained in:
David King 2025-10-15 16:22:21 +01:00
parent 36c6ab3f01
commit d250ee4bf4
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From af2fe0d1dcbcd982d84ddf2bbd174afe90976ed9 Mon Sep 17 00:00:00 2001
From: Harald Sitter <sitter@kde.org>
Date: Tue, 30 Jan 2024 11:24:41 +0100
Subject: xdg-icon-resource: unbreak syntax by removing stray grave accent
---
scripts/xdg-icon-resource.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/xdg-icon-resource.in b/scripts/xdg-icon-resource.in
index 0bfa26b..47ba6d6 100644
--- a/scripts/xdg-icon-resource.in
+++ b/scripts/xdg-icon-resource.in
@@ -306,7 +306,7 @@ fi
need_kde_icon_path()
{
local path
- path="$(xdg_realpath "$1")" 2> /dev/null` # Normalize path
+ path="$(xdg_realpath "$1")" 2> /dev/null # Normalize path
DEBUG 2 "need_kde_icon_path $path"
if [ -z "$path" ] ; then
DEBUG 2 "need_kde_icon_path RETURN 1 (not needed, no xdg icon dir)"
--
cgit v1.2.3

View File

@ -1,7 +1,7 @@
Summary: Basic desktop integration functions
Name: xdg-utils
Version: 1.2.0
Release: 3%{?dist}
Release: 4%{?dist}
URL: https://www.freedesktop.org/wiki/Software/xdg-utils/
%if 0%{?snap:1}
@ -10,6 +10,8 @@ Source0: xdg-utils-%{version}-%{snap}.tar.gz
Source0: https://gitlab.freedesktop.org/xdg/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.gz
%endif
License: MIT
# https://issues.redhat.com/browse/RHEL-65632
Patch0: xdg-utils-1.2.0-fix-syntax.patch
# make sure BuildArch comes *after* patches, to ensure %%autosetup works right
# http://bugzilla.redhat.com/1084309
@ -85,6 +87,9 @@ make man scripts %{?_smp_mflags} -C scripts
%changelog
* Wed Oct 15 2025 David King <dking@redhat.com> - 1.2.0-4
- Fix syntax (RHEL-65632)
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.0-3
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018