5 Commits

3 changed files with 24 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
name: feed
version: 1.3.2.1
x-revision: 4
x-revision: 5
license: BSD3
license-file: LICENSE
category: Text
@@ -83,18 +83,18 @@ library
Data.Text.Util
Data.XML.Compat
build-depends:
base >= 4 && < 4.20
, base-compat >= 0.9 && < 0.14
base >= 4 && < 4.22
, base-compat >= 0.9 && < 0.15
, bytestring >= 0.9 && < 0.13
, old-locale == 1.0.*
, old-time >= 1 && < 1.2
, safe == 0.3.*
, text < 1.3 || >= 2.0 && < 2.2
, time < 1.13
, time < 1.15
, time-locale-compat == 0.1.*
, utf8-string < 1.1
, xml-types >= 0.3.6 && < 0.4
, xml-conduit >= 1.3 && < 1.10
, xml-conduit >= 1.3 && < 1.11
test-suite tests
ghc-options: -Wall
@@ -121,8 +121,8 @@ test-suite tests
Text.RSS.Tests
Text.RSS.Utils
build-depends:
base >= 4.6 && < 4.20
, base-compat >= 0.9 && < 0.14
base >= 4.6 && < 4.22
, base-compat >= 0.9 && < 0.15
, HUnit >= 1.2 && < 1.7
, feed
, old-time >= 1 && < 1.2
@@ -130,9 +130,9 @@ test-suite tests
, test-framework == 0.8.*
, test-framework-hunit == 0.3.*
, text < 1.3 || >= 2.0 && < 2.2
, time < 1.13
, time < 1.15
, xml-types >= 0.3.6 && < 0.4
, xml-conduit >= 1.3 && < 1.10
, xml-conduit >= 1.3 && < 1.11
test-suite readme
ghc-options: -Wall -pgmL markdown-unlit
@@ -144,10 +144,10 @@ test-suite readme
type: exitcode-stdio-1.0
build-depends:
base >= 4.6
, base-compat >= 0.9 && < 0.13
, base-compat >= 0.9 && < 0.15
, text
, feed
, xml-conduit
, xml-conduit < 1.10
, xml-types
build-tool-depends:
markdown-unlit:markdown-unlit >= 0.4 && < 0.6

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun May 18 10:04:28 UTC 2025 - Peter Simons <psimons@suse.com>
- Update feed to version 1.3.2.1 revision 5.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon Dec 16 07:54:45 UTC 2024 - Peter Simons <psimons@suse.com>
- Jailbreak version constraint on base to fix the build.
-------------------------------------------------------------------
Tue Feb 27 19:34:31 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-feed
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@ Summary: Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds
License: BSD-3-Clause
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/4.cabal#/%{pkg_name}.cabal
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/5.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-base-compat-prof
@@ -111,7 +111,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
cabal-tweak-dep-ver base-compat '< 0.13' '< 1'
%build
%ghc_lib_build