public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tree-sitter-json] rawhide: Remove unused patch
@ 2026-10-13  9:33 Maxime Ripard
  0 siblings, 0 replies; only message in thread
From: Maxime Ripard @ 2026-10-13  9:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/tree-sitter-json
            Branch : rawhide
            Commit : a8d420c9825600f504ade06425bd993478ce0940
            Author : Maxime Ripard <mripard@kernel.org>
            Date   : 2026-10-13T09:34:27+02:00
            Stats  : +0/-36 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/tree-sitter-json/c/a8d420c9825600f504ade06425bd993478ce0940?branch=rawhide

            Log:
            Remove unused patch

Commit a4c9fd78ad37 ("Update to version 0.21.0.") removed the downstream
patch we used to carry from the spec file, but didn't remove the patch
itself.

Since this patch has been merged upstream since, which was the reason it
got dropped from the spec file in the first place, we can remove it too.

Signed-off-by: Maxime Ripard <mripard@kernel.org>

---
diff --git a/0001-Prevent-mangled-URL-in-.pc-file.patch b/0001-Prevent-mangled-URL-in-.pc-file.patch
deleted file mode 100644
index 1e1b907..0000000
--- a/0001-Prevent-mangled-URL-in-.pc-file.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 6542346b2711a37c50492f5d7157d98a81dff7cd Mon Sep 17 00:00:00 2001
-From: Peter Oliver <git@mavit.org.uk>
-Date: Wed, 2 Aug 2023 13:53:55 +0100
-Subject: [PATCH] Prevent mangled URL in .pc file
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Previously, the `Makefile` assumed that Git URLs were always “SSH style”, e.g., `git@github.com:tree-sitter/tree-sitter-java.git`.  This change causes the right thing to be done when a normal URL is encountered, e.g. `https://github.com/tree-sitter/tree-sitter-java.git`.
-
-Relates to https://bugzilla.redhat.com/show_bug.cgi?id=2193261
----
- Makefile | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 0d50d2a..b91958f 100644
---- a/Makefile
-+++ b/Makefile
-@@ -12,9 +12,11 @@ ifeq (, $(PARSER_NAME))
- endif
- 
- ifeq (, $(PARSER_URL))
--	PARSER_URL := $(subst :,/,$(PARSER_REPO_URL))
-+	PARSER_URL := $(subst .git,,$(PARSER_REPO_URL))
-+ifeq ($(shell echo $(PARSER_URL) | grep '^[a-z][-+.0-9a-z]*://'),)
-+	PARSER_URL := $(subst :,/,$(PARSER_URL))
- 	PARSER_URL := $(subst git@,https://,$(PARSER_URL))
--	PARSER_URL := $(subst .git,,$(PARSER_URL))
-+endif
- endif
- 
- UPPER_PARSER_NAME := $(shell echo $(PARSER_NAME) | tr a-z A-Z )
--- 
-2.41.0
-

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-13  9:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13  9:33 [rpms/tree-sitter-json] rawhide: Remove unused patch Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox