From 77a346acc24ee3f4148633526eb0e594142ae8aa Mon Sep 17 00:00:00 2001 From: Rich Mattes Date: Sun, 21 Feb 2016 12:57:59 -0500 Subject: [PATCH] Only apply cpp11 patch for f24 and higher --- libfreenect.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libfreenect.spec b/libfreenect.spec index e7ce8bc..af68f63 100644 --- a/libfreenect.spec +++ b/libfreenect.spec @@ -108,7 +108,9 @@ rm -rf platform/windows %patch3 -p0 -b .libdir %patch4 -p1 -b .secarch %patch5 -p0 -b .noabort +%if 0%{fedora} > 23 %patch6 -p0 -b .cpp11 +%endif %build mkdir build