From 9c6c34f70126ee46850e451935e94676fe14126b Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 10 Jun 2022 14:13:13 +0300 Subject: Simply some ancient utility compat cruft In this day and age, in anything we'll care about, calling 'ln -s' is going to work for creating symlinks and 'mkdir -p is going to create missing intermediate directories. OTOH, in order to use ln -s we need to find ln, so add a new macro for that. It's useless, but then so is %{__ln_s} these days but still people appear to be using it a lot. And having %{__ln_s} but no %{__ln} seems even weirder. A whole lotta babble for a change that wont affect anybody at all. --- macros.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'macros.in') diff --git a/macros.in b/macros.in index 6e4afb90f..406622d2f 100644 --- a/macros.in +++ b/macros.in @@ -36,13 +36,14 @@ %__id @__ID@ %__id_u %{__id} -u %__install @__INSTALL@ -%__ln_s @LN_S@ +%__ln @__LN@ +%__ln_s %{__ln} -s %__lrzip @__LRZIP@ %__lzip @__LZIP@ %__xz @__XZ@ %__make @__MAKE@ %__mkdir @__MKDIR@ -%__mkdir_p @__MKDIR_P@ +%__mkdir_p %{__mkdir} -p %__mv @__MV@ %__patch @__PATCH@ %__rm @__RM@ -- cgit v1.2.1