commit 4a9797b975969452efdc9f62d6b7ca23ab527e9e
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Feb 8 01:25:04 2015 +0200

    fix tests

 mirall.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/mirall.spec b/mirall.spec
index 7b566f3..a6dfc7b 100644
--- a/mirall.spec
+++ b/mirall.spec
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_without qt4             # build Qt4
 %bcond_without nautilus                # build Nautilus extension
-%bcond_with    tests           # build without tests
+%bcond_without tests           # build without tests
 
 %define        qtver   4.7.0
 Summary:       Desktop file sync client for directory sharing and 
syncronization
@@ -74,6 +74,10 @@ Header files for %{name}
 # Keep tests in build dir
 %{__sed} -i -e "s#\"/tmp#\"$(pwd)#g" test/test*.h
 
+# touch is in /bin
+# https://github.com/owncloud/client/pull/2793
+%{__sed} -i -e 's,/usr/bin/touch,/bin/touch,' test/testfolderwatcher.h
+
 %if %{without nautilus}
 %{__sed} -i -e "s/add_subdirectory(nautilus)//" 
shell_integration/CMakeLists.txt
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mirall.git/commitdiff/4a9797b975969452efdc9f62d6b7ca23ab527e9e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to