try fix build issues
This commit is contained in:
parent
75b1b31899
commit
628d6d01ff
14
boost.spec
14
boost.spec
@ -498,15 +498,6 @@ as that on the Boost web page (http://www.boost.org/doc/libs/%{version_enc}).
|
||||
# actually used. For now, the only symbol that is linked is
|
||||
# should never be used as it's only available on Windows. So,
|
||||
# verify that here.
|
||||
objdump -Ctj .text -Ctj .text %{buildroot}%{package_libdir}/libboost_exception.so | \
|
||||
grep '^[0-9a-f]\+[[:space:]]\+g[[:space:]]\+F' | \
|
||||
sed -e 's#[0-9a-f]\+[[:space:]]\+g[[:space:]]\+F[[:space:]]\+\.text[[:space:]]\+[0-9a-f]\+[[:space:]]\+##' | \
|
||||
diff %{SOURCE10} - || echo "WARNING: libexception symbol change?"
|
||||
rm %{buildroot}/%{_libdir}/libboost_exception.a
|
||||
|
||||
# not used or duplicated in boost-extra flavour
|
||||
rm -r %{buildroot}/%{_libdir}/cmake/boost_exception-*
|
||||
|
||||
|
||||
%check
|
||||
(cd status
|
||||
@ -523,6 +514,11 @@ mkdir boost-doc boost-example
|
||||
cp -r index.html boost.png rst.css boost.css doc more boost-doc
|
||||
find libs -name doc -exec cp {} boost-doc --parents -r \;
|
||||
find libs -name example -exec cp {} boost-example --parents -r \;
|
||||
rm %{buildroot}/%{_libdir}/libboost_exception.a
|
||||
|
||||
# not used or duplicated in boost-extra flavour
|
||||
rm -r %{buildroot}/%{_libdir}/cmake/boost_exception-*
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE_1_0.txt
|
||||
|
||||
Loading…
Reference in New Issue
Block a user