Modernize spec file

This commit is contained in:
Petr Písař 2019-09-27 13:11:05 +02:00
parent 8089d899b7
commit 97da506eb2

View File

@ -48,11 +48,11 @@ module that will return you the output of "perl -V" in a structure.
chmod -x examples/*
%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=$RPM_BUILD_ROOT
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check