rpms/mathgl/EL-5 mathgl.spec,1.3,1.4

mycae mycae at fedoraproject.org
Thu Oct 15 12:25:08 UTC 2009


Author: mycae

Update of /cvs/pkgs/rpms/mathgl/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18529

Modified Files:
	mathgl.spec 
Log Message:
* Fix x86_64 build by using libdir macro



Index: mathgl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mathgl/EL-5/mathgl.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- mathgl.spec	11 Oct 2009 14:50:03 -0000	1.3
+++ mathgl.spec	15 Oct 2009 12:25:07 -0000	1.4
@@ -1,7 +1,7 @@
 %{!?octave_api:%global octave_api %(octave-config -p API_VERSION || echo 0)}
 Name: mathgl
 Version: 1.9
-Release: 7%{?dist}
+Release: 8%{?dist}
 Summary: Cross-platform library for making high-quality scientific graphics
 Summary(ru): MathGL - это библиотека для осуществления высококачественной визуализации данных
 License: GPLv2+
@@ -98,14 +98,14 @@ autoreconf
 
 
 %build
-QMAKE=/usr/lib/qt4/bin/qmake
-LUPDATE=/usr/lib/qt4/bin/lupdate
-LRELEASE=/usr/lib/qt4/bin/lrelease
-PATH=$PATH:/usr/lib/qt4/bin/
+QMAKE=%{_libdir}/qt4/bin/qmake
+LUPDATE=%{_libdir}/qt4/bin/lupdate
+LRELEASE=%{_libdir}/qt4/bin/lrelease
+PATH=$PATH:%{_libdir}/qt4/bin/
 
 %configure	--disable-static \
 		--enable-shared \
-		--enable-all --disable-rpath --with-qt=/usr/lib/qt4/
+		--enable-all --disable-rpath --with-qt=%{_libdir}/qt4/
 
 #Force strip rpath
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -214,6 +214,9 @@ rm -rf $RPM_BUILD_ROOT
 #%doc texinfo/docs/*
 #
 %changelog
+* Mon Oct 12 2009 <mycae(a!t)yahoo.com> 1.9-8
+- Fixed x86_64 QT paths
+
 * Mon Oct 12 2009 <mycae(a!t)yahoo.com> 1.9-7
 - Fixed EPEL 5 build by disabling octave (swig too old) and texi generation
 




More information about the fedora-extras-commits mailing list