From 162f164c6dfb122cb54e34172fd973223c7861b2 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Apr 19 2024 20:57:08 +0000 Subject: More macros Signed-off-by: Peter Lemenkov --- diff --git a/erlang-lfe.spec b/erlang-lfe.spec index 5004cd3..797838e 100644 --- a/erlang-lfe.spec +++ b/erlang-lfe.spec @@ -1,5 +1,4 @@ %global realname lfe -%global upstream rvirding # Set this to true when starting a rebuild of the whole erlang stack. There's a # cyclical dependency between erlang-erts, erlang-lfe, and erlang-rebar so this @@ -18,11 +17,9 @@ Version: 2.1.1 Release: %autorelease Summary: Lisp Flavoured Erlang License: BSD -URL: https://github.com/%{upstream}/%{realname} -%if 0%{?el7}%{?fedora} -VCS: scm:git:https://github.com/%{upstream}/%{realname}.git -%endif -Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz +URL: https://github.com/lfe/%{realname} +VCS: scm:git:%{url}.git +Source0: %{url}/archive/%{version}/%{realname}-%{version}.tar.gz %if 0%{?need_bootstrap} BuildRequires: erlang-erts BuildRequires: erlang-rpm-macros