Petr Gajdos 2014-03-17 08:02:08 +00:00 committed by Git OBS Bridge
parent 8cf3b71501
commit 9ea1309d4c

View File

@ -29,7 +29,7 @@ Source1: http://downloads.sourceforge.net/%{name}/%{name}_htdocs-%{src_ve
# PATCH-FIX-OPENSUSE -- set path to documentation
Patch0: fontforge-docdir.patch
Patch1: fontforge-fdleak.patch
# workaround, this should be resolved upstream (use pkg-config)
# workaround, this should be resolved upstream (use pkg-config) bnc#867041
Patch2: fontforge-libpng.diff
# PATCH-FIX-OPENSUSE fontforge-python-module-name.diff -- change python module name according to naming policy
Patch3: fontforge-python-module-name.diff
@ -115,7 +115,7 @@ find . -name CVS -type d | xargs rm -rf
sed -i 's/\r$//' docs/{Big5.txt,corpchar.txt}
%build
# workaround, this should be resolved upstream (use pkg-config)
# workaround, this should be resolved upstream (use pkg-config) bnc#867041
pkg-config --exists 'libpng >= 1.7.0' && echo 'Libpng was updated to 1.7, fontforge-libpng.patch will probably need to be adapted.' && exit 1
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure \