From b1777fa131581085f2ad24363ecfd3e89e75b371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Sat, 19 Dec 2015 04:54:45 +0000 Subject: [PATCH] Disable pngquant debug (#1291885) --- pngquant.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pngquant.spec b/pngquant.spec index a075147..d1d2a5e 100644 --- a/pngquant.spec +++ b/pngquant.spec @@ -2,7 +2,7 @@ Name: pngquant Version: 2.5.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: PNG quantization tool for reducing image file size %{?el5:Group: Applications/Multimedia} @@ -63,10 +63,13 @@ rm lib/configure %build -# this configure export compiler-flags properly -%configure || : +# export flags like macro configure do +# and don't use macro configure because fails in configure. +CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS +CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS +FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS -./configure --prefix=%{_prefix} --enable-debug \ +./configure --prefix=%{_prefix} make %{?_smp_mflags} PREFIX=%{_prefix} @@ -123,6 +126,9 @@ install -Dpm0644 pngquant.1 %{buildroot}/%{_mandir}/man1/pngquant.1 %changelog +* Sat Dec 19 2015 Sérgio Basto - 2.5.2-2 +- Disable pngquant debug (#1291885) + * Thu Nov 26 2015 Fedora Release Monitoring - 2.5.2-1 - Update to 2.5.2 (#1285589)