From f2906d358210d3e75c8b4bd783a8349f3f99b1b2 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Apr 23 2024 21:18:29 +0000 Subject: More macros Signed-off-by: Peter Lemenkov --- diff --git a/erlang-sd_notify.spec b/erlang-sd_notify.spec index d4bc451..c45dc60 100644 --- a/erlang-sd_notify.spec +++ b/erlang-sd_notify.spec @@ -1,5 +1,4 @@ %global realname sd_notify -%global upstream systemd Name: erlang-%{realname} @@ -8,9 +7,9 @@ Release: %autorelease BuildArch: noarch Summary: Erlang interface to systemd notify subsystem License: MIT -URL: https://github.com/%{upstream}/erlang-%{realname} -VCS: scm:git:https://github.com/%{upstream}/erlang-%{realname}.git -Source0: https://github.com/%{upstream}/erlang-%{realname}/archive/v%{version}/erlang-%{realname}-%{version}.tar.gz +URL: https://github.com/systemd/erlang-%{realname} +VCS: scm:git:%{url}.git +Source0: %{url}/archive/v%{version}/erlang-%{realname}-%{version}.tar.gz BuildRequires: erlang-rebar