SPDX migration

This commit is contained in:
Jens Petersen 2023-01-29 22:44:58 +08:00
parent 938a3e810b
commit cd72da1b95
1 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,7 @@ Version: 2.6.2.2
Release: 37%{?dist}
Summary: A dependently typed functional programming language and proof assistant
License: MIT and BSD
License: MIT and BSD-3-Clause
Url: https://hackage.haskell.org/package/%{name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
@ -156,6 +156,7 @@ proof assistants based on dependent types, such as Coq, Epigram and NuPRL.
%package common
Summary: %{name} common files
License: MIT and BSD-3-Clause and BSD-2-Clause
BuildArch: noarch
%description common
@ -208,8 +209,8 @@ This package provides the Haskell %{name} profiling library.
%global main_version %{version}
%if %{defined ghclibdir}
%ghc_lib_subpackage %{geniplatemirror}
%ghc_lib_subpackage %{murmurhash}
%ghc_lib_subpackage -l BSD-3-Clause %{geniplatemirror}
%ghc_lib_subpackage -l BSD-3-Clause %{murmurhash}
%endif
%global version %{main_version}
@ -220,6 +221,7 @@ This package provides the Haskell %{name} profiling library.
%setup -q -a1 -a2
dos2unix -k -n %{SOURCE3} %{name}.cabal
# End cabal-rpm setup
# check the Agda version in the emacs mode
if ! grep -q \"%{version}\" src/data/emacs-mode/agda2-mode.el; then
echo "agda2-version in src/data/emacs-mode/agda2-mode.el out of sync!"