diff --git a/optipng.spec b/optipng.spec index ba4e8df..2fe1777 100644 --- a/optipng.spec +++ b/optipng.spec @@ -1,15 +1,11 @@ Name: optipng -Version: 0.7.6 -Release: 9%{?dist} +Version: 0.7.7 +Release: 1%{?dist} Summary: PNG optimizer and converter License: zlib URL: http://optipng.sourceforge.net/ Source0: http://downloads.sourceforge.net/optipng/%{name}-%{version}.tar.gz -# https://sourceforge.net/p/optipng/bugs/65/ -Patch0: 0001-Prevent-integer-overflow-bug-65-CVE-2017-1000229.patch -# https://sourceforge.net/p/optipng/bugs/69/ -Patch1: optipng-076-sfbug-69.patch BuildRequires: gcc BuildRequires: zlib-devel libpng-devel @@ -26,8 +22,6 @@ and corrections. for f in AUTHORS.txt doc/history.txt ; do iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f done -%patch0 -p1 -%patch1 -p1 # Ensure system libs and headers are used; as of 0.6.3 pngxtern will use # the bundled headers if present even with -with-system-*, causing failures. @@ -59,7 +53,9 @@ make test CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %changelog -* Sat Jul 14 2018 Peter Hanecak - 0.7.6-9 +* Sat Jul 14 2018 Peter Hanecak - 0.7.7-1 +- Update to 0.7.7 +- Dropped pathes (both CVEs fixed in 0.7.7) - Added BuildRequires: gcc (https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot)