refresh to cabal-rpm-2.1.0 including SPDX migration
This commit is contained in:
parent
73e5be8253
commit
db5a2532ef
|
@ -1,4 +1,4 @@
|
|||
# generated by cabal-rpm-2.0.9 --subpackage
|
||||
# generated by cabal-rpm-2.1.0 --subpackage
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name MemoTrie
|
||||
|
@ -13,7 +13,7 @@ Version: 0.6.10
|
|||
Release: 16%{?dist}
|
||||
Summary: Trie-based memo functions
|
||||
|
||||
License: BSD
|
||||
License: BSD-3-Clause
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
|
@ -23,10 +23,17 @@ Source1: https://hackage.haskell.org/package/%{newtypegenerics}/%{newtype
|
|||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros-extra
|
||||
BuildRequires: ghc-base-devel
|
||||
#BuildRequires: ghc-newtype-generics-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-base-prof
|
||||
#BuildRequires: ghc-newtype-generics-prof
|
||||
%endif
|
||||
# for missing dep 'newtype-generics':
|
||||
BuildRequires: ghc-transformers-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-transformers-prof
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
|
@ -98,7 +105,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||
# Begin cabal-rpm install
|
||||
%ghc_libs_install %{subpkgs}
|
||||
%ghc_lib_install
|
||||
%ghc_fix_rpath %{pkgver}
|
||||
# End cabal-rpm install
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue