Hello community, here is the log from the commit of package boost for openSUSE:Factory checked in at 2014-04-06 07:10:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/boost (Old) and /work/SRC/openSUSE:Factory/.boost.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "boost" Changes: -------- --- /work/SRC/openSUSE:Factory/boost/boost.changes 2014-03-04 13:14:07.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.boost.new/boost.changes 2014-04-06 07:10:14.000000000 +0200 @@ -1,0 +2,22 @@ +Tue Apr 1 08:20:21 UTC 2014 - coolo@suse.com + +- buildignore python, python-base is enough + +------------------------------------------------------------------- +Tue Mar 11 12:04:13 UTC 2014 - Rene.vanPaassen@gmail.com + +- further improved the use of supplied b2 / bootstrap.sh, + include user-config.jam, and remove superfluous python + and gcc instructions from user-config.jam + +------------------------------------------------------------------- +Mon Mar 10 16:26:29 UTC 2014 - Rene.vanPaassen@gmail.com + +- fix problem with executable .pdf in doc by correcting + permissions after install (%attr with a dir failed on + sled/sles) +- add dependency on zlib-devel and libbz2-devel and use the + supplied bootstrap.sh script in building. This adds + on-the-fly compression to boost-iostreams + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ boost.spec ++++++ --- /var/tmp/diff_new_pack.It13PV/_old 2014-04-06 07:10:16.000000000 +0200 +++ /var/tmp/diff_new_pack.It13PV/_new 2014-04-06 07:10:16.000000000 +0200 @@ -66,7 +66,6 @@ %endif Name: boost -BuildRequires: boost-jam >= 3.1.19 BuildRequires: chrpath BuildRequires: dos2unix BuildRequires: gcc-c++ @@ -75,6 +74,8 @@ BuildRequires: libicu-devel >= 4.4 BuildRequires: python-devel BuildRequires: xorg-x11-devel +#!BuildIgnore: python +BuildRequires: zlib-devel %if %build_mpi BuildRequires: openmpi-devel %endif @@ -83,7 +84,6 @@ BuildRequires: docbook-xsl-stylesheets BuildRequires: doxygen BuildRequires: libxslt-tools -BuildRequires: python-devel BuildRequires: texlive-latex %endif %if 0%suse_version > 1020 @@ -442,7 +442,7 @@ find . -type f -exec chmod u+w {} + # Create shared build instructions -cat > .build <<\EOF +cat << EOF >.build # Now build it J_P=%{jobs} J_G=$(getconf _NPROCESSORS_ONLN) @@ -483,18 +483,21 @@ %endif EOF -cat << EOF >user-config.jam -# Boost.Build Configuration +# Read shared build instructions +. ./.build -# Compiler configuration -using gcc ; +# Set PATH, MANPATH and LD_LIBRARY_PATH for mpi +source /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh -# Python configuration -using python : ${PYTHON_VERSION} : %{_prefix} ; -EOF +# use supplied bootstrap.sh instead of mucking with old bjam +# see also: https://svn.boost.org/trac/boost/ticket/9304 +./bootstrap.sh --with-libraries=all \ + --prefix=%{_prefix} --exec-prefix=%{_bindir} \ + --libdir=%{_libdir} --includedir=%{_includedir} +# add specific wishes in user-config.jam %if %build_docs -cat << EOF >>user-config.jam +cat << EOF >user-config.jam using xsltproc ; using boostbook : /usr/share/xml/docbook/stylesheet/nwalsh/current ; @@ -507,41 +510,32 @@ cat << EOF >>user-config.jam using mpi ; EOF - -cat >> .build <<\EOF -# Set PATH, MANPATH and LD_LIBRARY_PATH -source /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh -EOF %endif -# Read shared build instructions -. ./.build - -%{_bindir}/bjam ${BJAM_CONFIG} ${LONG_DOUBLE_FLAGS} ${LIBRARIES_FLAGS} \ - --user-config=user-config.jam \ - cflags="%{optflags}" cxxflags="%{optflags} -fno-var-tracking" stage || \ - (echo "Not all Boost libraries built properly."; exit 1) +# perform the compilation +./b2 --prefix=%{_prefix} --libdir=%{_libdir} --user-config=./user-config.jam %if %build_docs cd doc -%{_bindir}/bjam ${BJAM_CONFIG} --user-config=../user-config.jam --v2 man +../b2 ${BJAM_CONFIG} --user-config=../user-config.jam --v2 man %endif %install + # Read shared build instructions . ./.build -%{_bindir}/bjam ${BJAM_CONFIG} ${LONG_DOUBLE_FLAGS} ${LIBRARIES_FLAGS} \ - --user-config=user-config.jam \ - --prefix=%{buildroot}%{_prefix} \ - --exec-prefix=$%{buildroot}%{_prefix} \ - --libdir=%{buildroot}%{_libdir} \ - --includedir=%{buildroot}%{_includedir} \ - install || echo "Not all Boost libraries built properly." +# Set PATH, MANPATH and LD_LIBRARY_PATH for mpi +source /var/mpi-selector/data/$(rpm --qf "%{NAME}-%{VERSION}" -q openmpi).sh + +./b2 install \ + --prefix=%{buildroot}%{_prefix} --exec-prefix=%{buildroot}%{_bindir} \ + --libdir=%{buildroot}%{_libdir} --includedir=%{buildroot}%{_includedir} \ + --user-config=./user-config.jam # do not install the python module - as long as noone needs it, it requires more fixes # see https://bugzilla.redhat.com/show_bug.cgi?id=801534 for details -rm %{buildroot}%{_libdir}/mpi.so +rm -f %{buildroot}%{_libdir}/mpi.so mkdir -p %{buildroot}%{_docdir} @@ -586,6 +580,7 @@ #cp %%{S:5} %%{buildroot}%%{_docdir} #only for documentation, doesn't need to be executable find %{buildroot}%{_docdir} -name \*.py -exec chmod -x {} + +chmod -x ../%{name}_%{file_version}_pdf/*.pdf rm -f %{buildroot}%{_libdir}/*.a #symlink dupes %if 0%suse_version > 1020 @@ -773,7 +768,7 @@ %files doc-pdf %defattr(-, root, root, -) -%attr(644,root,root) %doc ../%{name}_%{file_version}_pdf/*.pdf +%doc ../%{name}_%{file_version}_pdf/*.pdf %endif %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org