Package not found: openSUSE:Factory/ghc-smallcheck

File 0004-Approach-the-sample-config.-file-to-rebar3.org-s-doc.patch of Package rebar3

From eae867abe34d74e41d9c43e9485ec8809dbfd23a Mon Sep 17 00:00:00 2001
From: "Paulo F. Oliveira" <paulo.ferraz.oliveira@gmail.com>
Date: Sun, 10 Nov 2024 12:15:34 +0000
Subject: [PATCH 1/2] Approach the sample config. file to rebar3.org's
 documentation

---
 rebar.config.sample | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/rebar.config.sample b/rebar.config.sample
index 58e0cb1e..eb78bc10 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -87,8 +87,12 @@
 %% type, location and revision).
 %% Rebar3 currently supports git and hg
 {deps, [
-    app_name,         % latest version of package
+    rebar,            % latest version of package
     {rebar, "1.0.0"}, % version 1.0.0 of a package
+    {rebar,           % app under a different pkg name
+     {pkg, rebar_fork}},
+    {rebar,           % versioned app under a different pkg name
+     "1.0.0", {pkg, rebar_fork}},
     {rebar,           % git, main branch of app, explicit
      {git, "git://github.com/rebar/rebar.git", {branch, "main"}}},
     {rebar,           % git, over HTTPS
@@ -99,6 +103,12 @@
      {git, "https://github.com/rebar/rebar.git", {ref, "7f73b8d6"}}},
     {rebar,           % mercurial is also supported
      {hg, "https://github.com/rebar/rebar.git", {tag, "1.0.0"}}},
+   {rebar,           % git, over HTTPS, from a sub-directory
+     {git_subdir, "https://github.com/rebar/rebar.git", {branch, "main"}, "subdir"}},
+    {rebar,           % git, tag, from a sub-directory
+     {git_subdir, "https://github.com/rebar/rebar.git", {tag, "1.0.0"}, "sub/dir"}},
+    {rebar,           % git, specific reference/hash, from a sub-directory
+     {git_subdir, "https://github.com/rebar/rebar.git", {ref, "7f73b8d6"}, "dir"}},
     %% Alternative formats, backwards compatible declarations
     {rebar,           % default branch, will warn recommending explicit branch
      {git, "git://github.com/rebar/rebar.git"}},
-- 
2.43.0

openSUSE Build Service is sponsored by