summaryrefslogtreecommitdiff
path: root/boost.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-11-30 08:39:46 +0000
committerCoprDistGit <infra@openeuler.org>2024-11-30 08:39:46 +0000
commitb0839d568d2704d171d682c0cdf156038e4975f4 (patch)
treefb527aed1fc09d1f037f26ff420e9740604e028e /boost.spec
parentd6362ed363c4a52edc9136df2334f994c42082cb (diff)
automatic import of boostopeneuler24.03_LTS
Diffstat (limited to 'boost.spec')
-rw-r--r--boost.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/boost.spec b/boost.spec
index a54bc38..89655d2 100644
--- a/boost.spec
+++ b/boost.spec
@@ -18,6 +18,8 @@ Patch3: boost-1.81-random-Update-multiprecision_int_test.cpp-to-not-accidental.p
Patch4: boost-1.81-random-test-Add-missing-includes.patch
# https://github.com/boostorg/phoenix/pull/116
Patch5: boost-1.81-phoenix-Update-avoid-placeholders-uarg1.10-ODR-violates.patch
+# https://lists.boost.org/Archives/boost/2020/04/248812.php
+Patch6: boost-1.73.0-cmakedir.patch
Requires: %{name}-atomic%{?_isa} = %{version}-%{release}
Requires: %{name}-chrono%{?_isa} = %{version}-%{release}
@@ -301,6 +303,9 @@ as that on the Boost web page (http://www.boost.org/doc/libs/%{version_enc}).
--libdir=$RPM_BUILD_ROOT%{_libdir} \
install
+# Remove buildroot definition from cmake files
+sed -i -e 's,%{buildroot},,g' $(find %{buildroot}%{_libdir}/cmake -name "*.cmake")
+
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 \;