corrija el% 24releasever nome da variável para $ releasever no seu arquivo repo. Para mais informações sobre as variáveis do yum, verifique yum.conf .
Variables
There are a number of variables you can use to ease maintenance of yum's configuration files. They are available in the values of several options including name, baseurl and commands.
$releasever This will be replaced with the value of the version of the package listed in distroverpkg. This defaults to the version of
'redhat-release' package.
$arch This will be replaced with your architecture as listed by os.uname()[4] in Python. $basearch This will be replaced with your base architecture in yum. For example, if your $arch is i686 your $basearch will be i386. $uuid This will be replaced with a unique but persistent uuid for this machine. The value that is first generated will be stored in
/var/lib/yum/uuid and reused until this file is deleted.
$YUM0-$YUM9 These will be replaced with the value of the shell environment variable of the same name. If the shell environment
variable does not exist then the configuration file variable will not be replaced. As of 3.2.28, any file in /etc/yum/vars is turned into a variable named after the filename (or overrides any of the above variables).
Note that no warnings/errors are given if the files are unreadable, so creating files that only root can read may be confusing for users.
Also note that only the first line will be read and all new line characters are removed, as a convenience. However, no other checking is performed on the data. This means it is possible to have bad character data in any value.
também este tópico será útil para entender as variáveis do yum.