X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=macros.tcl;h=b51d86199a0bc9d54da74f862c55b03720b7b367;hb=2dad0bf9a370813b9c10acc48f5f225810cf3ab3;hp=5f784d134536f7d339be5e14152e1dfef45fc527;hpb=b5115bb76a6795a89fadf5f4e7161f26203c7678;p=packages%2Frpm-tld-macros.git diff --git a/macros.tcl b/macros.tcl index 5f784d1..b51d861 100644 --- a/macros.tcl +++ b/macros.tcl @@ -2,6 +2,6 @@ %__tclsh /usr/bin/tclsh -%tcl_version %{expand:%%global tcl_version %(echo 'puts $tcl_version' | %{__tclsh})}%tcl_version +%tcl_version %{expand:%%global tcl_version %(V=$(echo 'puts $tcl_version' | %{__tclsh}); echo ${V:-0})}%tcl_version %tcl_sitearch %{_libdir}/tcl%{tcl_version} %tcl_sitelib %{_datadir}/tcl%{tcl_version}