Re-enable xxh128 xxh3 xxh64 disabled during 3.2.2 update.

Enforce openssl xxhash zstd lz4 ipv6 features by --enable-*.

Checksum list:
before:
    md5 md4 none
after:
    xxh128 xxh3 xxh64 (xxhash) md5 md4 none
This commit is contained in:
Jan Kratochvil 2021-11-05 14:29:31 +01:00
parent 3d01a71257
commit 23db49a3aa

View File

@ -9,7 +9,7 @@
Summary: A program for synchronizing files over a network
Name: rsync
Version: 3.2.3
Release: 9%{?dist}
Release: 10%{?dist}
URL: https://rsync.samba.org/
Source0: https://download.samba.org/pub/rsync/src/rsync-%{version}%{?prerelease}.tar.gz
@ -23,7 +23,7 @@ Source6: rsyncd@.service
BuildRequires: make
BuildRequires: gcc gcc-c++
BuildRequires: libacl-devel, libattr-devel, autoconf, popt-devel, systemd
BuildRequires: lz4-devel openssl-devel libzstd-devel
BuildRequires: lz4-devel openssl-devel libzstd-devel xxhash-devel
#Added virtual provide for zlib due to https://fedoraproject.org/wiki/Bundled_Libraries?rd=Packaging:Bundled_Libraries
Provides: bundled(zlib) = 1.2.8
License: GPLv3+
@ -71,7 +71,9 @@ patch -p1 -i patches/copy-devices.diff
%patch2 -p1 -b .lchmod
%build
%configure --disable-xxhash
%configure --enable-openssl --enable-xxhash --enable-zstd --enable-lz4 \
--enable-ipv6
# Requries x86_64: --enable-simd --enable-asm
# --with-included-zlib=no temporary disabled because of #1043965
%{make_build}
@ -115,6 +117,10 @@ install -D -m644 %{SOURCE6} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd@.service
%systemd_postun_with_restart rsyncd.service
%changelog
* Fri Nov 5 2021 Jan Kratochvil <jan@jankratochvil.net> - 3.2.3-10
- Re-enable xxh128 xxh3 xxh64 disabled during 3.2.2 update.
- Enforce openssl xxhash zstd lz4 ipv6 features by --enable-*.
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 3.2.3-9
- Rebuilt with OpenSSL 3.0.0