diff --git a/ghc-time-manager.changes b/ghc-time-manager.changes index c571a37..df6ca6e 100644 --- a/ghc-time-manager.changes +++ b/ghc-time-manager.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 1 00:22:42 UTC 2022 - Peter Simons + +- 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 diff --git a/ghc-time-manager.spec b/ghc-time-manager.spec index 8548b8c..f88c882 100644 --- a/ghc-time-manager.spec +++ b/ghc-time-manager.spec @@ -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 diff --git a/time-manager.cabal b/time-manager.cabal new file mode 100644 index 0000000..fb73539 --- /dev/null +++ b/time-manager.cabal @@ -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