Use only macro for buildroot

This commit is contained in:
Jitka Plesnikova 2021-05-14 11:10:44 +02:00
parent e63a0eb53c
commit f66d2dfb22

View File

@ -51,7 +51,7 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%install
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}