commit 270cd7dc3561f3eb774b9bb07d7a783949e21143
Author: Jan Palus <[email protected]>
Date:   Thu Nov 14 23:04:47 2024 +0100

    use %erlang_requires

 erlang-rebar.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/erlang-rebar.spec b/erlang-rebar.spec
index bb466bb..2693e3e 100644
--- a/erlang-rebar.spec
+++ b/erlang-rebar.spec
@@ -12,12 +12,12 @@ Source0:    
https://github.com/rebar/rebar/tarball/%{version}/rebar-%{version}.tar.
 # Source0-md5: d5083a6bcb0df31e809d5bb0d6be502e
 Source1:       rebar.escript
 URL:           https://github.com/rebar/rebar
-%if %{with bootstrap}
-BuildRequires: erlang
-%else
+BuildRequires: erlang >= 2:17
+%if %{without bootstrap}
 BuildRequires: erlang-rebar
 %endif
-Requires:      erlang
+BuildRequires: rpmbuild(macros) >= 2.035
+%{?erlang_requires}
 Provides:      rebar = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/erlang-rebar.git/commitdiff/270cd7dc3561f3eb774b9bb07d7a783949e21143

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to