https://bugzilla.redhat.com/show_bug.cgi?id=1699030



--- Comment #3 from Xavier Bachelot <[email protected]> ---
(In reply to Robert-André Mauchin from comment #2)
>  - %{__perl} → perl
>
Fixed.

>  - %{__perl} Makefile.PL INSTALLDIRS=vendor
> 
> →
> 
> perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
> OPTIMIZE="$RPM_OPT_FLAGS"
> 
> w/ BuildRequires:  perl(ExtUtils::MakeMaker) >= 7.12
> 
>    and: 
> 
> make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
> 
> →
> 
> %{make_install}
> 
>  - As a result, not needed:
> 
> find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
> find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
> 
This a noarch package so OPTIMIZE doesn't matter.
I will build for EL6 and EL7, so I can't use NO_PACKLIST and NO_PERLLOCAL as
ExtUtils::MakeMaker is 6.55 and 6.68.

Also, you didn't mention it, but I made use of %make_build instead of make
%{?_smp_mflags}.

Spec URL:
https://www.bachelot.org/fedora/SPECS/perl-Mail-AuthenticationResults.spec
SRPM URL:
https://www.bachelot.org/fedora/SRPMS/perl-Mail-AuthenticationResults-1.20180923-2.fc29.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to