public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/erlang-clique] rawhide: Fix FTBFS
Date: Wed, 29 Jul 2026 13:32:43 GMT	[thread overview]
Message-ID: <178533196392.1.13482780323434716411.rpms-erlang-clique-ab4228e7680b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/erlang-clique
            Branch : rawhide
            Commit : ab4228e7680b040c496ba4c9dd48f8be36adebe6
            Author : Peter Lemenkov <lemenkov@gmail.com>
            Date   : 2026-07-29T15:11:42+02:00
            Stats  : +31/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/erlang-clique/c/ab4228e7680b040c496ba4c9dd48f8be36adebe6?branch=rawhide

            Log:
            Fix FTBFS

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

---
diff --git a/2f2340a788b9bc52526d0e7819906410efde6004.patch b/2f2340a788b9bc52526d0e7819906410efde6004.patch
new file mode 100644
index 0000000..446daae
--- /dev/null
+++ b/2f2340a788b9bc52526d0e7819906410efde6004.patch
@@ -0,0 +1,28 @@
+From 2f2340a788b9bc52526d0e7819906410efde6004 Mon Sep 17 00:00:00 2001
+From: Senthilkumar <sendtopms@gmail.com>
+Date: Thu, 3 Jul 2025 19:05:56 +0530
+Subject: [PATCH] OTP28 compatibility changing else -> 'else'
+
+OTP28 compatibility changing else -> 'else'
+---
+ src/clique_table.erl | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/clique_table.erl b/src/clique_table.erl
+index adc82d1..04424a6 100644
+--- a/src/clique_table.erl
++++ b/src/clique_table.erl
+@@ -28,11 +28,11 @@
+ -include("clique_status_types.hrl").
+ 
+ -define(MAX_LINE_LEN, 100).
+--define(else, true).
++-define('else', true).
+ -define(MINWIDTH(W),
+         if W =< 0 ->
+                 1;
+-           ?else ->
++           ?'else' ->
+                 W
+         end).
+ 

diff --git a/erlang-clique.spec b/erlang-clique.spec
index 3746db4..966aa49 100644
--- a/erlang-clique.spec
+++ b/erlang-clique.spec
@@ -8,8 +8,9 @@ Summary:	CLI Framework for Erlang
 License:	Apache-2.0
 URL:		https://github.com/basho/%{realname}
 VCS:		git:%{url}.git
-Source0:	%{url}/archive/%{version}/%{realname}-%{version}.tar.gz
-Patch1:		erlang-clique-0001-Don-t-hide-dependency-on-mochiweb.patch
+Source:		%{url}/archive/%{version}/%{realname}-%{version}.tar.gz
+Patch:		erlang-clique-0001-Don-t-hide-dependency-on-mochiweb.patch
+Patch:		2f2340a788b9bc52526d0e7819906410efde6004.patch
 BuildRequires:	erlang-cuttlefish
 BuildRequires:	erlang-mochiweb
 BuildSystem:	rebar3

                 reply	other threads:[~2026-07-29 13:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178533196392.1.13482780323434716411.rpms-erlang-clique-ab4228e7680b@fedoraproject.org \
    --to=lemenkov@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox