Disabling xxhash checksums

This commit is contained in:
Michal Ruprich 2024-08-01 12:17:49 +02:00
parent dc55f7935d
commit 2c0e983972

View File

@ -9,7 +9,7 @@
Summary: A program for synchronizing files over a network Summary: A program for synchronizing files over a network
Name: rsync Name: rsync
Version: 3.3.0 Version: 3.3.0
Release: 3%{?prerelease}%{?dist} Release: 4%{?prerelease}%{?dist}
URL: https://rsync.samba.org/ URL: https://rsync.samba.org/
Source0: https://download.samba.org/pub/rsync/src/rsync-%{version}%{?prerelease}.tar.gz Source0: https://download.samba.org/pub/rsync/src/rsync-%{version}%{?prerelease}.tar.gz
@ -31,7 +31,9 @@ BuildRequires: systemd
BuildRequires: lz4-devel BuildRequires: lz4-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: libzstd-devel BuildRequires: libzstd-devel
%if 0%{?rhel} >= 10
BuildRequires: xxhash-devel BuildRequires: xxhash-devel
%endif
#Added virtual provide for zlib due to https://fedoraproject.org/wiki/Bundled_Libraries?rd=Packaging:Bundled_Libraries #Added virtual provide for zlib due to https://fedoraproject.org/wiki/Bundled_Libraries?rd=Packaging:Bundled_Libraries
Provides: bundled(zlib) = 1.2.8 Provides: bundled(zlib) = 1.2.8
#rsync code is distributed under GPLv3+ license. There are files under popt/ directory #rsync code is distributed under GPLv3+ license. There are files under popt/ directory
@ -77,7 +79,9 @@ package provides the anonymous rsync service.
%build %build
%configure \ %configure \
--enable-openssl \ --enable-openssl \
--enable-xxhash \ %if 0%{?rhel} >= 10
--disable-xxhash \
%endif
--enable-zstd \ --enable-zstd \
--enable-lz4 \ --enable-lz4 \
--enable-ipv6 --enable-ipv6
@ -123,6 +127,9 @@ install -D -m644 %{SOURCE6} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd@.service
%systemd_postun_with_restart rsyncd.service %systemd_postun_with_restart rsyncd.service
%changelog %changelog
* Thu Aug 01 2024 Michal Ruprich <mruprich@redhat.com> - 3.3.0-4
- Disabling xxhash because it is being removed from RHEL
* Wed Jul 24 2024 Michal Ruprich <mruprich@redhat.com> - 3.3.0-3 * Wed Jul 24 2024 Michal Ruprich <mruprich@redhat.com> - 3.3.0-3
- Adding rpminspect.yaml - Adding rpminspect.yaml