diff --git a/libgeotiff.spec b/libgeotiff.spec index 51bbec1..8145712 100644 --- a/libgeotiff.spec +++ b/libgeotiff.spec @@ -1,6 +1,6 @@ Name: libgeotiff Version: 1.2.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GeoTIFF format library Group: System Environment/Libraries License: MIT @@ -57,6 +57,9 @@ find . -name ".cvsignore" -exec rm -rf '{}' \; # disable -g flag removal sed -i 's| \| sed \"s\/-g \/\/\"||g' configure +# use gcc -shared instead of ld -shared to build with -fstack-protector +sed -i 's|LD_SHARED=@LD_SHARED@|LD_SHARED=@CC@ -shared|' Makefile.in + %configure \ --prefix=%{_prefix} \ --includedir=%{_includedir}/%{name}/ \ @@ -130,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/%{name}.pc %changelog +* Wed Apr 22 2009 Milos Jakubicek - 1.2.5-4 +- Fix FTBFS: use gcc -shared instead of ld -shared to compile with -fstack-protector + * Wed Feb 25 2009 Fedora Release Engineering - 1.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild