From dcbc5f7ff5e147c1ac6aeac2bf8904fea02d7f9a Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Feb 21 2024 10:09:18 +0000 Subject: Fix expansion of %stable --- diff --git a/systemd.spec b/systemd.spec index 908370e..5384254 100644 --- a/systemd.spec +++ b/systemd.spec @@ -46,7 +46,7 @@ Summary: System and Service Manager # download tarballs with "spectool -g systemd.spec" %if %{defined commit} -Source0: https://github.com/systemd/systemd%{?stable:-stable}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz +Source0: https://github.com/systemd/systemd%[%stable?"-stable":""]/archive/%{commit}/%{name}-%{shortcommit}.tar.gz %elif 0%{?facebook} Source0: %{url}/archive/60ba4f39786d86e81142ac863fc09674182a816a/%{name}-hs+fb-%{version}.tar.gz %else