Define glibc_release_url based on glibcsrcdir, not glibcversion
The former is more reliable because glibcsrcdir changes in case of a release off the release/*/master branch (which does not have a tarball), but glibcversion remains the same.
This commit is contained in:
parent
fe99e84bf2
commit
c5dc50cba8
@ -9,8 +9,8 @@
|
|||||||
# gzip -9 $(git describe --match 'glibc-*').tar
|
# gzip -9 $(git describe --match 'glibc-*').tar
|
||||||
#
|
#
|
||||||
# glibc_release_url is only defined when we have a release tarball.
|
# glibc_release_url is only defined when we have a release tarball.
|
||||||
%{lua: if not string.match(rpm.expand("%glibcversion"), "%.*.90$") then
|
%{lua: if string.match(rpm.expand("%glibcsrcdir"), "^glibc%-[0-9.]+$") then
|
||||||
rpm.define("glibc_release_url http://ftp.gnu.org/gnu/glibc/") end}
|
rpm.define("glibc_release_url https://ftp.gnu.org/gnu/glibc/") end}
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# We support hte following options:
|
# We support hte following options:
|
||||||
# --with/--without,
|
# --with/--without,
|
||||||
|
Loading…
Reference in New Issue
Block a user