From 628d6d01ff5cd2e463d5e158b745580c53f213c3 Mon Sep 17 00:00:00 2001 From: Mahno Date: Sun, 9 Feb 2025 21:01:27 +0800 Subject: [PATCH] try fix build issues --- boost.spec | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/boost.spec b/boost.spec index 7dd60a9..2f710b3 100644 --- a/boost.spec +++ b/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