From 50ddce78b69c9894f1a4dd2a0525bff0171e31c14e1e78c38ed41b5273dbbe54 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 31 Jan 2023 22:02:48 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-fast-logger revision:16, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fast-logger?expand=0&rev=72 --- fast-logger.cabal | 65 +++++++++++++++++++++++++++++++++++++++++ ghc-fast-logger.changes | 6 ++++ ghc-fast-logger.spec | 4 ++- 3 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 fast-logger.cabal diff --git a/fast-logger.cabal b/fast-logger.cabal new file mode 100644 index 0000000..1f89973 --- /dev/null +++ b/fast-logger.cabal @@ -0,0 +1,65 @@ +Name: fast-logger +Version: 3.1.1 +x-revision: 1 +Author: Kazu Yamamoto +Maintainer: Kazu Yamamoto +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 diff --git a/ghc-fast-logger.changes b/ghc-fast-logger.changes index 1aaee19..f52a48d 100644 --- a/ghc-fast-logger.changes +++ b/ghc-fast-logger.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jan 29 01:01:40 UTC 2023 - Peter Simons + +- Update fast-logger to version 3.1.1 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Thu Jan 20 07:53:07 UTC 2022 - Peter Simons diff --git a/ghc-fast-logger.spec b/ghc-fast-logger.spec index e5f87bf..00e5df5 100644 --- a/ghc-fast-logger.spec +++ b/ghc-fast-logger.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-fast-logger # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ 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-auto-update-devel @@ -56,6 +57,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 From 736f695daf17761dd1eaf4b31d1f5ad0325dbf08bda829d833ecc7b05045ffd9 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:23 +0000 Subject: [PATCH 2/3] 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 --- fast-logger-3.1.1.tar.gz | 3 -- fast-logger-3.1.2.tar.gz | 3 ++ fast-logger.cabal | 65 ---------------------------------------- ghc-fast-logger.changes | 9 ++++++ ghc-fast-logger.spec | 38 +++++++++++++++++++++-- 5 files changed, 47 insertions(+), 71 deletions(-) delete mode 100644 fast-logger-3.1.1.tar.gz create mode 100644 fast-logger-3.1.2.tar.gz delete mode 100644 fast-logger.cabal diff --git a/fast-logger-3.1.1.tar.gz b/fast-logger-3.1.1.tar.gz deleted file mode 100644 index 4ec00b8..0000000 --- a/fast-logger-3.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:435f6e7e0771b9b525550c292a941ab5726b233e7d91fdeca707e3cdb531a8e7 -size 12772 diff --git a/fast-logger-3.1.2.tar.gz b/fast-logger-3.1.2.tar.gz new file mode 100644 index 0000000..a9c00f6 --- /dev/null +++ b/fast-logger-3.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65e7d3d6175713c19c4818f38419f65fa3f09dc7af58282736b59fb05a2310d0 +size 12843 diff --git a/fast-logger.cabal b/fast-logger.cabal deleted file mode 100644 index 1f89973..0000000 --- a/fast-logger.cabal +++ /dev/null @@ -1,65 +0,0 @@ -Name: fast-logger -Version: 3.1.1 -x-revision: 1 -Author: Kazu Yamamoto -Maintainer: Kazu Yamamoto -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 diff --git a/ghc-fast-logger.changes b/ghc-fast-logger.changes index f52a48d..d6d5590 100644 --- a/ghc-fast-logger.changes +++ b/ghc-fast-logger.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Feb 6 05:43:48 UTC 2023 - Peter Simons + +- 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 diff --git a/ghc-fast-logger.spec b/ghc-fast-logger.spec index 00e5df5..b5bae61 100644 --- a/ghc-fast-logger.spec +++ b/ghc-fast-logger.spec @@ -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 From 80d15d5105d7f0676d76dce62a28f5aedc6725fe213dab7a401b6e65b68752fe Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:38 +0000 Subject: [PATCH 3/3] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-fast-logger revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fast-logger?expand=0&rev=74 --- ghc-fast-logger.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-fast-logger.changes b/ghc-fast-logger.changes index d6d5590..71b9b73 100644 --- a/ghc-fast-logger.changes +++ b/ghc-fast-logger.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:06:44 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Mon Feb 6 05:43:48 UTC 2023 - Peter Simons