+- 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:
parent
1447eaa94e
commit
f6298cb5eb
13
rsync.spec
13
rsync.spec
@ -1,13 +1,14 @@
|
|||||||
Summary: A program for synchronizing files over a network.
|
Summary: A program for synchronizing files over a network.
|
||||||
Name: rsync
|
Name: rsync
|
||||||
Version: 2.6.8
|
Version: 2.6.8
|
||||||
Release: 2
|
Release: 3
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
# TAG: for pre versions use
|
# 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}pre1.tar.gz
|
||||||
Source: ftp://rsync.samba.org/pub/rsync/rsync-%{version}.tar.gz
|
Source: ftp://rsync.samba.org/pub/rsync/rsync-%{version}.tar.gz
|
||||||
Source1: rsync.xinetd
|
Source1: rsync.xinetd
|
||||||
|
Patch1: rsync-2.6.8-xattrs_bug.patch
|
||||||
|
BuildRequires: libacl-devel, libattr-devel
|
||||||
Prefix: %{_prefix}
|
Prefix: %{_prefix}
|
||||||
BuildRoot: /var/tmp/%{name}-root
|
BuildRoot: /var/tmp/%{name}-root
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -25,6 +26,7 @@ package.
|
|||||||
# TAG: for pre versions use
|
# TAG: for pre versions use
|
||||||
# % setup -q -n rsync-%{version}pre1
|
# % setup -q -n rsync-%{version}pre1
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1 -b .xattrs_bug
|
||||||
patch -p1 < patches/acls.diff
|
patch -p1 < patches/acls.diff
|
||||||
patch -p1 < patches/xattrs.diff
|
patch -p1 < patches/xattrs.diff
|
||||||
|
|
||||||
@ -33,7 +35,7 @@ rm -fr autom4te.cache
|
|||||||
autoconf
|
autoconf
|
||||||
autoheader
|
autoheader
|
||||||
%configure \
|
%configure \
|
||||||
--with-acl-support --with-xattr-support
|
--enable-acl-support --enable-xattr-support
|
||||||
make proto
|
make proto
|
||||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
@ -56,6 +58,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man5/rsyncd.conf.5*
|
%{_mandir}/man5/rsyncd.conf.5*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon May 8 2006 Jay Fenlason <fenlason@redhat.com> 2.6.8-2
|
||||||
- New upstream release
|
- New upstream release
|
||||||
- Use the upstream xattr patch instead of mine. This closes
|
- Use the upstream xattr patch instead of mine. This closes
|
||||||
|
Loading…
Reference in New Issue
Block a user