added chmod to give exec rights on shared libs for ubuntu packaging

parent e567ec4a
......@@ -66,6 +66,11 @@ make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
# Dirty workaround to give exec rights for all shared libraries. Debian packaging needs this
# TODO : set CMAKE_INSTALL_SO_NO_EXE for a cleaner workaround
chmod +x `find %{buildroot} *.so.*`
%check
%{ctest_name} -V %{?_smp_mflags}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment