[python-imaging] Build with -fno-strict-aliasing option. Properly comment-out rpm macro

Roman Rakus rrakus at fedoraproject.org
Fri Nov 30 15:01:45 UTC 2012


commit 5b5f5cf4ec50a13c7973464a4a45497aff52b4f2
Author: Roman Rakus <rrakus at redhat.com>
Date:   Fri Nov 30 15:44:51 2012 +0100

    Build with -fno-strict-aliasing option. Properly comment-out rpm macro
    
    Resolves: #881240
    
    Signed-off-by: Roman Rakus <rrakus at redhat.com>

 python-imaging.spec |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/python-imaging.spec b/python-imaging.spec
index e5e4750..9654fa1 100644
--- a/python-imaging.spec
+++ b/python-imaging.spec
@@ -5,7 +5,7 @@
 Summary:       Python's own image processing library
 Name:          python-imaging
 Version:       1.1.7
-Release:       7%{?dist}
+Release:       8%{?dist}
 
 License:       MIT
 Group:         System Environment/Libraries
@@ -95,11 +95,11 @@ done
 #   CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" \
 #%endif
 
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{__python} setup.py build
 
 %ifnarch s390 s390x
 pushd Sane
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{__python} setup.py build
 popd
 %endif
 
@@ -116,7 +116,7 @@ popd
 %endif
 
 # There is no need to ship the binaries since they are already packaged
-# in %doc
+# in %%doc
 rm -rf $RPM_BUILD_ROOT%{_bindir}
 
 # Separate files that need Tk and files that don't
@@ -173,6 +173,12 @@ rm -rf $RPM_BUILD_ROOT
 %files tk -f files.tk
 
 %changelog
+* Fri Nov 30 2012 Roman Rakus <rrakus at redhat.com> - 1.1.7-8
+- Build with -fno-strict-aliasing option
+- Properly comment-out rpm macro
+  Resolves: #881240
+
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.7-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list