diff --git a/rsync.changes b/rsync.changes index 5e2593b..da255cf 100644 --- a/rsync.changes +++ b/rsync.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 8 16:23:34 CEST 2007 - dmueller@suse.de + +- use builtin zlib copy again + ------------------------------------------------------------------- Mon May 7 23:34:40 CEST 2007 - dmueller@suse.de diff --git a/rsync.spec b/rsync.spec index ceddb16..6968a53 100644 --- a/rsync.spec +++ b/rsync.spec @@ -18,7 +18,7 @@ Group: Productivity/Networking/Other PreReq: %fillup_prereq %insserv_prereq Autoreqprov: on Version: 2.6.9 -Release: 1 +Release: 3 Summary: Replacement for RCP/mirror that has Many More Features Source: samba.org/ftp/rsync/rsync-%{version}.tar.bz2 Source1: logrotate.rsync @@ -31,6 +31,7 @@ Patch2: slp.diff Patch3: system-zlib.diff URL: http://rsync.samba.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define with_system_zlib 0 %description rsync uses the "rsync algorithm" which provides a very fast method for @@ -52,7 +53,10 @@ Authors: %prep %setup -q +%if %with_system_zlib +rm -f zlib/*.h %patch3 +%endif cp configure configure.orig patch -p1 < patches/acls.diff patch -p1 < patches/xattrs.diff @@ -125,6 +129,8 @@ ln -sf ../../etc/init.d/rsyncd $RPM_BUILD_ROOT/usr/sbin/rcrsyncd %doc COPYING NEWS README tech_report.ps tech_report.tex %changelog +* Tue May 08 2007 - dmueller@suse.de +- use builtin zlib copy again * Mon May 07 2007 - dmueller@suse.de - update to 2.6.9: * several important bugfixes diff --git a/system-zlib.diff b/system-zlib.diff index 27fde63..4739b1d 100644 --- a/system-zlib.diff +++ b/system-zlib.diff @@ -10,3 +10,36 @@ TLS_OBJ = tls.o syscall.o lib/compat.o lib/snprintf.o lib/permstring.o +--- batch.c ++++ batch.c +@@ -21,7 +21,7 @@ + */ + + #include "rsync.h" +-#include "zlib/zlib.h" ++#include + #include + + extern int eol_nulls; +--- options.c ++++ options.c +@@ -22,7 +22,7 @@ + + #include "rsync.h" + #include +-#include "zlib/zlib.h" ++#include + + extern int module_id; + extern int sanitize_paths; +--- token.c ++++ token.c +@@ -21,7 +21,7 @@ + */ + + #include "rsync.h" +-#include "zlib/zlib.h" ++#include + + extern int do_compression; + extern int module_id;