diff --git a/woff.spec b/woff.spec index f2aa022..0cde48f 100644 --- a/woff.spec +++ b/woff.spec @@ -57,6 +57,9 @@ Patch: https://sources.debian.org/data/main/w/woff-tools/0%3A2009.10.04 # - fix some compiler and cppcheck warnings Patch: https://sources.debian.org/data/main/w/woff-tools/0%3A2009.10.04-2/debian/patches/fix-compiler-and-cppcheck-warnings.patch +# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} + BuildRequires: make BuildRequires: gcc @@ -71,7 +74,6 @@ decoding Web Open Font Format (WOFF) files. %build -%set_build_flags %make_build CFLAGS="${CFLAGS}" awk ' /BEGIN LICENSE BLOCK/ { b = 1 } @@ -82,10 +84,10 @@ awk ' %install # The Makefile has no install target. -install -d '%{buildroot}%{_bindir}' -install -t '%{buildroot}%{_bindir}' -p sfnt2woff woff2sfnt -install -d '%{buildroot}%{_mandir}/man1' -install -t '%{buildroot}%{_mandir}/man1' -p -m 0644 '%{SOURCE1}' '%{SOURCE2}' +install -D --preserve-timestamps \ + --target='%{buildroot}%{_bindir}' sfnt2woff woff2sfnt +install -D --preserve-timestamps --mode=0644 \ + --target='%{buildroot}%{_mandir}/man1' '%{SOURCE1}' '%{SOURCE2}' # Upstream provides no tests