diff --git a/perl-Bit-Vector.spec b/perl-Bit-Vector.spec index a78982e..f2381ea 100644 --- a/perl-Bit-Vector.spec +++ b/perl-Bit-Vector.spec @@ -49,12 +49,12 @@ perl -pi -e 's|^#!perl\b|#!%{__perl}|' \ examples/{benchmk{2,3},primes,SetObject}.pl %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" \ + NO_PERLLOCAL=1 NO_PACKLIST=1 %make_build %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete +%{make_install} find %{buildroot} -type f -name '*.bs' -a -size 0 -delete %{_fixperms} %{buildroot}/*