From 4e82fbfc2323b27ed351d420a5aef8a7a1a27c7f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 4 Dec 2018 12:11:40 +0100 Subject: [PATCH] - run test suite. Don't rely on search path - use full path to rsync. --- rsnapshot.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rsnapshot.spec b/rsnapshot.spec index 6f10519..808a2cc 100644 --- a/rsnapshot.spec +++ b/rsnapshot.spec @@ -1,3 +1,4 @@ +%bcond_without tests %include /usr/lib/rpm/macros.perl Summary: Program for efficient remote updates of backup sets Summary(pl.UTF-8): Program do wydajnego zdalnego uaktualniania zbiorów kopii zapasowych @@ -29,9 +30,11 @@ w oparciu o rsynca. %build %configure \ - RSYNC=rsync + RSYNC=%{_bindir}/rsync %{__make} +%{?with_tests:%{__make} test} + %install rm -rf $RPM_BUILD_ROOT -- 2.44.0