From e2710c3b94ccc6b40a2477dce04fb124627dc4a6 Mon Sep 17 00:00:00 2001
From: inso <insomniak.fr@gmaiL.com>
Date: Sat, 24 Jun 2017 12:53:13 +0200
Subject: [PATCH] Fix libsodium path

---
 sakia.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sakia.spec b/sakia.spec
index 0e86e2f2..e4e78a79 100644
--- a/sakia.spec
+++ b/sakia.spec
@@ -34,10 +34,10 @@ if is_darwin:
 if is_linux:
     libsodium_path = ctypes.util.find_library('libsodium.so')
     if not libsodium_path:
-        if os.path.isfile('/usr/lib/x86_64-linux-gnu/libsodium.so.13'):
-            libsodium_path = "/usr/lib/x86_64-linux-gnu/libsodium.so.13"
-        if os.path.isfile('/usr/lib/i386-linux-gnu/libsodium.so.13'):
-            libsodium_path = "/usr/lib/i386-linux-gnu/libsodium.so.13"
+        if os.path.isfile('/usr/lib/x86_64-linux-gnu/libsodium.so.18.1.1'):
+            libsodium_path = "/usr/lib/x86_64-linux-gnu/libsodium.so.18.1.1"
+        if os.path.isfile('/usr/lib/i386-linux-gnu/libsodium.so.18.1.1'):
+            libsodium_path = "/usr/lib/i386-linux-gnu/libsodium.so.18.1.1"
 
     a.binaries = a.binaries + TOC([('libsodium.so', libsodium_path, 'BINARY')])
     a.datas = a.datas + [('sakia/root_servers.yml', 'src/sakia/root_servers.yml', 'DATA')]
-- 
GitLab