osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-feed revision:7, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-feed?expand=0&rev=32
This commit is contained in:
Peter Simons 2024-02-05 22:00:58 +00:00 committed by Git OBS Bridge
parent 1d3f0df6a4
commit 5c5db8dad4
3 changed files with 22 additions and 12 deletions

View File

@ -1,6 +1,6 @@
name: feed
version: 1.3.2.1
x-revision: 2
x-revision: 3
license: BSD3
license-file: LICENSE
category: Text
@ -34,8 +34,11 @@ tested-with:
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.1
, GHC == 9.2.1
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.8
, GHC == 9.6.4
, GHC == 9.8.1
data-files:
tests/files/*.xml
extra-source-files:
@ -80,13 +83,13 @@ library
Data.Text.Util
Data.XML.Compat
build-depends:
base >= 4 && < 4.19
, base-compat >= 0.9 && < 0.14
base >= 4 && < 4.20
, base-compat >= 0.9 && < 0.13
, bytestring >= 0.9 && < 0.13
, old-locale == 1.0.*
, old-time >= 1 && < 1.2
, safe == 0.3.*
, text < 1.3 || ==2.0.*
, text < 1.3 || >= 2.0 && < 2.2
, time < 1.13
, time-locale-compat == 0.1.*
, utf8-string < 1.1
@ -118,15 +121,15 @@ test-suite tests
Text.RSS.Tests
Text.RSS.Utils
build-depends:
base >= 4.6
, base-compat
base >= 4.6 && < 4.20
, base-compat >= 0.9 && < 0.13
, HUnit >= 1.2 && < 1.7
, feed
, old-time >= 1 && < 1.2
, syb
, test-framework == 0.8.*
, test-framework-hunit == 0.3.*
, text < 1.3 || ==2.0.*
, text < 1.3 || >= 2.0 && < 2.2
, time < 1.13
, xml-types >= 0.3.6 && < 0.4
, xml-conduit >= 1.3 && < 1.10
@ -141,7 +144,7 @@ test-suite readme
type: exitcode-stdio-1.0
build-depends:
base >= 4.6
, base-compat
, base-compat >= 0.9 && < 0.13
, text
, feed
, xml-conduit

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Feb 4 13:55:23 UTC 2024 - Peter Simons <psimons@suse.com>
- Update feed to version 1.3.2.1 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Fri Aug 4 19:44:22 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-feed
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 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/2.cabal#/%{pkg_name}.cabal
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-base-compat-prof
@ -111,6 +111,7 @@ 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