#
# Conditional build:
%bcond_with rsh # set remote shell command to rsh instead of ssh (old behaviour)
-%bcond_without tests # do not perform "make test"
+%bcond_with tests # perform "make test"
#
%ifarch alpha
%undefine with_tests
Summary(zh_CN.UTF-8): [通讯]传输工具
Summary(zh_TW.UTF-8): [喙啪]\e$(B6G?i火(c\e(B
Name: rsync
-Version: 2.6.9
-Release: 2
+Version: 3.0.2
+Release: 1
License: GPL
Group: Networking/Utilities
Source0: http://rsync.samba.org/ftp/rsync/%{name}-%{version}.tar.gz
-# Source0-md5: 996d8d8831dbca17910094e56dcb5942
+# Source0-md5: fd4c5d77d8cb7bb86ab209076fa214d9
Source1: %{name}.inet
Source2: %{name}.init
Source3: %{name}.sysconfig
Source4: %{name}d.logrotate
Patch0: %{name}-config.patch
-Patch1: %{name}-man.patch
-Patch2: %{name}-CVE-2007-4091.patch
URL: http://rsync.samba.org/
BuildRequires: acl-devel
BuildRequires: autoconf >= 2.52
%prep
%setup -q
-patch -s -p1 < patches/acls.diff || exit 1
-patch -s -p1 < patches/xattrs.diff || exit 1
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
%build
cp -f /usr/share/automake/config.sub .