Bump cabal-version to 2.2 (#6377)

In b3cfdc2c7 the license was changed to GPL-2.0-or-later which is an
SPDX expression, however cabal only interprets the license field as an
SPDX expression if cabal-version is 2.2 or later.

Starting with 2.2 cabal-version also has to be the first statement in
the .cabal file.
This commit is contained in:
Lila 2020-05-18 23:29:43 +02:00 committed by GitHub
parent 1d3a3a027a
commit 57fa394eb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
cabal-version: 2.2
name: pandoc name: pandoc
version: 2.9.2.1 version: 2.9.2.1
cabal-version: 2.0
build-type: Simple build-type: Simple
license: GPL-2.0-or-later license: GPL-2.0-or-later
license-file: COPYING.md license-file: COPYING.md