Add BR: perl-devel.
The build error was below. See also:
https://fedoraproject.org/wiki/Packaging:Perl#Build_Dependencies
No rebuild is necessary.
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-system-nspr --enable-threadsafe --enable-readline --disable-optimize
creating cache ./config.cache
checking host system type... riscv64-redhat-linux-gnu
checking target system type... riscv64-redhat-linux-gnu
checking build system type... riscv64-redhat-linux-gnu
checking for gawk... gawk
checking for perl5... no
checking for perl... no
configure: error: perl not found in $PATH
error: Bad exit status from /var/tmp/rpm-tmp.5UTJ3s (%build)