[boost: 1/2] - Build with support for iostreams deprecated functions - Add stuff to .gitignore - Resolves: #65448

Petr Machata pmachata at fedoraproject.org
Wed Dec 8 18:19:33 UTC 2010


commit 80e381340c6db279996424ce8bfcd02881e1a2de
Author: Petr Machata <pmachata at redhat.com>
Date:   Wed Dec 8 19:15:44 2010 +0100

    - Build with support for iostreams deprecated functions
    - Add stuff to .gitignore
    - Resolves: #654480

 .gitignore |    4 ++--
 boost.spec |   10 ++++++++--
 2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e16a1b2..e6761c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,6 @@
 boost*.tar.*
 boost-*.src.rpm
-cmakeify_boost_1440.patch
 clog
 .build*
-
+boost_*/
+*/*.rpm
diff --git a/boost.spec b/boost.spec
index aaaba16..363f58c 100644
--- a/boost.spec
+++ b/boost.spec
@@ -23,7 +23,7 @@ Name: boost
 Summary: The free peer-reviewed portable C++ source libraries
 Version: 1.44.0
 %define pristine_version 1_44_0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Boost
 
 # The CMake build framework (set of CMakeLists.txt and module.cmake files) is
@@ -383,7 +383,9 @@ backend to do the parallel work.
   cd serial
   %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo %{boost_testflags} \
          -DENABLE_SINGLE_THREADED=YES -DINSTALL_VERSIONED=OFF \
-         -DWITH_MPI=OFF ..
+         -DWITH_MPI=OFF \
+         -DCMAKE_CXX_FLAGS=-DBOOST_IOSTREAMS_USE_DEPRECATED \
+         ..
   make VERBOSE=1 %{?_smp_mflags}
 )
 
@@ -742,6 +744,10 @@ find $RPM_BUILD_ROOT%{_includedir}/ \( -name '*.pl' -o -name '*.sh' \) -exec %{_
 %endif
 
 %changelog
+* Wed Dec  8 2010 Petr Machata <pmachata at redhat.com> - 1.44.0-2
+- Build with support for iostreams deprecated functions
+- Resolves: #654480
+
 * Sat Aug 21 2010 Denis Arnaud <denis.arnaud_fedora at m4x.org> - 1.44.0-1
 - Split the CMake-buildable tar-ball into pristine upstream tar-ball
   and CMake framework patch


More information about the scm-commits mailing list