public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/erlang-ranch] f44: Revert to ranch 2.2.1 (drop 2.4.0 bump)
@ 2026-11-20 13:23 Peter Lemenkov
  0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-11-20 13:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/erlang-ranch
            Branch : f44
            Commit : fd5ade2924cceaaf048600bc4fe3c0bb9d268413
            Author : Peter Lemenkov <lemenkov@gmail.com>
            Date   : 2026-11-20T14:23:14+01:00
            Stats  : +15/-5 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/erlang-ranch/c/fd5ade2924cceaaf048600bc4fe3c0bb9d268413?branch=f44

            Log:
            Revert to ranch 2.2.1 (drop 2.4.0 bump)

ranch 2.4.0 uses the OTP-27 maybe (?=) feature; Fedora 44 ships OTP 26.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

---
diff --git a/erlang-ranch.spec b/erlang-ranch.spec
index 7153b9d..9a1f785 100644
--- a/erlang-ranch.spec
+++ b/erlang-ranch.spec
@@ -1,27 +1,37 @@
 %global realname ranch
 
 Name:		erlang-%{realname}
-Version:	2.4.0
+Version:	2.3.0
 Release:	%autorelease
 BuildArch:	noarch
 Summary:	Socket acceptor pool for TCP protocols
 License:	ISC
 URL:		https://github.com/ninenines/%{realname}
 VCS:		git:%{url}.git
-Source:		%{url}/archive/%{version}/%{realname}-%{version}.tar.gz
+Source0:	%{url}/archive/%{version}/%{realname}-%{version}.tar.gz
 Patch:		erlang-ranch-0001-Fix-testing-with-rebar.patch
 BuildRequires:	erlang-ct_helper
-BuildSystem:	rebar3
+BuildRequires:	erlang-rebar3
 
 %description
 %{summary}.
 
-%prep -a
+%prep
+%autosetup -p1 -n %{realname}-%{version}
 # FIXME we don't have stampede yet
 rm -f test/stampede_SUITE.erl
 # FIXME this test is very fragile and cannot be run with Rebar3 directly
 rm -f test/upgrade_SUITE.erl
 
+%build
+%{erlang3_compile}
+
+%install
+%{erlang3_install}
+
+%check
+%{erlang3_test}
+
 %files
 %license LICENSE
 %doc README.asciidoc doc/ examples/

diff --git a/sources b/sources
index 5c6ac59..51ea467 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ranch-2.4.0.tar.gz) = 1cbfa191d62d7780f4b3a1943f11195b967b5982f896116978642eb00c6b205b7ce7f92c317d874fe15381dcbb5de5b3901122e0a4a753aede3be7ea2ab97337
+SHA512 (ranch-2.3.0.tar.gz) = addedcc68f5220932b950fe212769ab09bd730c682bf100d9608ed93a1775646704467cf43ec1c8e86640b4bae97aa85e8ef2eefe24524748cf8033bf1a5dbf9

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

only message in thread, other threads:[~2026-11-20 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 13:23 [rpms/erlang-ranch] f44: Revert to ranch 2.2.1 (drop 2.4.0 bump) Peter Lemenkov

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