diff --git a/perl-Compress-Bzip2.spec b/perl-Compress-Bzip2.spec index 8d1cbcd..caa2721 100644 --- a/perl-Compress-Bzip2.spec +++ b/perl-Compress-Bzip2.spec @@ -70,11 +70,12 @@ sed -i -e '/^bzlib-src\//d' MANIFEST find bzlib-src -type f >>MANIFEST %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \ + NO_PACKLIST=1 NO_PERLLOCAL=1 %make_build %install -make pure_install DESTDIR=%{buildroot} +%make_install find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot}