Accepting request 78153 from graphics

- Do not use -fno-strict-aliasing, no longer needed 
  and will probably slow down the code.
- Fix self-obsoletion warning (forwarded request 78152 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/78153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tiff?expand=0&rev=31
This commit is contained in:
Sascha Peilicke 2011-08-06 17:11:56 +00:00 committed by Git OBS Bridge
commit d42b47eceb
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 5 21:09:33 UTC 2011 - crrodriguez@opensuse.org
- Do not use -fno-strict-aliasing, no longer needed
and will probably slow down the code.
- Fix self-obsoletion warning
-------------------------------------------------------------------
Thu Apr 14 14:02:12 CEST 2011 - pgajdos@suse.cz

View File

@ -57,7 +57,7 @@ License: PERMISSIVE-OSI-COMPLIANT ; MIT License (or similar)
Summary: The Tiff Library (with JPEG and compression support)
Group: System/Libraries
Provides: libtiff = %{version}
Obsoletes: libtiff <= %{version}
Obsoletes: libtiff < %{version}
AutoReqProv: on
# bug437293
%ifarch ppc64
@ -105,8 +105,7 @@ find -type d | xargs chmod 755
%build
rm m4/ltversion.m4 m4/ltsugar.m4 m4/ltoptions.m4 m4/libtool.m4
autoreconf --force --install -v
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fstack-protector" \
./configure --prefix=/usr --mandir=%{_mandir} --libdir=%{_libdir} --disable-static
%configure --disable-static --with-pic
make %{?_smp_mflags}
%install