From de26cd4ef0cfec52e74ed61e06e479a3dd31b779 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Mon, 5 Jul 2021 00:21:17 +0800 Subject: [PATCH] Remove >= from cabal-version Fixes warnings like: ``` Warning: test/testdata/testdata.cabal:3:27: Packages with 'cabal-version: 1.12' or later should specify a specific version of the Cabal spec of the form 'cabal-version: x.y'. Use 'cabal-version: 2.0'. ``` --- install/hls-install.cabal | 2 +- test/testdata/completion/completions.cabal | 2 +- test/testdata/definition/definitions.cabal | 2 +- test/testdata/testdata.cabal | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install/hls-install.cabal b/install/hls-install.cabal index 4703e901ff..8bf0854cfa 100644 --- a/install/hls-install.cabal +++ b/install/hls-install.cabal @@ -6,7 +6,7 @@ author: Many, TBD when we release maintainer: samuel.pilz@posteo.net copyright: 2019 build-type: Simple -cabal-version: >=2.0 +cabal-version: 2.0 library hs-source-dirs: src diff --git a/test/testdata/completion/completions.cabal b/test/testdata/completion/completions.cabal index d2c23bd86e..8949d28622 100644 --- a/test/testdata/completion/completions.cabal +++ b/test/testdata/completion/completions.cabal @@ -1,6 +1,6 @@ name: completions version: 0.1.0.0 -cabal-version: >= 2.0 +cabal-version: 2.0 build-type: Simple executable compl-exe diff --git a/test/testdata/definition/definitions.cabal b/test/testdata/definition/definitions.cabal index 3ddc941472..cde0040a7e 100644 --- a/test/testdata/definition/definitions.cabal +++ b/test/testdata/definition/definitions.cabal @@ -1,6 +1,6 @@ name: definitions version: 0.1.0.0 -cabal-version: >= 2.0 +cabal-version: 2.0 build-type: Simple library diff --git a/test/testdata/testdata.cabal b/test/testdata/testdata.cabal index fc8df98d64..279424e6b2 100644 --- a/test/testdata/testdata.cabal +++ b/test/testdata/testdata.cabal @@ -1,6 +1,6 @@ name: testdata version: 0.1.0.0 -cabal-version: >=2.0 +cabal-version: 2.0 build-type: Simple executable codeactionrename