[OpenEXR_Viewers] - Fix CTL Module search path on lib64 - Fix OpenEXR_CTL detection at build time.

Nicolas Chauvet kwizart at fedoraproject.org
Sun Sep 5 21:27:33 UTC 2010


commit 286ac4af3f380236757c2a04a34d6246f8a718f1
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Sun Sep 5 23:28:35 2010 +0200

    - Fix CTL Module search path on lib64
    - Fix OpenEXR_CTL detection at build time.

 OpenEXR_Viewers.spec |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/OpenEXR_Viewers.spec b/OpenEXR_Viewers.spec
index db4a8aa..7648c0f 100644
--- a/OpenEXR_Viewers.spec
+++ b/OpenEXR_Viewers.spec
@@ -12,15 +12,19 @@
 
 Name:           %{real_name}
 Version:        1.0.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Viewers programs for OpenEXR
 
 Group:          Applications/Multimedia
 License:        AMPAS BSD
 URL:            http://www.openexr.com
 Source0:        http://download.savannah.nongnu.org/releases/openexr/openexr_viewers-%{version}.tar.gz
+Patch0:         openexr_viewers-1.0.1-gcc43.patch
+Patch1:         openexr_viewers-1.0.1-gcc44.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+BuildRequires:  libtool
+
 BuildRequires:  OpenEXR_CTL-devel
 BuildRequires:  OpenEXR_CTL
 BuildRequires:  fltk-devel
@@ -64,6 +68,14 @@ This package contains documentation files for %{name}.
 
 %prep
 %setup -q -n openexr_viewers-%{version}
+%patch0 -p1 -b .gcc43
+%patch1 -p1 -b .gcc44
+
+%if %{_lib} == lib64
+sed -i -e 's|ACTUAL_PREFIX/lib/CTL|ACTUAL_PREFIX/lib64/CTL|' configure.ac
+%endif
+#Needed to update CTL compiler test
+autoreconf -vif
 
 
 %build
@@ -122,6 +134,10 @@ fi
 %endif
 
 %changelog
+* Sun Sep 05 2010 Nicolas Chauvet <kwizart at gmail.com> - 1.0.2-2
+- Fix CTL Module search path on lib64
+- Fix OpenEXR_CTL detection at build time.
+
 * Mon Aug 23 2010 Nicolas Chauvet <kwizart at gmail.com> - 1.0.2-1
 - Update to 1.0.2
 


More information about the scm-commits mailing list