From 01b791c0fa73058c109e0c10b523b4c6cca8e470 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 12 May 2022 16:30:58 +0200 Subject: [PATCH] Define license for hex.pm using SPDX identifier Until now, when publishing package to hex.pm, it complained: > The following licenses are not recognized by SPDX: > * GPLv2 > Consider using licenses from https://spdx.org/licenses --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 003a48e91..b3348a6ec 100644 --- a/mix.exs +++ b/mix.exs @@ -164,7 +164,7 @@ defmodule Ejabberd.MixProject do "COPYING", "README.md", "mix.exs", "rebar.config", "rebar.config.script", "vars.config"], maintainers: ["ProcessOne"], - licenses: ["GPLv2"], + licenses: ["GPL-2.0-or-later"], links: %{"Site" => "https://www.ejabberd.im", "Documentation" => "http://docs.ejabberd.im", "Source" => "https://github.com/processone/ejabberd",