From c6aae20c3819bb4b75387228ea415d54aa1b72a1 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sat, 21 Oct 2023 11:06:37 +0800 Subject: [PATCH] Force use system provided zlib and popt --- rsync.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/rsync.spec b/rsync.spec index 53e0476..7efed82 100644 --- a/rsync.spec +++ b/rsync.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: rsync Version: 3.2.7 @@ -21,6 +21,7 @@ BuildRequires: libacl-devel BuildRequires: libattr-devel BuildRequires: autoconf automake BuildRequires: popt-devel +BuildRequires: zlib-devel BuildRequires: systemd BuildRequires: lz4-devel BuildRequires: openssl-devel libtool-ltdl @@ -60,6 +61,8 @@ package provides the anonymous rsync service. %build %configure \ + --without-included-popt \ + --without-included-zlib \ --enable-openssl \ --enable-xxhash \ --enable-zstd \ @@ -77,7 +80,7 @@ install -D -m644 %{SOURCE5} %{buildroot}/%{_sysconfdir}/sysconfig/rsyncd install -D -m644 %{SOURCE6} %{buildroot}/%{_unitdir}/rsyncd@.service %check -make check +%make_build check chmod -x support/* %post daemon @@ -108,6 +111,9 @@ chmod -x support/* %{_unitdir}/rsyncd@.service %changelog +* Sat Oct 21 2023 Funda Wang - 3.2.7-2 +- Force use system provided zlib and popt + * Fri Oct 21 2022 Funda Wang - 3.2.7-1 - New version 3.2.7 -- Gitee