Resolves: rhbz#1258127 fix build with boost 1.59

This commit is contained in:
David Tardon 2015-08-30 08:52:56 +02:00
parent 12b7984863
commit 3d9da4d5fc

View File

@ -2,7 +2,7 @@
Name: libcdr
Version: 0.1.1
Release: 6%{?dist}
Release: 7%{?dist}
Summary: A library for import of CorelDRAW drawings
# the only Public Domain source is src/lib/CDRColorProfiles.h
@ -50,6 +50,8 @@ Currently supported: XHTML, text, raw.
%setup -q
%build
# rhbz#1258127 fix build with boost 1.59
export CPPFLAGS=-DBOOST_ERROR_CODE_HEADER_ONLY
%configure --disable-static --disable-werror
sed -i \
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
@ -106,6 +108,9 @@ install -m 0644 cdr2*.1 cmx2*.1 %{buildroot}/%{_mandir}/man1
%{_mandir}/man1/cmx2xhtml.1*
%changelog
* Sun Aug 30 2015 David Tardon <dtardon@redhat.com> - 0.1.1-7
- Resolves: rhbz#1258127 fix build with boost 1.59
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159