[stdair/el5: 1/2] StdAir now uses Boost-1.41 and Python-2.6 on EPEL 4 and 5.

Denis Arnaud denisarnaud at fedoraproject.org
Sun Dec 18 00:33:50 UTC 2011


commit c04c2ccfb9b373b17fdbb27eebf653ecf662c334
Author: Denis Arnaud <denis.arnaud_fedora at m4x.org>
Date:   Sun Dec 18 01:31:29 2011 +0100

    StdAir now uses Boost-1.41 and Python-2.6 on EPEL 4 and 5.

 stdair.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/stdair.spec b/stdair.spec
index 62def54..479900c 100644
--- a/stdair.spec
+++ b/stdair.spec
@@ -3,7 +3,7 @@
 #
 Name:           stdair
 Version:        0.45.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 
 Summary:        C++ Standard Airline IT Object Library
 
@@ -13,8 +13,8 @@ URL:            http://%{name}.sourceforge.net
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
 BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
-BuildRequires:  cmake, python-devel
-BuildRequires:  boost-devel, soci-mysql-devel, zeromq-devel, readline-devel
+BuildRequires:  cmake, python26-devel
+BuildRequires:  boost141-devel, soci-mysql-devel, zeromq-devel, readline-devel
 
 
 %description
@@ -63,7 +63,9 @@ online (http://%{name}.org).
 %build
 mkdir -p build
 pushd build
-%cmake ..
+%cmake -DBOOST_LIBRARYDIR=%{_libdir}/boost141 \
+ -DBOOST_INCLUDEDIR=%{_includedir}/boost141 \
+ -DBoost_ADDITIONAL_VERSIONS="1.41 1.41.0" ..
 make %{?_smp_mflags}
 popd
 
@@ -131,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Dec 17 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.45.0-2
+- StdAir now uses Boost-1.41 and Python-2.6 on EPEL 4 and 5
+
 * Sun Dec 04 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.45.0-1
 - Upstream update
 


More information about the scm-commits mailing list