diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2022-06-10 14:13:13 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2022-06-10 14:19:05 +0300 |
commit | 9c6c34f70126ee46850e451935e94676fe14126b (patch) | |
tree | a3fadd67be5006b016c6a3da3b96ca3f27d867da /macros.in | |
parent | c0b417f572d2450f060f8cde901a8edb4f9a3b33 (diff) | |
download | rpm-9c6c34f70126ee46850e451935e94676fe14126b.tar.gz |
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.
Diffstat (limited to 'macros.in')
-rw-r--r-- | macros.in | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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@ |