OBS User unknown 2007-05-08 18:10:02 +00:00 committed by Git OBS Bridge
parent ffe8f2cbca
commit 0fa905b311
3 changed files with 45 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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 <zlib.h>
#include <time.h>
extern int eol_nulls;
--- options.c
+++ options.c
@@ -22,7 +22,7 @@
#include "rsync.h"
#include <popt.h>
-#include "zlib/zlib.h"
+#include <zlib.h>
extern int module_id;
extern int sanitize_paths;
--- token.c
+++ token.c
@@ -21,7 +21,7 @@
*/
#include "rsync.h"
-#include "zlib/zlib.h"
+#include <zlib.h>
extern int do_compression;
extern int module_id;