fix installing test progs

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2015-09-17 20:36:09 +02:00
parent 6d29775155
commit 3976cf68e9

View File

@ -91,7 +91,7 @@ make install DESTDIR=%{buildroot}
pushd tests
mkdir -p %{buildroot}%{_bindir}
for foo in $(make check-programs) ; do
install -m 0755 .libs/$foo %{buildroot}%{_bindir}
install -m 0755 $foo %{buildroot}%{_bindir}
done
popd
# SUBDIRS=libdrm