diff --git a/rttr.spec b/rttr.spec index e842eb0..197886d 100644 --- a/rttr.spec +++ b/rttr.spec @@ -58,7 +58,12 @@ library itself, which is written in C++. %patch3 -p1 %patch4 -p1 %patch5 -p1 + +#only apply move elision to gcc versions that support it +%if 0%{?suse_version} < 1500 +%else %patch6 -p1 +%endif %build find . -type f -exec chmod a-x "{}" +