On Wed, 2 Nov 2016 12:58:53 +0100, Patrick Dupre wrote:
rpmbuild -bb
and I got the following error message:
RPM build errors:
File not found:
/home/pdupre/rpmbuild/BUILDROOT/perl-PAR-Packer-1.035-1.fc24.x86_64/usr/lib64/perl5/vendor_perl/auto/*
File not found:
/home/pdupre/rpmbuild/BUILDROOT/perl-PAR-Packer-1.035-1.fc24.x86_64/usr/lib64/perl5/vendor_perl/PAR*
That means that the files found in the buildroot tree don't match what is
listed in the %files section within the spec file:
%files
%defattr(-,root,root,-)
%doc AUTHORS Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/PAR*
%{_mandir}/man3/*
You need to read the build output carefully, watch out for errors, not
limited to verifying that the %install section works and fills the
buildroot with files. What do you find in the buildroot? Files with
expected paths? No files or missing files? Incorrect paths?