]> git.pld-linux.org Git - packages/boost.git/blobdiff - boost.spec
- make sure python module is actually rebuilt every time, not just relinked
[packages/boost.git] / boost.spec
index 93bf71ee90a54ffd95b8707c08bfe368a397891f..c99bfd9e8d8452b3c163b8e330dccaf7ea2ae4db 100644 (file)
@@ -13,7 +13,7 @@ Summary:      The Boost C++ Libraries
 Summary(pl.UTF-8):     Biblioteki C++ "Boost"
 Name:          boost
 Version:       1.57.0
-Release:       1
+Release:       5
 License:       Boost Software License and others
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/boost/%{name}_%{fver}.tar.bz2
@@ -233,7 +233,7 @@ Summary(pl.UTF-8):  Biblioteka developerska Boost.Python
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Requires:      %{name}-python3 = %{version}-%{release}
-Requires:      %{name}-python-devel-coomon = %{version}-%{release}
+Requires:      %{name}-python-devel-common = %{version}-%{release}
 
 %description python3-devel
 Boost.Python development library.
@@ -508,12 +508,11 @@ ICU_PATH=%{_prefix} \
        link=static,shared \
        threading=multi
 
-
-%if %{with python2}
-echo "using python : %{py_ver} : %{py_prefix} : %{py_incdir} ;" >> project-config.jam
+%if %{with python3}
+echo "using python : %{py3_ver}m : %{py3_prefix} : %{py3_incdir} ;" >> project-config.jam
 ./b2 \
-       --with-python python=%{py_ver} \
-       -d2 --toolset=gcc \
+       --with-python python=%{py3_ver}m \
+       -a -d2 --toolset=gcc \
        variant=release \
        debug-symbols=on \
        inlining=on \
@@ -521,11 +520,11 @@ echo "using python : %{py_ver} : %{py_prefix} : %{py_incdir} ;" >> project-confi
        threading=multi
 %endif
 
-%if %{with python3}
-echo "using python : %{py3_ver}m : %{py3_prefix} : %{py3_incdir} ;" >> project-config.jam
+%if %{with python2}
+echo "using python : %{py_ver} : %{py_prefix} : %{py_incdir} ;" >> project-config.jam
 ./b2 \
-       --with-python python=%{py3_ver}m \
-       -d2 --toolset=gcc \
+       --with-python python=%{py_ver} \
+       -a -d2 --toolset=gcc \
        variant=release \
        debug-symbols=on \
        inlining=on \
This page took 0.025746 seconds and 4 git commands to generate.