X-Git-Url: https://git.tld-linux.org/?p=packages%2Frpm-tld-macros.git;a=blobdiff_plain;f=macros.tcl;h=b51d86199a0bc9d54da74f862c55b03720b7b367;hp=5f784d134536f7d339be5e14152e1dfef45fc527;hb=b106c6255d7374b16c6eaad3d41e5dd2c9d63377;hpb=208adebc7b42418e7fea34d3a573e0e8b03e36bd 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}