mirror of
https://abf.rosa.ru/djam/boost.git
synced 2025-04-11 08:44:17 +00:00
bot: rpm5 -> rpm4 (10) [rosa2019.05]
(10) rosa2019.05: %py_ -> %py2_, %{py_ -> %{py2_ (9): Adopt spec for enabled byte compiling in Python These automatic changes are done by scripts *rpm5-to-rpm4.sh at https://gitlab.com/abf-mirror/abf-mirror-scripts The goal is to adopt specs for RPM 4 to which ROSA 2019.1 has migrated from RPM 5, but keep compatibility with RPM 5. Details about migration are here: https://wiki.rosalab.ru/ru/index.php/Переход_ROSA_с_RPM_5_на_RPM_4 Contact m.novosyolov@rosalinux.ru in case of problems
This commit is contained in:
parent
f904b334e1
commit
8179a17466
1 changed files with 4 additions and 5 deletions
|
@ -864,9 +864,9 @@ find libs -type f \( -name "*.?pp" ! -path "*test*" ! -path "*src*" ! -path "*to
|
|||
cat > ./tools/build/src/user-config.jam << EOF
|
||||
using gcc : %{gcc_ver} : gcc : <cflags>"%{optflags}" <cxxflags>"%{optflags}" <linkflags>"%{ldflags}" ;
|
||||
using python : %{py3_ver} : %{_bindir}/python%{py3_ver} : %{_includedir}/python%{py3_ver}m : %{_libdir} : : : ;
|
||||
using python : %{py_ver} : %{_bindir}/python%{py_ver} : %{_includedir}/python%{py_ver} : %{_libdir} : : : ;
|
||||
using python : %{py2_ver} : %{_bindir}/python%{py2_ver} : %{_includedir}/python%{py2_ver} : %{_libdir} : : : ;
|
||||
EOF
|
||||
./bootstrap.sh --with-toolset=gcc --with-icu --prefix=%{_prefix} --libdir=%{_libdir} --with-python=%{py_ver}
|
||||
./bootstrap.sh --with-toolset=gcc --with-icu --prefix=%{_prefix} --libdir=%{_libdir} --with-python=%{py2_ver}
|
||||
./b2 -d+2 -q %{?_smp_mflags} --without-mpi \
|
||||
--prefix=%{_prefix} --libdir=%{_libdir} \
|
||||
%if !%{with context}
|
||||
|
@ -874,7 +874,7 @@ EOF
|
|||
%endif
|
||||
linkflags="%{ldflags} -lstdc++ -lm" \
|
||||
-sHAVE_ICU=1 \
|
||||
python=%{py_ver} \
|
||||
python=%{py2_ver} \
|
||||
link=shared threading=multi debug-symbols=off --layout=system
|
||||
|
||||
# Taken from the Fedora .src.rpm.
|
||||
|
@ -889,7 +889,7 @@ echo ============================= build Boost.Build ==================
|
|||
--without-context --without-coroutine \
|
||||
%endif
|
||||
link=shared \
|
||||
python=%{py_ver} \
|
||||
python=%{py2_ver} \
|
||||
install
|
||||
|
||||
echo ============================= install Boost.Build ==================
|
||||
|
@ -907,4 +907,3 @@ echo ============================= install Boost.Build ==================
|
|||
)
|
||||
rm -f %{buildroot}/%{_bindir}/bjam
|
||||
rm -f %{buildroot}/%{_mandir}/man1/bjam.1*
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue