diff --git a/rttr.spec b/rttr.spec index 197886d..b98b253 100644 --- a/rttr.spec +++ b/rttr.spec @@ -37,7 +37,7 @@ Patch4: fix-include-permissions.patch # PATCH-FIX-UPSTREAM lp64.patch Support all LP64 architectures (https://github.com/rttrorg/rttr/pull/231) Patch5: lp64.patch #PATCH-FIX-UPSTREAM remove_pessimizing_moves.patch remove pessimizing move calls (https://github.com/rttrorg/rttr/pull/243) -Patch6: remove_pessimizing_moves.patch +Patch6: remove_pessimizing_moves.patch BuildRequires: cmake BuildRequires: dos2unix BuildRequires: doxygen @@ -60,8 +60,7 @@ library itself, which is written in C++. %patch5 -p1 #only apply move elision to gcc versions that support it -%if 0%{?suse_version} < 1500 -%else +%if 0%{?suse_version} >= 1500 %patch6 -p1 %endif