[packages/libgit2] disable online tests with workaround from fedora; rel 2

atler atler at pld-linux.org
Thu Jul 25 19:49:41 CEST 2019


commit c2bb0da7f04f427c11aa4009778c431e5bfe5627
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jul 25 19:48:08 2019 +0200

    disable online tests with workaround from fedora; rel 2

 libgit2.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgit2.spec b/libgit2.spec
index 056935f..edd4667 100644
--- a/libgit2.spec
+++ b/libgit2.spec
@@ -9,7 +9,7 @@ Summary:	C Git library
 Summary(pl.UTF-8):	Biblioteka Git dla C
 Name:		libgit2
 Version:	0.28.2
-Release:	1
+Release:	2
 License:	GPL v2 with linking exception
 Group:		Libraries
 #Source0Download: https://github.com/libgit2/libgit2/releases
@@ -62,7 +62,7 @@ Pliki nagłówkowe biblioteki libgit2.
 %patch0 -p1
 
 # Don't test network
-sed -i 's/ionline/xonline/' tests/CMakeLists.txt
+sed -i '/ADD_TEST(online/s/^/#/' tests/CMakeLists.txt
 
 %build
 install -d build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgit2.git/commitdiff/c2bb0da7f04f427c11aa4009778c431e5bfe5627



More information about the pld-cvs-commit mailing list