diff --git a/rsync.spec b/rsync.spec index 53e04764f17d918f09221aa5c65ac3fcc33e09b8..7efed82c01435f2c6d66c5266f6d1a48ab17d9db 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