Accepting request 1059121 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/1059121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-time-manager?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2023-01-18 12:10:50 +00:00 committed by Git OBS Bridge
commit c84629e632
3 changed files with 29 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 1 00:22:42 UTC 2022 - Peter Simons <psimons@suse.com>
- Update time-manager to version 0.0.0 revision 1.
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-time-manager
#
# 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,6 +24,7 @@ Summary: Scalable timer
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-auto-update-devel
BuildRequires: ghc-rpm-macros
@ -44,6 +45,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

20
time-manager.cabal Normal file
View File

@ -0,0 +1,20 @@
Name: time-manager
Version: 0.0.0
x-revision: 1
Synopsis: Scalable timer
License: MIT
License-file: LICENSE
Author: Michael Snoyman and Kazu Yamamoto
Maintainer: kazu@iij.ad.jp
Homepage: http://github.com/yesodweb/wai
Category: System
Build-Type: Simple
Cabal-Version: >=1.8
Stability: Stable
Description: Scalable timer functions provided by a timer manager.
Library
Build-Depends: base >= 4.8 && < 5
, auto-update >= 0.1.3
Exposed-modules: System.TimeManager
Ghc-Options: -Wall