+- Add my xattrs_bug patch to fix a bug where xattrs don't get sent correctly.

+- Add BuildRequires to make sure libattr-devel and libacl-devel are avaliable
+- replace --with... with --enable... so they actually work
This commit is contained in:
fenlason 2006-06-10 03:17:06 +00:00
parent 1447eaa94e
commit f6298cb5eb

View File

@ -1,13 +1,14 @@
Summary: A program for synchronizing files over a network.
Name: rsync
Version: 2.6.8
Release: 2
Release: 3
Group: Applications/Internet
# TAG: for pre versions use
#Source: ftp://rsync.samba.org/pub/rsync/rsync-%{version}pre1.tar.gz
Source: ftp://rsync.samba.org/pub/rsync/rsync-%{version}.tar.gz
Source1: rsync.xinetd
Patch1: rsync-2.6.8-xattrs_bug.patch
BuildRequires: libacl-devel, libattr-devel
Prefix: %{_prefix}
BuildRoot: /var/tmp/%{name}-root
License: GPL
@ -25,6 +26,7 @@ package.
# TAG: for pre versions use
# % setup -q -n rsync-%{version}pre1
%setup -q
%patch1 -p1 -b .xattrs_bug
patch -p1 < patches/acls.diff
patch -p1 < patches/xattrs.diff
@ -33,7 +35,7 @@ rm -fr autom4te.cache
autoconf
autoheader
%configure \
--with-acl-support --with-xattr-support
--enable-acl-support --enable-xattr-support
make proto
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
@ -56,6 +58,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man5/rsyncd.conf.5*
%changelog
* Fri Jun 9 2006 Jay Fenlason <fenlason@redhat.com> 2.6.8-3
- Add my xattrs_bug patch to fix a bug where xattrs don't get sent correctly.
- Add BuildRequires to make sure libattr-devel and libacl-devel are avaliable
- replace --with... with --enable... so they actually work
* Mon May 8 2006 Jay Fenlason <fenlason@redhat.com> 2.6.8-2
- New upstream release
- Use the upstream xattr patch instead of mine. This closes