diff --git a/rpm.spec b/rpm.spec index 8466261..f466d34 100644 --- a/rpm.spec +++ b/rpm.spec @@ -401,7 +401,7 @@ echo > %{buildroot}%{_bindir}/rpmbuild << EOF #!/bin/sh env MALLOC_CHECK_=3 /usr/bin/rpmbuild.real $@ EOF -chmod +x %{_bindir}/rpmbuild +chmod +x %{buildroot}%{_bindir}/rpmbuild %if %{with check} %check