|
@@ -28,8 +28,8 @@
|
|
|
Summary: Portable C++ source libraries
|
|
|
Summary(ja): ポータブルな C++ ソースライブラリ
|
|
|
Name: libboost
|
|
|
-Version: 1.75.0
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 1.80.0
|
|
|
+Release: 1%{?_dist_release}
|
|
|
Group: system
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -38,11 +38,12 @@ License: Boost and MIT and Python
|
|
|
URL: https://www.boost.org/
|
|
|
%global tarver %(echo %{version} | tr '.' '_')
|
|
|
%global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//' | tr '.' '_')
|
|
|
-Source0: https://dl.bintray.com/boostorg/release/%{version}/source/boost_%{tarver}.tar.bz2
|
|
|
+Source0: https://boostorg.jfrog.io/artifactory/main/release/%{version}/source/boost_%{tarver}.tar.bz2
|
|
|
Source1: ver.py
|
|
|
Source2: libboost_thread.so
|
|
|
|
|
|
BuildRequires: bzip2-devel zlib-devel xz-devel
|
|
|
+BuildRequires: libzstd-devel
|
|
|
BuildRequires: libicu-devel
|
|
|
BuildRequires: libquadmath-devel
|
|
|
%if %{with python3}
|
|
@@ -54,40 +55,61 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=828856
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=828857
|
|
|
# https://svn.boost.org/trac/boost/ticket/6701
|
|
|
-Patch15: boost-1.58.0-pool.patch
|
|
|
+Patch15: 0001-boost-1.58.0-pool.patch
|
|
|
|
|
|
# https://svn.boost.org/trac/boost/ticket/9038
|
|
|
-Patch51: boost-1.58.0-pool-test_linking.patch
|
|
|
+Patch51: 0002-boost-1.58.0-pool-test_linking.patch
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1541035
|
|
|
-Patch96: boost-1.75.0-build-optflags.patch
|
|
|
+Patch105: 0003-boost-1.78.0-build-optflags.patch
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1318383
|
|
|
-Patch97: boost-1.75.0-no-rpath.patch
|
|
|
-
|
|
|
-# https://bugzilla.redhat.com/show_bug.cgi?id=1541035
|
|
|
-Patch83: boost-1.73.0-b2-build-flags.patch
|
|
|
+Patch106: 0004-boost-1.78.0-no-rpath.patch
|
|
|
|
|
|
# https://lists.boost.org/Archives/boost/2020/04/248812.php
|
|
|
-Patch88: boost-1.73.0-cmakedir.patch
|
|
|
-
|
|
|
-# https://bugzilla.redhat.com/show_bug.cgi?id=1896382
|
|
|
-# https://github.com/boostorg/python/issues/325
|
|
|
-Patch93: boost-1.73-python3.10.patch
|
|
|
+Patch88: 0005-boost-1.73.0-cmakedir.patch
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1899888
|
|
|
# https://github.com/boostorg/locale/issues/52
|
|
|
-Patch94: boost-1.73-locale-empty-vector.patch
|
|
|
+Patch94: 0006-boost-1.73-locale-empty-vector.patch
|
|
|
|
|
|
-# https://bugzilla.redhat.com/show_bug.cgi?id=1923740
|
|
|
-# https://github.com/boostorg/build/issues/696
|
|
|
-Patch95: boost-1.75.0-boost-build-fix.patch
|
|
|
-
|
|
|
-Obsoletes: %{name}-date-time-devel %{name}-filesystem-devel %{name}-graph-devel
|
|
|
-Obsoletes: %{name}-iostreams-devel %{name}-program-options-devel
|
|
|
-Obsoletes: %{name}-python-devel %{name}-regex-devel
|
|
|
-Obsoletes: %{name}-serialization-devel %{name}-signals-devel %{name}-test-devel
|
|
|
-Obsoletes: %{name}-thread-devel %{name}-wave-devel
|
|
|
+# https://bugzilla.redhat.com/show_bug.cgi?id=1541035
|
|
|
+Patch107: 0007-boost-1.78.0-b2-build-flags.patch
|
|
|
+
|
|
|
+# https://github.com/boostorg/random/issues/82
|
|
|
+Patch102: 0008-boost-1.76.0-random-test.patch
|
|
|
+
|
|
|
+# PR https://github.com/boostorg/multiprecision/pull/421
|
|
|
+# fixes ppc64le issue https://github.com/boostorg/multiprecision/issues/419
|
|
|
+#Patch103: boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch
|
|
|
+
|
|
|
+# PR https://github.com/boostorg/interval/pull/30
|
|
|
+# Fixes narrowing conversions for ppc -
|
|
|
+# https://github.com/boostorg/interval/issues/29
|
|
|
+Patch104: 0009-boost-1.76.0-fix-narrowing-conversions-for-ppc.patch
|
|
|
+
|
|
|
+# https://github.com/boostorg/ptr_container/pull/27
|
|
|
+#Patch108: boost-1.76.0-ptr_cont-xml.patch
|
|
|
+
|
|
|
+# Fixes missing libboost_fiber.so
|
|
|
+# https://github.com/boostorg/boost/issues/632
|
|
|
+#Patch109: boost-1.78.0-fix-b2-staging.patch
|
|
|
+
|
|
|
+# https://github.com/boostorg/python/pull/385
|
|
|
+Patch110: 0010-boost-1.76.0-enum_type_object-type-python-3.11.patch
|
|
|
+
|
|
|
+Obsoletes: %{name}-date-time-devel < %{version}
|
|
|
+Obsoletes: %{name}-filesystem-devel < %{version}
|
|
|
+Obsoletes: %{name}-graph-devel < %{version}
|
|
|
+Obsoletes: %{name}-iostreams-devel < %{version}
|
|
|
+Obsoletes: %{name}-program-options-devel < %{version}
|
|
|
+Obsoletes: %{name}-python-devel < %{version}
|
|
|
+Obsoletes: %{name}-regex-devel < %{version}
|
|
|
+Obsoletes: %{name}-serialization-devel < %{version}
|
|
|
+Obsoletes: %{name}-signals-devel < %{version}
|
|
|
+Obsoletes: %{name}-test-devel < %{version}
|
|
|
+Obsoletes: %{name}-thread-devel < %{version}
|
|
|
+Obsoletes: %{name}-wave-devel < %{version}
|
|
|
|
|
|
%description
|
|
|
Boost provides free peer-reviewed portable C++ source libraries. The emphasis
|
|
@@ -890,16 +912,20 @@ Set of wave libraries in %{name}
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n boost_%{tarver}
|
|
|
-find ./boost -name '*.hpp' -perm /111 | xargs chmod a-x
|
|
|
-%patch15 -p0
|
|
|
+#find ./boost -name '*.hpp' -perm /111 | xargs chmod a-x
|
|
|
+%patch15 -p1
|
|
|
%patch51 -p1
|
|
|
-%patch96 -p1
|
|
|
-%patch97 -p1
|
|
|
-%patch83 -p1
|
|
|
+%patch105 -p1
|
|
|
+%patch106 -p1
|
|
|
+%patch107 -p1
|
|
|
%patch88 -p1
|
|
|
-#%%patch93 -p1
|
|
|
%patch94 -p1
|
|
|
-%patch95 -p1
|
|
|
+%patch102 -p1
|
|
|
+#%patch103 -p2
|
|
|
+%patch104 -p1
|
|
|
+#%patch108 -p1
|
|
|
+#%patch109 -p1
|
|
|
+%patch110 -p1
|
|
|
|
|
|
# At least python2_version needs to be a macro so that it's visible in
|
|
|
# %%install as well.
|
|
@@ -1108,12 +1134,11 @@ echo ============================= install Boost.Build ==================
|
|
|
(cd tools/build
|
|
|
./b2 --prefix=$RPM_BUILD_ROOT%{_prefix} install
|
|
|
# Fix some permissions
|
|
|
- chmod +x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py
|
|
|
+ chmod +x $RPM_BUILD_ROOT%{_datadir}/b2/src/tools/doxproc.py
|
|
|
# Fix shebang using unversioned python
|
|
|
- sed -i '1s@^#!/usr/bin.python$@&3@' $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py
|
|
|
+ sed -i '1s@^#!/usr/bin.python$@&3@' $RPM_BUILD_ROOT%{_datadir}/b2/src/tools/doxproc.py
|
|
|
# Empty file
|
|
|
- rm $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp
|
|
|
- rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp
|
|
|
+ rm -f $RPM_BUILD_ROOT%{_datadir}/b2/src/tools/doxygen/windows-paths-check.hpp
|
|
|
# Install the manual page
|
|
|
%{__install} -p -m 644 %{SOURCE2} -D $RPM_BUILD_ROOT%{_mandir}/man1/b2.1
|
|
|
)
|
|
@@ -1204,6 +1229,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
# user after the relevant environment module has been loaded.
|
|
|
# rpmlint will report that as errors, but it is fine.
|
|
|
|
|
|
+%if 0
|
|
|
%post atomic -p /sbin/ldconfig
|
|
|
%post chrono -p /sbin/ldconfig
|
|
|
%post container -p /sbin/ldconfig
|
|
@@ -1259,6 +1285,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%postun timer -p /sbin/ldconfig
|
|
|
%postun type_erasure -p /sbin/ldconfig
|
|
|
%postun wave -p /sbin/ldconfig
|
|
|
+%endif
|
|
|
+
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
@@ -1412,7 +1440,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files build
|
|
|
%license LICENSE_1_0.txt
|
|
|
-%{_datadir}/boost-build
|
|
|
+%{_datadir}/b2
|
|
|
|
|
|
%files doctools
|
|
|
%license LICENSE_1_0.txt
|
|
@@ -1605,6 +1633,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Oct 20 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.80.0-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Thu Apr 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.75.0-2
|
|
|
- built with icu-69.
|
|
|
|