Compare commits

..

5 commits

Author SHA1 Message Date
Benjamin A. Beasley
d91f39c1bb Security fix for CVE-2010-1028
- Various other fixes collected by Debian and contributed back upstream
  to the sfnt2woff-zopfli fork:
  https://github.com/bramstein/sfnt2woff-zopfli/pull/20
2025-05-11 08:18:05 -04:00
Benjamin A. Beasley
63ec555255 Extract the license notice and install it in its own file 2025-05-11 08:17:43 -04:00
Benjamin A. Beasley
9f5cc723b9 Add missing license texts 2025-05-11 08:17:39 -04:00
Benjamin A. Beasley
b97a4497a8 Update .rpmlintrc file for current rpmlint 2025-05-11 08:15:56 -04:00
Benjamin A. Beasley
54db411aca Link sfnt2woff-zopfli PR for double-free patch 2025-05-11 08:15:46 -04:00

View file

@ -57,9 +57,6 @@ 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
@ -74,6 +71,7 @@ decoding Web Open Font Format (WOFF) files.
%build
%set_build_flags
%make_build CFLAGS="${CFLAGS}"
awk '
/BEGIN LICENSE BLOCK/ { b = 1 }
@ -84,10 +82,10 @@ awk '
%install
# The Makefile has no install target.
install -D --preserve-timestamps \
--target='%{buildroot}%{_bindir}' sfnt2woff woff2sfnt
install -D --preserve-timestamps --mode=0644 \
--target='%{buildroot}%{_mandir}/man1' '%{SOURCE1}' '%{SOURCE2}'
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}'
# Upstream provides no tests