Fixing a wrong condition
This commit is contained in:
parent
2c0e983972
commit
340bbb1e84
@ -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 <mruprich@redhat.com> - 3.3.0-5
|
||||
- Fixing a condition for BuildRequires on xxhash in RHEL
|
||||
|
||||
* Thu Aug 01 2024 Michal Ruprich <mruprich@redhat.com> - 3.3.0-4
|
||||
- Disabling xxhash because it is being removed from RHEL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user