Dominique Leuenberger 2018-03-29 09:51:20 +00:00 committed by Git OBS Bridge
commit 7c36749b75
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 22 19:07:35 UTC 2018 - jengelh@inai.de
- Abolish %__ type macro indirections.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 19 15:56:16 UTC 2018 - schwab@suse.de Mon Mar 19 15:56:16 UTC 2018 - schwab@suse.de

View File

@ -33,7 +33,7 @@ BuildRequires: zlib-devel
%description %description
pngquant is a command-line utility and a library for lossy compression of PNG images. pngquant is a command-line utility and a library for lossy compression of PNG images.
The conversion reduces file sizes significantly (often as much as 70%) and The conversion reduces file sizes significantly (often as much as 70%%) and
preserves full alpha transparency. Generated images are compatible with all preserves full alpha transparency. Generated images are compatible with all
modern web browsers, and have better fallback in IE6 than 24-bit PNGs. modern web browsers, and have better fallback in IE6 than 24-bit PNGs.
@ -41,6 +41,7 @@ modern web browsers, and have better fallback in IE6 than 24-bit PNGs.
%setup -q %setup -q
%build %build
# not autoconf
./configure \ ./configure \
--prefix=%prefix \ --prefix=%prefix \
%ifarch x86_64 %ifarch x86_64
@ -50,11 +51,10 @@ modern web browsers, and have better fallback in IE6 than 24-bit PNGs.
%endif %endif
--extra-cflags='%{optflags}' \ --extra-cflags='%{optflags}' \
--with-openmp --with-openmp
make %{?_smp_mflags}
%__make %{?_smp_mflags}
%install %install
%__mkdir -p %buildroot%_bindir mkdir -p %buildroot/%_bindir
install --mode 0755 %name %buildroot%_bindir install --mode 0755 %name %buildroot%_bindir
%files %files