Use only macro for buildroot

This commit is contained in:
Jitka Plesnikova 2021-05-14 11:12:53 +02:00
parent 6616445839
commit dde90f3624

View File

@ -249,7 +249,7 @@ rm -rf "$DIR"
EOF
chmod +x %{buildroot}/%{_libexecdir}/%{name}/test
%{_fixperms} $RPM_BUILD_ROOT/*
%{_fixperms} %{buildroot}/*
%check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')