From 4428f59ad549189f6e9c0eb039b3b4b72b625ac2 Mon Sep 17 00:00:00 2001
From: darmac <xiaojun2@hisilicon.com>
Date: Mon, 17 Aug 2020 06:32:23 +0800
Subject: [PATCH] kaldi:refine dependency openfst (#18047)

---
 var/spack/repos/builtin/packages/kaldi/package.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/var/spack/repos/builtin/packages/kaldi/package.py b/var/spack/repos/builtin/packages/kaldi/package.py
index 07d267c8af..e4e0fbeb7b 100644
--- a/var/spack/repos/builtin/packages/kaldi/package.py
+++ b/var/spack/repos/builtin/packages/kaldi/package.py
@@ -38,9 +38,8 @@ class Kaldi(Package):    # Does not use Autotools
     depends_on('openfst@1.4.1-patch', when='@2015-10-07')
     depends_on('openfst@1.6.0:', when='@2018-07-11')
     depends_on('openfst@1.6.0:', when='@2019-07-29')
-    depends_on('openfst@1.6.7:', when='@2019-09-29')
+    depends_on('openfst@1.6.7:1.7.3', when='@2019-09-29:')
     depends_on('cub', when='@2019-07-29:')
-    depends_on('openfst')
 
     patch('openfst-1.4.1.patch', when='@2015-10-07')
 
-- 
GitLab