From 3aa4209e257fc93b506f3131b8a998b9a4d99c3c Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 30 Jul 2012 17:34:54 -0400 Subject: [PATCH] Disable openmp patch in RHEL for the moment --- pixman.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pixman.spec b/pixman.spec index e0b286d..579c669 100644 --- a/pixman.spec +++ b/pixman.spec @@ -3,7 +3,7 @@ Name: pixman Version: 0.26.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Pixel manipulation library Group: System Environment/Libraries @@ -34,13 +34,15 @@ Development library for pixman. %prep %setup -q +%if !0%{?rhel} %patch1 -p1 -b .openmp +%endif %build autoreconf -vif -%configure --disable-static +%configure --disable-static %{?rhel:--disable-openmp} -make %{?_smp_mflags} V=1 CFLAGS="$CFLAGS -fopenmp -fno-strict-aliasing" LDFLAGS="$LDFLAGS -fopenmp" +make %{?_smp_mflags} V=1 CFLAGS="$CFLAGS -fno-strict-aliasing" %install make install DESTDIR=$RPM_BUILD_ROOT @@ -62,6 +64,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_libdir}/pkgconfig/pixman-1.pc %changelog +* Mon Jul 30 2012 Adam Jackson 0.26.2-4 +- Disable openmp patch in RHEL for the moment + * Sat Jul 21 2012 Fedora Release Engineering - 0.26.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild