Put the GitHub URL in its own macro
[skip changelog]
This commit is contained in:
parent
a4f5818966
commit
f4e32bbb92
11
xalan-c.spec
11
xalan-c.spec
@ -14,13 +14,14 @@ Summary: Xalan XSLT processor for C/C++
|
|||||||
# libtiff, but is a build-system file that does not contribute to the licenses
|
# libtiff, but is a build-system file that does not contribute to the licenses
|
||||||
# of the binary RPMs.
|
# of the binary RPMs.
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: http://xalan.apache.org/xalan-c/
|
URL: http://apache.github.io/xalan-c/
|
||||||
%global tag Xalan-C_%(echo '%{version}' | tr . _)
|
%global tag Xalan-C_%(echo '%{version}' | tr . _)
|
||||||
%global tar_name xalan_c-%(echo %{version} | cut -d . -f -2)
|
%global tar_name xalan_c-%(echo %{version} | cut -d . -f -2)
|
||||||
%global release_url https://github.com/apache/xalan-c/releases/download/%{tag}
|
%global forgeurl https://github.com/apache/xalan-c/
|
||||||
Source0: %{release_url}/%{tar_name}.tar.gz
|
%global releaseurl %{forgeurl}/releases/download/%{tag}
|
||||||
Source1: %{release_url}/%{tar_name}.tar.gz.asc
|
Source0: %{releaseurl}/%{tar_name}.tar.gz
|
||||||
Source2: %{release_url}/KEYS
|
Source1: %{releaseurl}/%{tar_name}.tar.gz.asc
|
||||||
|
Source2: %{releaseurl}/KEYS
|
||||||
|
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
Loading…
Reference in New Issue
Block a user