Files
difftastic/remove-jq-dependency.patch
Andrei Dziahel 6c9f5eda08 - Fix build on Leap 15.6, again
- Add remove-jq-dependency.patch
  * Fixes build errors with mdbook >= 0.5.0

OBS-URL: https://build.opensuse.org/package/show/utilities/difftastic?expand=0&rev=32
2025-11-26 14:30:24 +00:00

18 lines
497 B
Diff

--- a/manual/book.toml
+++ b/manual/book.toml
@@ -14,6 +14,3 @@ git-repository-url = "https://github.com/wilfred/difftastic"
[output.html.playground]
copyable = false
-
-[preprocessor.replace-version-placeholder]
-command = "./replace_version_placeholder.sh"
--- a/manual/replace_version_placeholder.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-DFT_VERSION=$(cargo read-manifest | jq -r .version)
-
-jq .[1] | jq '.sections[0].Chapter.content |= sub("DFT_VERSION_HERE"; "'$DFT_VERSION'")'