disable js embedding - can't embed bundled lib
This commit is contained in:
parent
1e5c1c5270
commit
ea39c1be73
|
@ -0,0 +1,11 @@
|
|||
--- shake-0.19.1/shake.cabal~ 2020-06-07 05:12:07.000000000 +0800
|
||||
+++ shake-0.19.1/shake.cabal 2020-06-24 15:58:42.102883745 +0800
|
||||
@@ -234,7 +234,7 @@
|
||||
unordered-containers >= 0.2.7,
|
||||
utf8-string >= 0.3
|
||||
|
||||
- cpp-options: -DFILE_EMBED
|
||||
+ -- cpp-options: -DFILE_EMBED
|
||||
|
||||
if flag(portable)
|
||||
cpp-options: -DPORTABLE
|
|
@ -30,6 +30,7 @@ Source3: https://hackage.haskell.org/package/%{filepattern}/%{filepattern
|
|||
Source4: https://hackage.haskell.org/package/%{heaps}/%{heaps}.tar.gz
|
||||
Source5: https://hackage.haskell.org/package/%{jsdgtable}/%{jsdgtable}.tar.gz
|
||||
# End cabal-rpm sources
|
||||
Patch0: shake-disable-embed-files.patch
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
|
@ -40,7 +41,6 @@ BuildRequires: ghc-bytestring-prof
|
|||
BuildRequires: ghc-deepseq-prof
|
||||
BuildRequires: ghc-directory-prof
|
||||
BuildRequires: ghc-extra-prof
|
||||
BuildRequires: ghc-file-embed-prof
|
||||
BuildRequires: ghc-filepath-prof
|
||||
#BuildRequires: ghc-filepattern-prof
|
||||
BuildRequires: ghc-hashable-prof
|
||||
|
@ -155,6 +155,7 @@ This package provides the Haskell %{name} profiling library.
|
|||
# Begin cabal-rpm setup:
|
||||
%setup -q -a1 -a2 -a3 -a4 -a5
|
||||
# End cabal-rpm setup
|
||||
%patch0 -p1 -b .orig
|
||||
|
||||
|
||||
%build
|
||||
|
@ -217,6 +218,7 @@ rm %{buildroot}%{_datadir}/%{pkgver}/docs/manual/*
|
|||
%changelog
|
||||
* Fri Jun 19 2020 Jens Petersen <petersen@redhat.com> - 0.19.1-15
|
||||
- update to 0.19.1
|
||||
- disable js embedding
|
||||
|
||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.18.5-14
|
||||
- update to 0.18.5
|
||||
|
|
Loading…
Reference in New Issue