amanda cannot be rebuild against perl 5.20. The files which are produced the errors with new Perl are provided by upstream. The files were generated by old swig and are part of tarball. If the files are generated with new swig it will works. There are two ways how to fix it 1) use the source build with new swig provided by upstream http://downloads.sourceforge.net/amanda/amanda-3.3.6-with-swig-3.0.2.tar.gz 2) Add following commands between %confugure and make in %build section pushd perl make maintainer-clean-am popd It causes that the old code will be regenerated. I checked both way and they are working with Perl 5.20
scm-commit for rawhide - https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140901/1369482.html I decided to use second way. If the upstream goes to Perl 5.20 then tarball will have probably name amanda-<version>.tar.gz. I guess. Thanks for proposed patch.