public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hugo] epel10: Patch in Blackfriday v1 paths.
@ 2026-11-06  5:39 Elliott Sales de Andrade
  0 siblings, 0 replies; only message in thread
From: Elliott Sales de Andrade @ 2026-11-06  5:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/hugo
Branch : epel10
Commit : ce84e9b599c8c9705af743cd00aca5f542f4d7ed
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date   : 2019-02-28T02:12:05-05:00
Stats  : +4/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/hugo/c/ce84e9b599c8c9705af743cd00aca5f542f4d7ed?branch=epel10

Log:
Patch in Blackfriday v1 paths.

---
diff --git a/hugo.spec b/hugo.spec
index f1bd777..ae101ea 100644
--- a/hugo.spec
+++ b/hugo.spec
@@ -45,7 +45,7 @@ BuildRequires: golang(github.com/muesli/smartcrop)
 BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/bundle)
 BuildRequires: golang(github.com/nicksnyder/go-i18n/i18n/language)
 BuildRequires: golang(github.com/olekukonko/tablewriter)
-BuildRequires: golang(github.com/russross/blackfriday)
+BuildRequires: golang(gopkg.in/russross/blackfriday.v1)
 BuildRequires: golang(github.com/spf13/afero)
 BuildRequires: golang(github.com/spf13/cast)
 BuildRequires: golang(github.com/spf13/cobra)
@@ -81,6 +81,9 @@ which use import path with %{goipath} prefix.
 %prep
 %forgeautosetup -p1
 
+# Replace blackfriday import path to avoid conflict with v2
+sed -i 's|"github.com/russross/blackfriday|"gopkg.in/russross/blackfriday.v1|' $(find . -name '*.go')
+
 
 %build
 %gobuildroot

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

only message in thread, other threads:[~2026-11-06  5:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06  5:39 [rpms/hugo] epel10: Patch in Blackfriday v1 paths Elliott Sales de Andrade

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