update to 1.2.12

This commit is contained in:
Jens Petersen 2019-02-21 10:29:16 +08:00
parent a2936514c2
commit 4154a85003
4 changed files with 92 additions and 3 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/hslogger-1.2.6.tar.gz
/hslogger-1.2.9.tar.gz
/hslogger-1.2.10.tar.gz
/hslogger-1.2.12.tar.gz

View File

@ -7,14 +7,15 @@
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 1.2.10
Release: 11%{?dist}
Version: 1.2.12
Release: 1%{?dist}
Summary: Versatile logging framework
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -61,6 +62,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -98,6 +100,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 1.2.12-1
- update to 1.2.12
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.2.10-11
- refresh to cabal-rpm-0.13

83
hslogger-1.2.12.cabal Normal file
View File

@ -0,0 +1,83 @@
Cabal-Version: >= 1.8
Name: hslogger
Version: 1.2.12
x-revision: 1
License: BSD3
Maintainer: John Goerzen <jgoerzen@complete.org>
Author: John Goerzen
Stability: Stable
Copyright: Copyright (c) 2004-2018 John Goerzen
license-file: LICENSE
build-type: Simple
Homepage: http://software.complete.org/hslogger
Synopsis: Versatile logging framework
Description: hslogger is a logging framework for Haskell, roughly similar to
Python's logging module.
.
hslogger lets each log message have a priority and source be associated
with it. The programmer can then define global handlers that route
or filter messages based on the priority and source. hslogger also
has a syslog handler built in.
Category: Interfaces
extra-source-files: LICENSE,
contrib/java/build.xml,
contrib/java/hslogger4j.jar,
contrib/java/hslogger4j-plugins.xml,
contrib/java/org/haskell/hslogger/HsloggerLevel.java,
contrib/java/org/haskell/hslogger/LogFileXMLReceiver.java,
contrib/java/org/haskell/hslogger/XMLDecoder.java,
testsrc/Tests.hs,
testsrc/runtests.hs,
winbuild.bat
source-repository head
type: git
location: git@github.com:jgoerzen/hslogger.git
flag small_base
description: choose the new smaller, split-up base package.
flag buildtests
description: Build the executable to run unit tests
default: False
manual: True
Library
Exposed-Modules:
System.Log, System.Log.Handler, System.Log.Formatter,
System.Log.Handler.Simple, System.Log.Handler.Syslog,
System.Log.Handler.Growl, System.Log.Handler.Log4jXML,
System.Log.Logger
Extensions: CPP, ExistentialQuantification
Build-Depends: network < 2.9
, mtl < 2.3
if !os(windows)
Build-Depends: unix < 2.8
if flag(small_base)
build-depends: base >= 4 && < 4.13
, containers >= 0.4.2.1 && < 0.7
, directory < 1.4
, process < 1.7
, time < 1.10
, old-locale < 1.1
else
build-depends: base < 3
, time
Hs-Source-Dirs: src
test-suite runtests
type: exitcode-stdio-1.0
if flag(buildtests)
Buildable: True
else
Buildable: False
Main-Is: runtests.hs
HS-Source-Dirs: testsrc, ., src
Extensions: ExistentialQuantification, OverlappingInstances,
UndecidableInstances, CPP
build-depends: base
, HUnit

View File

@ -1 +1 @@
fd014c58631c952d0c99fb109cdff9f8 hslogger-1.2.10.tar.gz
SHA512 (hslogger-1.2.12.tar.gz) = a4dd318a2c1242dd289307a4b4b27d0bb74acd817eb39bbd205c215658e590436801f5277a1c91e8eb30fe8df6677a4b2901db24b52134b5e0ef9368536de861