Modernize a spec file

This commit is contained in:
Petr Písař 2019-07-12 09:47:47 +02:00
parent 8d5acc4373
commit 578f0ab660
1 changed files with 3 additions and 3 deletions

View File

@ -56,11 +56,11 @@ Win32). It is used together with the threads module.
%patch1 -p1 %patch1 -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT %{make_install}
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*