[packages/rsync-bpc] - rebuild ac, sync a bit with rsync.spec
adamg
adamg at pld-linux.org
Sat Feb 22 19:26:38 CET 2020
commit e3e3c8d85e9f63bd62a350522d88fda6c3d4effa
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Sat Feb 22 19:26:32 2020 +0100
- rebuild ac, sync a bit with rsync.spec
rsync-bpc.spec | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/rsync-bpc.spec b/rsync-bpc.spec
index 8ea9db5..e88cc72 100644
--- a/rsync-bpc.spec
+++ b/rsync-bpc.spec
@@ -1,3 +1,6 @@
+# Conditional build:
+%bcond_with tests # perform "make test"
+#
Summary: A customized version of rsync that is used as part of BackupPC
Name: rsync-bpc
Version: 3.1.2.1
@@ -9,7 +12,10 @@ Source0: https://github.com/backuppc/rsync-bpc/releases/download/%{version}/%{na
URL: https://github.com/backuppc/rsync-bpc
BuildRequires: acl-devel
BuildRequires: attr-devel
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake
BuildRequires: popt-devel
+BuildRequires: rpmbuild(macros) >= 1.318
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -30,9 +36,21 @@ Rsync-bpc serves no purpose outside of BackupPC.
%setup -q
%build
-%configure
+cp -f /usr/share/automake/config.sub .
+%{__autoheader}
+%{__autoconf}
+%configure \
+ LIBS="-lcrypto" \
+ %{?with_rsh:--with-rsh=rsh} \
+ --enable-ipv6 \
+ --enable-acl-support \
+ --enable-xattr-support \
+ --disable-debug
+%{__make} proto
%{__make}
+%{?with_tests:%{__make} test}
+
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rsync-bpc.git/commitdiff/e3e3c8d85e9f63bd62a350522d88fda6c3d4effa
More information about the pld-cvs-commit
mailing list