Normalize the macros

This commit is contained in:
Petr Písař 2020-02-05 08:47:51 +01:00
parent fb3d23dc55
commit e2ac7f1133

View File

@ -77,12 +77,11 @@ sed -i -e '1 s|.*|%(perl -MConfig -e 'print $Config{startperl}')|' \
examples/filtdef
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" \
NO_PERLLOCAL=1
%make_build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
%{make_build}
%install
%make_install
%{make_install}
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*