You can enable the powertools repository to solve this issue,
sudo yum install dnf-plugins-core
sudo yum config-manager --set-enabled powertools
Now you can install the gdal by following code,
sudo yum install gdal-devel
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…