[zziplib] Rebuild with -fno-strict-aliasing

Jindrich Novy jnovy at fedoraproject.org
Wed Jan 30 18:58:17 UTC 2013


commit 0622c7741b6295d7a583f3fd10ee990e238bc9c7
Author: Jindrich Novy <jnovy at redhat.com>
Date:   Wed Jan 30 19:58:05 2013 +0100

    Rebuild with -fno-strict-aliasing

 zziplib.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/zziplib.spec b/zziplib.spec
index 1d59bca..34b5d39 100644
--- a/zziplib.spec
+++ b/zziplib.spec
@@ -1,7 +1,7 @@
 Summary: Lightweight library to easily extract data from zip files
 Name: zziplib
 Version: 0.13.62
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+ or MPLv1.1
 Group: Applications/Archiving
 URL: http://zziplib.sourceforge.net/
@@ -63,6 +63,7 @@ zziplib library.
 cp -a zzip/_config.h _config.h
 
 %build
+export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 %configure \
     --disable-static \
     --enable-sdl \
@@ -99,6 +100,9 @@ install -p -m 0644 _config.h %{buildroot}%{_includedir}/zzip/_config.h
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jan 30 2013 Jindrich Novy <jnovy at redhat.com> 0.13.62-2
+- rebuild with -fno-strict-aliasing
+
 * Wed Oct 10 2012 Matthias Saou <matthias at saou.eu> 0.13.62-1
 - Update to 0.13.62.
 - Remove no longer needed -Wl patch.


More information about the scm-commits mailing list