|
@@ -36,6 +36,11 @@ License: GPL
|
|
|
Version: 2.6.1
|
|
Version: 2.6.1
|
|
|
Release: 20040429
|
|
Release: 20040429
|
|
|
|
|
|
|
|
|
|
+# package options
|
|
|
|
|
+%option with_timelimit no
|
|
|
|
|
+%option with_writeonly no
|
|
|
|
|
+%option with_chmod no
|
|
|
|
|
+
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://rsync.samba.org/ftp/rsync/rsync-%{version}.tar.gz
|
|
Source0: http://rsync.samba.org/ftp/rsync/rsync-%{version}.tar.gz
|
|
|
Source1: rsync.conf
|
|
Source1: rsync.conf
|
|
@@ -71,6 +76,15 @@ AutoReqProv: no
|
|
|
# unpack vendor sources
|
|
# unpack vendor sources
|
|
|
%setup -q
|
|
%setup -q
|
|
|
%patch -p0
|
|
%patch -p0
|
|
|
|
|
+%if "%{with_timelimit}" == "yes"
|
|
|
|
|
+ %{l_patch} -p0 <patches/time-limit.diff
|
|
|
|
|
+%endif
|
|
|
|
|
+%if "%{with_writeonly}" == "yes"
|
|
|
|
|
+ %{l_patch} -p0 <patches/write-only.diff
|
|
|
|
|
+%endif
|
|
|
|
|
+%if "%{with_chmod}" == "yes"
|
|
|
|
|
+ %{l_patch} -p0 <patches/chmod-option.diff
|
|
|
|
|
+%endif
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
# configure vendor sources
|
|
# configure vendor sources
|