Build with zstd support

Also remove double % in Source0 tag that breaks mock builds.

Resolves: #2091041
This commit is contained in:
Jonathan Wakely 2022-06-21 16:09:10 +01:00
parent ae291392c3
commit d3adf9e05b

View File

@ -42,7 +42,7 @@ Name: boost
%global real_name boost
Summary: The free peer-reviewed portable C++ source libraries
Version: 1.75.0
Release: 6%{?dist}
Release: 7%{?dist}
License: Boost and MIT and Python
# Replace each . with _ in %%{version}
@ -54,7 +54,7 @@ License: Boost and MIT and Python
%global toplev_dirname %{real_name}_%{version_enc}
URL: http://www.boost.org
Source0: https://dl.bintray.com/boostorg/release/%{version}/source/%{name}_%%{version_enc}.tar.bz2
Source0: https://dl.bintray.com/boostorg/release/%{version}/source/%{name}_%{version_enc}.tar.bz2
Source1: libboost_thread.so
# Add a manual page for b2, based on the online documentation:
# http://www.boost.org/boost-build2/doc/html/bbv2/overview.html
@ -114,6 +114,7 @@ BuildRequires: libstdc++-devel
BuildRequires: bzip2-devel
BuildRequires: zlib-devel
BuildRequires: xz-devel
BuildRequires: libzstd-devel
%if %{with python3}
BuildRequires: python3-devel
BuildRequires: python3-numpy
@ -1278,6 +1279,9 @@ fi
%{_mandir}/man1/b2.1*
%changelog
* Tue Jun 21 2022 Jonathan Wakely <jwakely@redhat.com> - 1.75.0-7
- Build with zstd support (#2091041)
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.75.0-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688