[xloadimage] fix libtiff BR to be conditional
Tom Callaway
spot at fedoraproject.org
Tue Nov 27 22:02:42 UTC 2012
commit 572e51f499f13875536967bde030702d8f9d0879
Author: Tom Callaway <spot at fedoraproject.org>
Date: Tue Nov 27 17:04:36 2012 -0500
fix libtiff BR to be conditional
xloadimage.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/xloadimage.spec b/xloadimage.spec
index 93c6c29..4a3f60c 100644
--- a/xloadimage.spec
+++ b/xloadimage.spec
@@ -32,7 +32,12 @@ Patch21: xloadimage-4.1-png-pkg-config.patch
Patch22: xloadimage-4.1-libtiff4.patch
Patch23: xloadimage-4.1-png-1.5.patch
URL: http://www.frostbytes.com/~jimf/xloadimage.html
-BuildRequires: libX11-devel, libtiff-devel >= 4.0, libpng-devel, libjpeg-devel
+%if 0%{?fedora} >= 18
+BuildRequires: libtiff-devel >= 4.0
+%else
+BuildRequires: libtiff-devel
+%endif
+BuildRequires: libX11-devel, libpng-devel, libjpeg-devel
BuildRequires: libICE-devel
%description
More information about the scm-commits
mailing list