Patrick Dupre via users wrote: > Trying to build rpm package from perl-Alien-Build, I get > RPM build errors: > File not found: > /home/pdupre/rpmbuild/BUILD/perl-Alien-Build-2.84-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/* > File not found: > /home/pdupre/rpmbuild/BUILD/perl-Alien-Build-2.84-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Alien* > > This is the spec file that I use > > Name: perl-Alien-Build > Version: 2.84 > Release: 1%{?dist}
This same version is already provided by Fedora. Why are you not using that instead? At the least, I'd start from that package (building it without changes first, to ensure that it works). Then if you have to make local changes you'll know which of them are the cause (or not). I didn't notice any patches in your spec file, so perhaps you just didn't know it was already available? If that's the case, you might find it handy to search for perl modules based on their module names, e.g.: dnf provides 'perl(Alien::Build)' If you're still curious to see how the Fedora package is made, you can run `fedpkg clone -a perl-Alien-Build` to get a git clone of the package source files to compare to yours. The Fedora package is much more detailed and lacks any `auto` directory AFAICT. -- Todd
signature.asc
Description: PGP signature
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue