[packages/ImageMagick] - fix QuantumDepth macro usage - rel 4

baggins baggins at pld-linux.org
Sun Sep 14 15:32:19 CEST 2014


commit 98b61c460a11788940f70b0e1b33e2e4b1faecb0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Sep 14 15:32:04 2014 +0200

    - fix QuantumDepth macro usage
    - rel 4

 ImageMagick.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/ImageMagick.spec b/ImageMagick.spec
index 2dc837c..45fe87f 100644
--- a/ImageMagick.spec
+++ b/ImageMagick.spec
@@ -32,7 +32,7 @@ Summary(tr.UTF-8):	X altında resim gösterme, çevirme ve değişiklik yapma
 Summary(uk.UTF-8):	Перегляд, конвертування та обробка зображень під X Window
 Name:		ImageMagick
 Version:	%{ver}%{?pver:.%{pver}}
-Release:	3
+Release:	4
 Epoch:		1
 License:	Apache-like
 Group:		X11/Applications/Graphics
@@ -94,7 +94,9 @@ Obsoletes:	ImageMagick-coder-dps
 Obsoletes:	ImageMagick-coder-mpeg
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%{!?QuantumDepth:	%define		QuantumDepth	16}
+%if %{!?QuantumDepth:0}%{?QuantumDepth:1}
+%define		QuantumDepth	16
+%endif
 %define		abisuf		Q%{QuantumDepth}%{?with_hdri:HDRI}
 %define		modulesdir	%{_libdir}/ImageMagick-%{ver}/modules-%{abisuf}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ImageMagick.git/commitdiff/98b61c460a11788940f70b0e1b33e2e4b1faecb0



More information about the pld-cvs-commit mailing list