|
@@ -58,36 +58,6 @@ AutoReqProv: no
|
|
|
impossible because the calculation of diffs between two files normally
|
|
|
requires local access to both files.
|
|
|
|
|
|
-%package sys
|
|
|
-Summary: Remote Filesystem Synchronization Daemon
|
|
|
-Group: Filesystem
|
|
|
-#PreReq: OpenPKG, openpkg >= 0.9-20011025.0 rsync-usr
|
|
|
-AutoReq: no
|
|
|
-AutoReqProv: no
|
|
|
-%description sys
|
|
|
- Rsync is a replacement for rcp that has many more features. rsync uses the
|
|
|
- "rsync algorithm" which provides a very fast method for bringing remote
|
|
|
- files into sync. It does this by sending just the differences in the files
|
|
|
- across the link, without requiring that both sets of files are present at
|
|
|
- one of the ends of the link beforehand. At first glance this may seem
|
|
|
- impossible because the calculation of diffs between two files normally
|
|
|
- requires local access to both files.
|
|
|
-
|
|
|
-%package usr
|
|
|
-Summary: Remote Filesystem Synchronization Client
|
|
|
-Group: Filesystem
|
|
|
-Conflicts: rsync < 2.4.6-5
|
|
|
-AutoReq: no
|
|
|
-AutoReqProv: no
|
|
|
-%description usr
|
|
|
- Rsync is a replacement for rcp that has many more features. rsync uses the
|
|
|
- "rsync algorithm" which provides a very fast method for bringing remote
|
|
|
- files into sync. It does this by sending just the differences in the files
|
|
|
- across the link, without requiring that both sets of files are present at
|
|
|
- one of the ends of the link beforehand. At first glance this may seem
|
|
|
- impossible because the calculation of diffs between two files normally
|
|
|
- requires local access to both files.
|
|
|
-
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch -p0
|
|
@@ -127,12 +97,9 @@ AutoReqProv: no
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
|
%{l_files_std} \
|
|
|
'%config %{l_prefix}/etc/rsync/rsyncd.*'
|
|
|
- egrep -v "/(bin|man1)/" files > files-sys
|
|
|
- egrep -v "/(etc|man5|var)/" files > files-usr
|
|
|
|
|
|
-%files sys -f files-sys
|
|
|
-%files usr -f files-usr
|
|
|
+%files -f files
|
|
|
|
|
|
%clean
|
|
|
- rm -rf $RPM_BUILD_ROOT
|
|
|
+ rm -rf $RPM_BUILD_ROOT
|
|
|
|