Modernize spec file

This commit is contained in:
Petr Písař 2019-05-06 15:57:23 +02:00
parent 52f158eb0b
commit a8f72cb49a

View File

@ -112,11 +112,11 @@ version 5.005 or newer.
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
rm -f %{buildroot}/blib/lib/auto/share/dist/Module-Install/dist_file.txt
%{_fixperms} %{buildroot}/*