Error during build libtorrent-rasterbar packages

I tried build libtorrent-rasterbar packages for factory. But I got some error and I don’t know how to resolve it. Does anyone have some idea? Spec file and log with errors posted below.

.spec:


#  
# spec file for package libtorrent-rasterbar (Version 0.13.1)  
#  
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.  
# This file and all modifications and additions to the pristine  
# package are under the same license as the package itself.  
#  
# Please submit bugfixes or comments via http://bugs.opensuse.org/  
#  
   
# norootforbuild  
   
Name:          libtorrent-rasterbar  
Version:        0.13.1  
Release:        0  
#  
Group:          Development/Libraries/C and C++  
License:        BSD  
#  
BuildRoot:       %{_tmppath}/%{name}-%{version}-build  
BuildRequires:  boost-devel gcc-c++ zlib-devel openssl-devel  
Conflicts:      rblibtorrent  
#  
Url:            http://www.rasterbar.com/products/libtorrent/  
Source:         http://prdownloads.sourceforge.net/libtorrent/%{name}-%{version}.tar.gz  
#  
Summary:        libtorrent is a C++ implementation of the BitTorrent protocol  
%description  
libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client.  
   
The main goals of libtorrent are:  
* to be cpu efficient  
* to be memory efficient  
* to be very easy to use  
   
Authors:  
--------  
    Arvid Norberg <arvid@rasterbar.com>  
   
%package -n libtorrent-rasterbar0  
Group:          Development/Libraries/C and C++  
License:        BSD  
# for the debuginfo package    
Provides:      %{name} = %{version}-%{release}  
#  
Summary:        libtorrent is a C++ implementation of the BitTorrent protocol  
%description -n libtorrent-rasterbar0  
libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client.  
   
The main goals of libtorrent are:  
* to be cpu efficient  
* to be memory efficient  
* to be very easy to use  
   
Authors:  
--------  
    Arvid Norberg <arvid@rasterbar.com>  
   
   
%package devel  
Group:          Development/Libraries/C and C++  
License:        BSD  
Requires:       libtorrent-rasterbar0 = %{version}  
#  
Summary:        libtorrent is a C++ implementation of the BitTorrent protocol  
%description devel  
libtorrent is a C++ library that aims to be a good alternative to all the other bittorrent implementations around. It is a library and not a full featured client, although it comes with a working example client.  
   
The main goals of libtorrent are:  
* to be cpu efficient  
* to be memory efficient  
* to be very easy to use  
   
This package holds the development files for rasterbar-libtorrent.  
   
Authors:  
--------  
    Arvid Norberg <arvid@rasterbar.com>  
   
%prep  
%setup -n %{name}-%{version}  
%{__chmod} a-x docs/*.rst docs/*.htm*  
  
%build  
%configure --disable-static --disable-debug --with-zlib=shipped --with-boost-thread=mt --with-asio=shipped --with-boost-libdir=%{_libdir}  
%{__make}  
   
%install  
%makeinstall  
%{__rm} -v %{buildroot}%{_libdir}/libtorrent-rasterbar.la  
   
%clean  
%{__rm} -rf %{buildroot}  
   
%post  -n libtorrent-rasterbar0 -p /sbin/ldconfig  
%postun -n libtorrent-rasterbar0 -p /sbin/ldconfig  
   
%files -n libtorrent-rasterbar0  
%defattr(-,root,root,-)  
%{_libdir}/libtorrent-rasterbar.so.0  
%{_libdir}/libtorrent-rasterbar.so.0.0.0  
%doc AUTHORS COPYING ChangeLog NEWS README docs/*  
   
%files devel  
%defattr(-,root,root,-)  
%{_includedir}/libtorrent/  
%{_libdir}/libtorrent-rasterbar.so  
%{_libdir}/pkgconfig/libtorrent-rasterbar.pc  
   
%changelog  
* Tue Jul 22 2008 - fisiu82@gmail.com  
- update package to 0.13.1  
* Sat May 03 2008 - marekstopka@gmail.com  
- new package created, based on spec from home:darix obs project  

Log file:

In file included from ../include/libtorrent/asio/detail/select_interrupter.hpp:24,
from ../include/libtorrent/asio/detail/epoll_reactor.hpp:42,
from ../include/libtorrent/asio/impl/io_service.ipp:25,
from ../include/libtorrent/asio/io_service.hpp:515,
from ../include/libtorrent/asio/basic_io_object.hpp:20,
from ../include/libtorrent/asio/basic_socket_acceptor.hpp:20,
from ../include/libtorrent/asio/ip/tcp.hpp:20,
from ../include/libtorrent/socket.hpp:48,
from ../include/libtorrent/torrent_info.hpp:54,
from torrent_info.cpp:56:
../include/libtorrent/asio/detail/pipe_select_interrupter.hpp: In member function 'void asio::detail::pipe_select_interrupter::interrupt()':
../include/libtorrent/asio/detail/pipe_select_interrupter.hpp:74: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result
torrent_info.cpp: In member function 'void libtorrent::torrent_info::parse_info_section(const libtorrent::entry&)':
torrent_info.cpp:357: error: 'struct boost::filesystem::path' has no member named 'has_branch_path'
torrent_info.cpp: In member function 'void libtorrent::torrent_info::add_file(boost::filesystem::path, libtorrent::size_type)':
torrent_info.cpp:575: error: 'struct boost::filesystem::path' has no member named 'has_branch_path'
make[1]: *** [torrent_info.lo] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/libtorrent-rasterbar-0.13.1/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.91313 (%build)


RPM build errors:
cannot open Pubkeys index using db3 - No such file or directory (2)
Bad exit status from /var/tmp/rpm-tmp.91313 (%build)
System halted.

Version 0.14 of libtorrent-rasterbar is compiling with boost 1.36.