Automatically set glibc_release_url based on glibcrelease

This commit is contained in:
Florian Weimer 2017-03-08 10:09:29 +01:00
parent 04b4101e8f
commit 2999128764

View File

@ -9,7 +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.
%define glibc_release_url http://ftp.gnu.org/gnu/glibc/ %{lua: if not string.match(rpm.expand("%glibcversion"), "%.*.90$") then
rpm.define("glibc_release_url http://ftp.gnu.org/gnu/glibc/") end}
############################################################################## ##############################################################################
# We support hte following options: # We support hte following options:
# --with/--without, # --with/--without,