From 70bfeca03914f3c4f9755b07cdb9863dc5a01498 Mon Sep 17 00:00:00 2001 From: Ingvar Hagelund Date: Fri, 15 Aug 2014 13:34:18 +0200 Subject: [PATCH] bz #1106933 fix only for fedora 21 and above --- jemalloc.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jemalloc.spec b/jemalloc.spec index 59564d1..1a7fb10 100644 --- a/jemalloc.spec +++ b/jemalloc.spec @@ -1,7 +1,7 @@ Name: jemalloc Version: 3.6.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: General-purpose scalable concurrent malloc implementation Group: System Environment/Libraries @@ -47,8 +47,10 @@ developing applications that use %{name}. %build %ifarch i686 +%if 0%{?fedora} >= 21 CFLAGS="%{optflags} -msse2" %endif +%endif %configure make %{?_smp_mflags} @@ -94,6 +96,9 @@ rm -rf %{buildroot} %postun -p /sbin/ldconfig %changelog +* Fri Aug 15 2014 Ingvar Hagelund - 3.6.0-6 +- bz #1106933 fix only for fedora 21 and above + * Fri Aug 15 2014 Ingvar Hagelund - 3.6.0-5 - Added valgrind-devel to BuildRequires, fixing bz #974270