diff --git a/rsync.spec b/rsync.spec index 16ca54f..8891b12 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,6 +1,6 @@ Name: rsync Version: 3.2.7 -Release: 2 +Release: 3 Summary: Fast incremental file transfer utility License: GPL-3.0-or-later URL: http://rsync.samba.org/ @@ -38,6 +38,9 @@ at one of the ends of the link beforehand. %autosetup -n %{name}-%{version} -p1 %build +%if "%{?toolchain}" == "clang" + CFLAGS="${CFLAGS:-%{?build_cflags}} -Wno-strict-prototypes"; export CFLAGS; +%endif %configure --disable-xxhash %make_build @@ -81,6 +84,12 @@ install -D -m644 %{SOURCE5} %{buildroot}/%{_unitdir}/rsyncd@.service %{_mandir}/man5/rsyncd.conf.5* %changelog +* Thu Feb 22 2024 Xiaoya Huang - 3.2.7-3 +- Type: enhencement +- CVE: +- SUG:NA +- DESC: support clang build + * Thu Jun 15 2023 zhoupengcheng - 3.2.7-2 - Type:bugfix - CVE: