Accepting request 994042 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/994042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-ekg-core?expand=0&rev=3
This commit is contained in:
2022-08-10 15:13:19 +00:00
committed by Git OBS Bridge
3 changed files with 12 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
cabal-version: 1.18
name: ekg-core
version: 0.1.1.7
x-revision: 1
x-revision: 2
synopsis: Tracking of system metrics
description:
This library lets you defined and track system metrics.
@@ -34,10 +34,10 @@ library
System.Metrics.ThreadId
build-depends:
ghc-prim < 0.7,
base >= 4.6 && < 4.15,
ghc-prim < 0.10,
base >= 4.6 && < 5,
containers >= 0.5 && < 0.7,
text < 1.3,
text < 2.1,
unordered-containers < 0.3
default-language: Haskell2010

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun May 29 16:57:12 UTC 2022 - Peter Simons <psimons@suse.com>
- Update ekg-core to version 0.1.1.7 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-ekg-core
#
# Copyright (c) 2020 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
@@ -24,7 +24,7 @@ Summary: Tracking of system metrics
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/1.cabal#/%{pkg_name}.cabal
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-rpm-macros
@@ -48,8 +48,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
cabal-tweak-dep-ver base '< 4.15' '< 5'
cabal-tweak-dep-ver ghc-prim '< 0.7' '< 1'
%build
%ghc_lib_build