move type-equality subpackage to ghc-constraints
This commit is contained in:
parent
7b003ef6d2
commit
abb8cedb05
|
@ -5,8 +5,7 @@
|
|||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
%global liftedasync lifted-async-0.10.2.3
|
||||
%global typeequality type-equality-1
|
||||
%global subpkgs %{typeequality} %{liftedasync}
|
||||
%global subpkgs %{liftedasync}
|
||||
|
||||
# testsuite missing deps: hspec-contrib
|
||||
|
||||
|
@ -21,8 +20,7 @@ Url: https://hackage.haskell.org/package/%{pkg_name}
|
|||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{liftedasync}/%{liftedasync}.tar.gz
|
||||
Source2: https://hackage.haskell.org/package/%{typeequality}/%{typeequality}.tar.gz
|
||||
Source3: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
|
@ -129,7 +127,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||
|
||||
%if %{defined ghclibdir}
|
||||
%ghc_lib_subpackage -l BSD-3-Clause %{liftedasync}
|
||||
%ghc_lib_subpackage -l BSD-3-Clause %{typeequality}
|
||||
%endif
|
||||
|
||||
%global version %{main_version}
|
||||
|
@ -137,12 +134,9 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver} -a1 -a2
|
||||
cp -bp %{SOURCE3} %{pkg_name}.cabal
|
||||
%setup -q -n %{pkgver} -a1
|
||||
cp -bp %{SOURCE2} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
( cd %{typeequality}
|
||||
cabal-tweak-dep-ver base '<4.14' '<4.17'
|
||||
)
|
||||
|
||||
|
||||
%build
|
||||
|
|
1
sources
1
sources
|
@ -1,3 +1,2 @@
|
|||
SHA512 (shelly-1.10.0.tar.gz) = b16e410dbf96b33b28069c88375296a6516bb99ec0b35058175bc466da5b400492e96ee3ee18d9208c8a096fd97df573d63cdef1eb26142e74ea13acd02e99ca
|
||||
SHA512 (lifted-async-0.10.2.3.tar.gz) = b21ab3ccf04de748d3b0bf0ca8ae2c490fdfad4bcc5b9053a196da424923866d58bb735bc208ca600ae2d4d1d66545adc52e0826ba6bb63a7089d4946493e59a
|
||||
SHA512 (type-equality-1.tar.gz) = 633675251719afa59c311ae82d18476d6e000fbbdc553a29da598da38a29cf73fffcbcd4b23a70dd397f10734ba6617633390874eea8a563a1e258654a9fe7d8
|
||||
|
|
Loading…
Reference in New Issue