From feef25fc48832a6817c21a0dddf975f38222fac55bdddd901466807764a5e592 Mon Sep 17 00:00:00 2001 From: Daniel Weatherill Date: Wed, 26 Jun 2019 00:39:23 +0000 Subject: [PATCH] Accepting request 711746 from home:luca_b:rttrfix Change if condition for elision patch as outlined in Tumbleweed review OBS-URL: https://build.opensuse.org/request/show/711746 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/rttr?expand=0&rev=11 --- rttr.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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