fix build without https
This commit is contained in:
parent
65e42bdbf5
commit
c8d04e89b8
19
pandoc-1.15.0.6-zip-archive-import.patch
Normal file
19
pandoc-1.15.0.6-zip-archive-import.patch
Normal file
@ -0,0 +1,19 @@
|
||||
--- pandoc-1.15.0.6/src/Text/Pandoc/Shared.hs~ 2015-07-16 02:05:34.000000000 +0900
|
||||
+++ pandoc-1.15.0.6/src/Text/Pandoc/Shared.hs 2015-09-18 14:22:00.106132376 +0900
|
||||
@@ -150,7 +150,6 @@
|
||||
import System.Environment (getEnv)
|
||||
import Network.HTTP.Types.Header ( hContentType)
|
||||
import Network (withSocketsDo)
|
||||
-import Codec.Archive.Zip
|
||||
#else
|
||||
import Network.URI (parseURI)
|
||||
import Network.HTTP (findHeader, rspBody,
|
||||
@@ -158,6 +157,8 @@
|
||||
import Network.Browser (browse, setAllowRedirects, setOutHandler, request)
|
||||
#endif
|
||||
|
||||
+import Codec.Archive.Zip
|
||||
+
|
||||
--
|
||||
-- List processing
|
||||
--
|
||||
@ -14,6 +14,7 @@ Summary: Conversion between markup formats
|
||||
License: GPLv2+
|
||||
Url: https://hackage.haskell.org/package/%{name}
|
||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
Patch1: pandoc-1.15.0.6-zip-archive-import.patch
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
@ -162,6 +163,7 @@ or texlive-collection-luatex respectively.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .orig
|
||||
cabal-tweak-flag https False
|
||||
|
||||
|
||||
@ -290,6 +292,7 @@ fi
|
||||
%changelog
|
||||
* Fri Sep 18 2015 Jens Petersen <petersen@redhat.com> - 1.15.0.6-1
|
||||
- update to 1.15.0.6
|
||||
- fix build without https
|
||||
|
||||
* Mon Aug 31 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.13.2-4
|
||||
- Rebuild (aarch64 vector hashes)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user