Accepting request 590403 from home:jengelh:branches:graphics

- Abolish %__ type macro indirections.

OBS-URL: https://build.opensuse.org/request/show/590403
OBS-URL: https://build.opensuse.org/package/show/graphics/pngquant?expand=0&rev=9
This commit is contained in:
Ismail Dönmez 2018-03-26 12:04:15 +00:00 committed by Git OBS Bridge
parent b0905f4f5f
commit ea5f8576ae
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

View File

@ -33,7 +33,7 @@ BuildRequires: zlib-devel
%description
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
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
%build
# not autoconf
./configure \
--prefix=%prefix \
%ifarch x86_64
@ -50,11 +51,10 @@ modern web browsers, and have better fallback in IE6 than 24-bit PNGs.
%endif
--extra-cflags='%{optflags}' \
--with-openmp
%__make %{?_smp_mflags}
make %{?_smp_mflags}
%install
%__mkdir -p %buildroot%_bindir
mkdir -p %buildroot/%_bindir
install --mode 0755 %name %buildroot%_bindir
%files