]> TLD Linux GIT Repositories - packages/rpm-tld-macros.git/blobdiff - macros.tcl
- merged PLD changes and moved build-id links back to debug packages
[packages/rpm-tld-macros.git] / macros.tcl
index 5f784d134536f7d339be5e14152e1dfef45fc527..b51d86199a0bc9d54da74f862c55b03720b7b367 100644 (file)
@@ -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}