File 1304-Add-git-checkout-and-comments-to-README-build-instru.patch of Package erlang

From b9ee7f721e1e0df2c6ac64351fad0b3de5127861 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Mon, 15 Nov 2021 22:11:19 +0100
Subject: [PATCH 2/2] Add "git checkout" and comments to README build
 instructions

---
 README.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/README.md b/README.md
index c63ff40280..61f4414bbe 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,17 @@ To compile Erlang from source, run the following commands. The complete building
 ```
 git clone https://github.com/erlang/otp.git
 cd otp
+```
+Checkout the branch or tag of your choice
+```
+git checkout maint-24    # current latest stable version
+```
+For older versions run autoconf
+```
 ./otp_build autoconf
+```
+Configure, build and install
+```
 ./configure
 make
 make install
-- 
2.31.1

openSUSE Build Service is sponsored by