osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-fast-logger revision:6, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fast-logger?expand=0&rev=73
This commit is contained in:
Peter Simons 2023-03-30 08:26:23 +00:00 committed by Git OBS Bridge
parent 50ddce78b6
commit 736f695daf
5 changed files with 47 additions and 71 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:435f6e7e0771b9b525550c292a941ab5726b233e7d91fdeca707e3cdb531a8e7
size 12772

3
fast-logger-3.1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65e7d3d6175713c19c4818f38419f65fa3f09dc7af58282736b59fb05a2310d0
size 12843

View File

@ -1,65 +0,0 @@
Name: fast-logger
Version: 3.1.1
x-revision: 1
Author: Kazu Yamamoto <kazu@iij.ad.jp>
Maintainer: Kazu Yamamoto <kazu@iij.ad.jp>
License: BSD3
License-File: LICENSE
Synopsis: A fast logging system
Description: A fast logging system for Haskell
Homepage: https://github.com/kazu-yamamoto/logger
Category: System
Cabal-Version: >= 1.10
Build-Type: Simple
Extra-Source-Files: README.md ChangeLog.md
Tested-With: GHC ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.3
Library
Default-Language: Haskell2010
GHC-Options: -Wall
Exposed-Modules: System.Log.FastLogger
System.Log.FastLogger.Date
System.Log.FastLogger.File
System.Log.FastLogger.Internal
System.Log.FastLogger.LoggerSet
System.Log.FastLogger.Types
Other-Modules: System.Log.FastLogger.Imports
System.Log.FastLogger.IO
System.Log.FastLogger.FileIO
System.Log.FastLogger.LogStr
System.Log.FastLogger.Logger
Build-Depends: base >= 4.9 && < 5
, array
, auto-update >= 0.1.2
, easy-file >= 0.2
, bytestring >= 0.10.4
, directory
, filepath
, text
, unix-time >= 0.4.4
, unix-compat >= 0.2
if impl(ghc < 7.8)
Build-Depends: bytestring-builder
if impl(ghc >= 8)
Default-Extensions: Strict StrictData
Test-Suite spec
Main-Is: Spec.hs
Hs-Source-Dirs: test
Default-Language: Haskell2010
Type: exitcode-stdio-1.0
Ghc-Options: -Wall -threaded
Other-Modules: FastLoggerSpec
Build-Tools: hspec-discover >= 2.6
Build-Depends: base >= 4 && < 5
, bytestring >= 0.10.4
, directory
, fast-logger
, hspec
if impl(ghc >= 8)
Default-Extensions: Strict StrictData
Source-Repository head
Type: git
Location: git://github.com/kazu-yamamoto/logger.git

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Feb 6 05:43:48 UTC 2023 - Peter Simons <psimons@suse.com>
- Update fast-logger to version 3.1.2.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/fast-logger-3.1.2/src/ChangeLog.md
-------------------------------------------------------------------
Sun Jan 29 01:01:40 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -17,29 +17,41 @@
%global pkg_name fast-logger
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 3.1.1
Version: 3.1.2
Release: 0
Summary: A fast logging system
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
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof
BuildRequires: ghc-auto-update-devel
BuildRequires: ghc-auto-update-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-directory-devel
BuildRequires: ghc-directory-prof
BuildRequires: ghc-easy-file-devel
BuildRequires: ghc-easy-file-prof
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
BuildRequires: ghc-unix-compat-devel
BuildRequires: ghc-unix-compat-prof
BuildRequires: ghc-unix-time-devel
BuildRequires: ghc-unix-time-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-hspec-prof
%endif
%description
@ -55,9 +67,24 @@ Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%package -n ghc-%{pkg_name}-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
%description -n ghc-%{pkg_name}-doc
This package provides the Haskell %{pkg_name} library documentation.
%package -n ghc-%{pkg_name}-prof
Summary: Haskell %{pkg_name} profiling library
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
%description -n ghc-%{pkg_name}-prof
This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
@ -80,4 +107,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%files devel -f %{name}-devel.files
%doc ChangeLog.md README.md
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog