diff --git a/mathgl.spec b/mathgl.spec index ee3002b..a81424c 100644 --- a/mathgl.spec +++ b/mathgl.spec @@ -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 1.9-8 +- Fixed x86_64 QT paths + * Mon Oct 12 2009 1.9-7 - Fixed EPEL 5 build by disabling octave (swig too old) and texi generation