SHA256
1
0
forked from pool/rsync

Accepting request 287612 from home:elvigia:branches:network

- rsync-no-libattr.patch: Use AC_SEARCH_LIBS([getxattr], [attr])
  instead of AC_CHECK_LIB(attr,getxattr) so libattr is 
  not injected as a dependency when glibc is enough since
  several years to use getxattr.

OBS-URL: https://build.opensuse.org/request/show/287612
OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=43
This commit is contained in:
2015-02-25 08:07:47 +00:00
committed by Git OBS Bridge
parent 814aea5ad4
commit c62c1a7a45
3 changed files with 22 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ Source11: http://rsync.samba.org/ftp/rsync/src/rsync-patches-%{version}.ta
Source12: %{name}.keyring
Patch3: system-zlib.diff
Patch4: rsync-CVE-2014-9512.patch
Patch5: rsync-no-libattr.patch
BuildRequires: autoconf
BuildRequires: libacl-devel
BuildRequires: openslp-devel
@@ -86,7 +87,7 @@ patch -p1 < patches/xattrs.diff
patch -p1 < patches/slp.diff
# fate#312479
patch -p1 < patches/time-limit.diff
%patch5 -p1
%build
autoreconf -fiv
export CFLAGS="%optflags -fPIC -DPIC -fPIE"
@@ -96,6 +97,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now -pie"
--enable-slp \
--enable-acl-support \
--enable-xattr-support
make reconfigure
make %{?_smp_mflags}
%install