diff --git a/xalan-c.spec b/xalan-c.spec index 0bdfdc3..9b3737d 100644 --- a/xalan-c.spec +++ b/xalan-c.spec @@ -16,7 +16,7 @@ Summary: Xalan XSLT processor for C/C++ # of the binary RPMs. License: Apache-2.0 URL: http://apache.github.io/xalan-c/ -%global tag Xalan-C_%(echo '%{version}' | tr . _) +%global tag Xalan-C_%{gsub %{version} . _} %global tar_name xalan_c-%(echo %{version} | cut -d . -f -2) %global forgeurl https://github.com/apache/xalan-c/ %global releaseurl %{forgeurl}/releases/download/%{tag}