]> git.pld-linux.org Git - packages/rsnapshot.git/commitdiff
- run test suite. Don't rely on search path - use full path to rsync.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 4 Dec 2018 11:11:40 +0000 (12:11 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 4 Dec 2018 11:11:40 +0000 (12:11 +0100)
rsnapshot.spec

index 6f10519cab98729aaff4b47b44dd2c8aa9534289..808a2cc9fa0865b71ed23b7c6c51f9c29dfcd7c5 100644 (file)
@@ -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
 
This page took 0.116615 seconds and 4 git commands to generate.