F39+: Form release tag name without a subshell
[skip changelog]
This commit is contained in:
parent
e6a89aacd4
commit
3a8edd582c
@ -16,7 +16,7 @@ Summary: Xalan XSLT processor for C/C++
|
|||||||
# of the binary RPMs.
|
# of the binary RPMs.
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: http://apache.github.io/xalan-c/
|
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 tar_name xalan_c-%(echo %{version} | cut -d . -f -2)
|
||||||
%global forgeurl https://github.com/apache/xalan-c/
|
%global forgeurl https://github.com/apache/xalan-c/
|
||||||
%global releaseurl %{forgeurl}/releases/download/%{tag}
|
%global releaseurl %{forgeurl}/releases/download/%{tag}
|
||||||
|
Loading…
Reference in New Issue
Block a user