diff --git a/ghc-xml-conduit.changes b/ghc-xml-conduit.changes index 84943d6..8449c4e 100644 --- a/ghc-xml-conduit.changes +++ b/ghc-xml-conduit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun May 22 09:54:16 UTC 2022 - Peter Simons + +- Update xml-conduit to version 1.9.1.1 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Fri Apr 16 11:05:14 UTC 2021 - psimons@suse.com diff --git a/ghc-xml-conduit.spec b/ghc-xml-conduit.spec index 4605a01..2d91036 100644 --- a/ghc-xml-conduit.spec +++ b/ghc-xml-conduit.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-xml-conduit # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ Summary: Pure-Haskell utilities for dealing with XML with the conduit pac License: MIT URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-blaze-html-devel @@ -64,6 +65,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/xml-conduit.cabal b/xml-conduit.cabal new file mode 100644 index 0000000..89b779a --- /dev/null +++ b/xml-conduit.cabal @@ -0,0 +1,79 @@ +cabal-version: >= 1.14 + +name: xml-conduit +version: 1.9.1.1 +x-revision: 1 +license: MIT +license-file: LICENSE +author: Michael Snoyman , Aristid Breitkreuz +maintainer: Michael Snoyman +synopsis: Pure-Haskell utilities for dealing with XML with the conduit package. +description: Hackage documentation generation is not reliable. For up to date documentation, please see: . +category: XML, Conduit +stability: Stable +build-type: Custom +homepage: http://github.com/snoyberg/xml +extra-source-files: README.md + ChangeLog.md +tested-with: GHC >=8.0 && <8.12 + +custom-setup + setup-depends: base >= 4 && <5, Cabal, cabal-doctest >= 1 && <1.1 + +library + build-depends: base >= 4 && < 5 + , conduit >= 1.3 && < 1.4 + , conduit-extra >= 1.3 && < 1.4 + , resourcet >= 1.2 && < 1.3 + , bytestring >= 0.10.2 + , text >= 0.7 + , containers >= 0.2 + , xml-types >= 0.3.4 && < 0.4 + , attoparsec >= 0.10 + , transformers >= 0.2 && < 0.7 + , data-default-class + , blaze-markup >= 0.5 + , blaze-html >= 0.5 + , deepseq >= 1.1.0.0 + exposed-modules: Text.XML.Stream.Parse + Text.XML.Stream.Render + Text.XML.Unresolved + Text.XML.Cursor + Text.XML.Cursor.Generic + Text.XML + other-modules: Text.XML.Stream.Token + ghc-options: -Wall + hs-source-dirs: src + default-language: Haskell2010 + +test-suite unit + type: exitcode-stdio-1.0 + main-is: unit.hs + hs-source-dirs: test + build-depends: base + , containers + , text + , transformers + , bytestring + , xml-conduit + , hspec >= 1.3 + , HUnit + , xml-types >= 0.3.1 + , conduit + , conduit-extra + , blaze-markup + , resourcet + default-language: Haskell2010 + +test-suite doctest + type: exitcode-stdio-1.0 + main-is: doctest.hs + hs-source-dirs: test + build-depends: base + , doctest >= 0.8 + , xml-conduit + default-language: Haskell2010 + +source-repository head + type: git + location: git://github.com/snoyberg/xml.git