Accepting request 304905 from devel:languages:haskell:lts

- update to 0.13.3
* #562, treat <script> specially as per HTML5
* #616, extend to all HTML5 entities
* Optimise lookupNamedEntity
* Replace escapeXMLChar with escapeXML
* Change all Entity functions to return String, not Int or Char

OBS-URL: https://build.opensuse.org/request/show/304905
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tagsoup?expand=0&rev=8
This commit is contained in:
Peter Trommler 2015-05-04 18:58:12 +00:00 committed by Git OBS Bridge
parent 0987d56daa
commit d625d13b94
5 changed files with 27 additions and 24 deletions

View File

@ -1,3 +0,0 @@
<services>
<service name="download_files" mode="localonly"/>
</services>

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Apr 23 19:21:25 UTC 2015 - mimi.vx@gmail.com
- update to 0.13.3
* #562, treat <script> specially as per HTML5
* #616, extend to all HTML5 entities
* Optimise lookupNamedEntity
* Replace escapeXMLChar with escapeXML
* Change all Entity functions to return String, not Int or Char
-------------------------------------------------------------------
Mon Oct 21 14:49:55 UTC 2013 - sbahling@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-tagsoup
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,15 +18,15 @@
%global pkg_name tagsoup
Name: ghc-tagsoup
Version: 0.12.8
Name: ghc-%{pkg_name}
Version: 0.13.3
Release: 0
Summary: Parsing and extracting information from (possibly malformed) HTML/XML documents
License: BSD-3-Clause
Group: System/Libraries
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-Cabal-devel
@ -38,10 +38,10 @@ BuildRequires: ghc-text-devel
# End cabal-rpm deps
%description
TagSoup is a library for parsing HTML/XML. It supports the HTML 5 specification,
and can be used to parse either well-formed XML, or unstructured and malformed HTML
from the web. The library also provides useful functions to extract information
from an HTML document, making it ideal for screen-scraping.
TagSoup is a library for parsing HTML/XML. It supports the HTML 5
specification, and can be used to parse either well-formed XML, or unstructured
and malformed HTML from the web. The library also provides useful functions to
extract information from an HTML document, making it ideal for screen-scraping.
Users should start from the "Text.HTML.TagSoup" module.
@ -49,18 +49,13 @@ Users should start from the "Text.HTML.TagSoup" module.
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other
Requires: ghc-compiler
Requires(post): ghc-compiler
Requires(postun): ghc-compiler
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
%description devel
TagSoup is a library for parsing HTML/XML. It supports the HTML 5 specification,
and can be used to parse either well-formed XML, or unstructured and malformed HTML
from the web. The library also provides useful functions to extract information
from an HTML document, making it ideal for screen-scraping.
Users should start from the "Text.HTML.TagSoup" module.
This package provides the Haskell %{pkg_name} library development files.
%prep
@ -84,5 +79,6 @@ Users should start from the "Text.HTML.TagSoup" module.
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc README.md
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a31e49133690b546a6b948a9ab9f924aaf5bd94f9e3e0afb99bb570c104c9515
size 30647

3
tagsoup-0.13.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32a862118d7836e9beb25fe4b317472fab6e1d41daefa86067231b328cff668d
size 42279