Hello, 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} Summary: Build external dependencies for use in CPAN License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/dist/Alien-Build Source0: http://www.cpan.org/modules/by-module/Alien/Alien-Build-%{version}.tar.gz BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.8.4 BuildRequires: perl(Capture::Tiny) >= 0.17 BuildRequires: perl(Digest::SHA) BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 BuildRequires: perl(ExtUtils::ParseXS) >= 3.30 BuildRequires: perl(FFI::CheckLib) >= 0.11 BuildRequires: perl(File::chdir) BuildRequires: perl(File::Which) >= 1.10 BuildRequires: perl(JSON::PP) BuildRequires: perl(List::Util) >= 1.33 BuildRequires: perl(parent) BuildRequires: perl(Path::Tiny) >= 0.077 BuildRequires: perl(Test2::API) >= 1.302096 BuildRequires: perl(Test2::V0) >= 0.000121 BuildRequires: perl(Text::ParseWords) >= 3.26 Requires: perl(Capture::Tiny) >= 0.17 Requires: perl(ExtUtils::MakeMaker) >= 6.64 Requires: perl(ExtUtils::ParseXS) >= 3.30 Requires: perl(FFI::CheckLib) >= 0.11 Requires: perl(File::Which) >= 1.10 Requires: perl(List::Util) >= 1.33 Requires: perl(Path::Tiny) >= 0.077 Requires: perl(Test2::API) >= 1.302096 Requires: perl(Text::ParseWords) >= 3.26 %description This module provides tools for building external (non-CPAN) dependencies for CPAN. It is mainly designed to be used at install time of a CPAN client, and work closely with Alien::Base which is used at runtime. %prep %setup -q -n Alien-Build-%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc author.yml Changes Changes.Alien-Base Changes.Alien-Base-Wrapper Changes.Alien-Build-Decode-Mojo Changes.Test-Alien perlcriticrc README spellcheck.ini SUPPORT weaver.ini %license LICENSE %{perl_vendorarch}/auto/* %{perl_vendorarch}/Alien* %{_mandir}/man3/* The file /home/pdupre/rpmbuild/BUILD/perl-Alien-Build-2.84-build/BUILDROOT/usr/ does not exist, but I have /home/pdupre/rpmbuild/BUILD/perl-Alien-Build-2.84-build/BUILDROOT/usr/share/perl5/vendor_perl/Alien/ but no /home/pdupre/rpmbuild/BUILD/perl-Alien-Build-2.84-build/BUILDROOT/usr/share/perl5/vendor_perl/auto =========================================================================== Patrick DUPRÉ | | email: pdu...@gmx.com =========================================================================== -- _______________________________________________ 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