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