From d03caa29f9d13febba67a83f09cf7873345578c0 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 30 Apr 2015 12:09:31 +0200 Subject: [PATCH] Don't try to run chrpath on a shell wrapper --- umockdev.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umockdev.spec b/umockdev.spec index 283fd45..6d9b5c5 100644 --- a/umockdev.spec +++ b/umockdev.spec @@ -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.*