From 340bbb1e8432fa63755c63d3a8b27d512890e332 Mon Sep 17 00:00:00 2001 From: Michal Ruprich Date: Wed, 14 Aug 2024 13:41:39 +0200 Subject: [PATCH] Fixing a wrong condition --- rsync.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rsync.spec b/rsync.spec index 1076d8b..86873e2 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: 4%{?prerelease}%{?dist} +Release: 5%{?prerelease}%{?dist} URL: https://rsync.samba.org/ Source0: https://download.samba.org/pub/rsync/src/rsync-%{version}%{?prerelease}.tar.gz @@ -31,7 +31,7 @@ BuildRequires: systemd BuildRequires: lz4-devel BuildRequires: openssl-devel BuildRequires: libzstd-devel -%if 0%{?rhel} >= 10 +%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 @@ -127,6 +127,9 @@ install -D -m644 %{SOURCE6} $RPM_BUILD_ROOT/%{_unitdir}/rsyncd@.service %systemd_postun_with_restart rsyncd.service %changelog +* Thu Aug 15 2024 Michal Ruprich - 3.3.0-5 +- Fixing a condition for BuildRequires on xxhash in RHEL + * Thu Aug 01 2024 Michal Ruprich - 3.3.0-4 - Disabling xxhash because it is being removed from RHEL