Don't try to run chrpath on a shell wrapper

This commit is contained in:
Bastien Nocera 2015-04-30 12:09:31 +02:00
parent 04c80f0645
commit d03caa29f9

View File

@ -48,7 +48,8 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# Remove rpath
chrpath --delete %{buildroot}%{_bindir}/umockdev-*
chrpath --delete %{buildroot}%{_bindir}/umockdev-record \
%{buildroot}%{_bindir}/umockdev-run
chrpath --delete %{buildroot}%{_libdir}/libumockdev.so.*
chrpath --delete %{buildroot}%{_libdir}/libumockdev-preload.so.*