Browse Source

upgrading package: boost 1.70.0 -> 1.72.0

master
parent
commit
b1fd4a7c7e
  1. 14
      boost/boost.spec

14
boost/boost.spec

@ -22,8 +22,8 @@
## ##
# package version # package version
%define V_openpkg 1.70.0 %define V_openpkg 1.72.0
%define V_dist 1_70_0 %define V_dist 1_72_0
# package information # package information
Name: boost Name: boost
@ -36,7 +36,7 @@ Class: PLUS
Group: Language Group: Language
License: Boost Software License License: Boost Software License
Version: %{V_openpkg} Version: %{V_openpkg}
Release: 20190413 Release: 20191212
# package options # package options
%option with_threads yes %option with_threads yes
@ -92,7 +92,7 @@ PreReq: bzip2
export CXX="%{l_cxx}" export CXX="%{l_cxx}"
export CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated-declarations" export CXXFLAGS="%{l_cxxflags -O} -Wno-deprecated-declarations"
# bootstrap bjam(1), the boost build system # bootstrap b2(1), the boost build system
./bootstrap.sh \ ./bootstrap.sh \
--prefix=%{l_prefix} \ --prefix=%{l_prefix} \
--exec-prefix=%{l_prefix} \ --exec-prefix=%{l_prefix} \
@ -103,7 +103,7 @@ PreReq: bzip2
%{l_shtool} mkdir -p obj %{l_shtool} mkdir -p obj
# configure build options for bjam(1) -sBUILD parameter # configure build options for b2(1) -sBUILD parameter
debugopts="release" debugopts="release"
optimizeopts="<optimization>off" optimizeopts="<optimization>off"
threadopts="<threading>single" threadopts="<threading>single"
@ -140,7 +140,7 @@ PreReq: bzip2
link=static stage link=static stage
%install %install
./bjam --toolset=gcc --layout=system --prefix=$RPM_BUILD_ROOT%{l_prefix} \ ./b2 --toolset=gcc --layout=system --prefix=$RPM_BUILD_ROOT%{l_prefix} \
%if "%{with_zlib}" == "yes" %if "%{with_zlib}" == "yes"
"-sNO_COMPRESSION=0" "-sZLIB_INCLUDE=%{l_prefix}/include" "-sZLIB_LIBPATH=%{l_prefix}/lib" \ "-sNO_COMPRESSION=0" "-sZLIB_INCLUDE=%{l_prefix}/include" "-sZLIB_LIBPATH=%{l_prefix}/lib" \
%else %else
@ -160,7 +160,7 @@ PreReq: bzip2
%{l_shtool} mkdir -f -p -m 755 \ %{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin $RPM_BUILD_ROOT%{l_prefix}/bin
%{l_shtool} install -c -m 755 \ %{l_shtool} install -c -m 755 \
bjam $RPM_BUILD_ROOT%{l_prefix}/bin/ b2 $RPM_BUILD_ROOT%{l_prefix}/bin/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files %files -f files

Loading…
Cancel
Save