OBS User unknown 2007-07-16 08:16:23 +00:00 committed by Git OBS Bridge
parent 714912618e
commit f0af05f515
3 changed files with 23 additions and 5 deletions

11
boost-atomicity.patch Normal file
View File

@ -0,0 +1,11 @@
--- boost/detail/atomic_count_gcc.hpp
+++ boost/detail/atomic_count_gcc.hpp
@@ -17,7 +17,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
-#include <bits/atomicity.h>
+#include <ext/atomicity.h>
namespace boost
{

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 15 16:09:59 CEST 2007 - schwab@suse.de
- Fix reference to atomicity.h.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 24 18:41:43 CET 2007 - aj@suse.de Sat Mar 24 18:41:43 CET 2007 - aj@suse.de

View File

@ -15,12 +15,12 @@ BuildRequires: boost-jam gcc-c++ libbz2-devel libicu-devel python-devel xorg-x1
%define file_version 1_33_1 %define file_version 1_33_1
%define version_tag 1_33_1 %define version_tag 1_33_1
URL: http://www.boost.org URL: http://www.boost.org
License: BSD License and BSD-like License: BSD 3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Summary: Boost C++ Libraries Summary: Boost C++ Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 1.33.1 Version: 1.33.1
Release: 58 Release: 87
Source0: %{name}_%{file_version}.tar.bz2 Source0: %{name}_%{file_version}.tar.bz2
Source1: NEWS Source1: NEWS
Patch: boost-threading.patch Patch: boost-threading.patch
@ -35,6 +35,7 @@ Patch9: boost-strip.patch
Patch10: boost-ia64.patch Patch10: boost-ia64.patch
Patch11: boost-visit_each.diff Patch11: boost-visit_each.diff
Patch12: boost-python_2_5-minimal.patch Patch12: boost-python_2_5-minimal.patch
Patch13: boost-atomicity.patch
%define _prefix /usr %define _prefix /usr
%define python_root /usr %define python_root /usr
%define python_lib_path %py_libdir/config %define python_lib_path %py_libdir/config
@ -86,8 +87,7 @@ This package contains documentation about the boost dynamic libraries.
%setup -q -n %{name}_%{file_version} %setup -q -n %{name}_%{file_version}
find -name .cvsignore|xargs rm -f find -name .cvsignore|xargs rm -f
#everything in the tarball has the executable flag set ...... #everything in the tarball has the executable flag set ......
find -type f| xargs chmod -x find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl -o -name configure \) | xargs chmod -x
find -name \*.sh -o -name \*.py -o -name \*.pl|xargs chmod +x
%patch %patch
%patch1 %patch1
%patch3 %patch3
@ -100,8 +100,8 @@ find -name \*.sh -o -name \*.py -o -name \*.pl|xargs chmod +x
%patch10 %patch10
%patch11 %patch11
%patch12 %patch12
%patch13
cp %{S:1} . cp %{S:1} .
chmod +x configure
%build %build
#%define boost_cxxflags %optflags -fno-strict-aliasing #%define boost_cxxflags %optflags -fno-strict-aliasing
@ -183,6 +183,8 @@ chmod -R u+rw,go+rX %{buildroot}%{_prefix}
%doc .backup/* %doc .backup/*
%changelog %changelog
* Sun Jul 15 2007 - schwab@suse.de
- Fix reference to atomicity.h.
* Sat Mar 24 2007 - aj@suse.de * Sat Mar 24 2007 - aj@suse.de
- Add libbz2-devel to BuildRequires. - Add libbz2-devel to BuildRequires.
* Fri Sep 22 2006 - pth@suse.de * Fri Sep 22 2006 - pth@suse.de