From 18e18cc44bf4f879db5c716c4040a9becbaa9f139f6d138c1f63c02ce6b5b4a0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:49 +0000 Subject: [PATCH 1/2] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-tagged revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tagged?expand=0&rev=79 --- ghc-tagged.changes | 12 ++++++ ghc-tagged.spec | 33 ++++++++++++++-- tagged-0.8.6.1.tar.gz | 3 -- tagged-0.8.7.tar.gz | 3 ++ tagged.cabal | 90 ------------------------------------------- 5 files changed, 44 insertions(+), 97 deletions(-) delete mode 100644 tagged-0.8.6.1.tar.gz create mode 100644 tagged-0.8.7.tar.gz delete mode 100644 tagged.cabal diff --git a/ghc-tagged.changes b/ghc-tagged.changes index 2e9e952..aa9441f 100644 --- a/ghc-tagged.changes +++ b/ghc-tagged.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Feb 18 14:37:44 UTC 2023 - Peter Simons + +- Update tagged to version 0.8.7. + 0.8.7 [2023.02.18] + ------------------ + * Define `Foldable1` and `Bifoldable1` instances for `Tagged`. These instances + were originally defined in the `semigroupoids` library, and they have now + been migrated to `tagged` as a side effect of adapting to + [this Core Libraries Proposal](https://github.com/haskell/core-libraries-committee/issues/9), + which adds `Foldable1` and `Bifoldable1` to `base`. + ------------------------------------------------------------------- Sat Jul 23 17:28:49 UTC 2022 - Peter Simons diff --git a/ghc-tagged.spec b/ghc-tagged.spec index d76b196..7692554 100644 --- a/ghc-tagged.spec +++ b/ghc-tagged.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-tagged # -# 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 @@ -17,19 +17,24 @@ %global pkg_name tagged +%global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.8.6.1 +Version: 0.8.7 Release: 0 Summary: Haskell 98 phantom types to avoid unsafely passing dummy arguments 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/3.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-deepseq-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof ExcludeArch: %{ix86} %description @@ -45,9 +50,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 @@ -67,4 +87,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files %doc CHANGELOG.markdown README.markdown +%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 diff --git a/tagged-0.8.6.1.tar.gz b/tagged-0.8.6.1.tar.gz deleted file mode 100644 index 074ffca..0000000 --- a/tagged-0.8.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5e0fcf95f0bb4aa63f428f2c01955a41ea1a42cfcf39145ed631f59a9616c02 -size 9842 diff --git a/tagged-0.8.7.tar.gz b/tagged-0.8.7.tar.gz new file mode 100644 index 0000000..5e74cbe --- /dev/null +++ b/tagged-0.8.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6414eeac27a1633f49e2f78199ced99ce8ce3d70b658cf6d55b1d81ff60cb961 +size 10082 diff --git a/tagged.cabal b/tagged.cabal deleted file mode 100644 index 8455bf5..0000000 --- a/tagged.cabal +++ /dev/null @@ -1,90 +0,0 @@ -name: tagged -version: 0.8.6.1 -x-revision: 3 -license: BSD3 -license-file: LICENSE -author: Edward A. Kmett -maintainer: Edward A. Kmett -stability: experimental -category: Data, Phantom Types -synopsis: Haskell 98 phantom types to avoid unsafely passing dummy arguments -homepage: http://github.com/ekmett/tagged -bug-reports: http://github.com/ekmett/tagged/issues -copyright: 2009-2015 Edward A. Kmett -description: Haskell 98 phantom types to avoid unsafely passing dummy arguments. -build-type: Simple -cabal-version: >= 1.10 -extra-source-files: .hlint.yaml CHANGELOG.markdown README.markdown -tested-with: GHC == 7.0.4 - , GHC == 7.2.2 - , GHC == 7.4.2 - , GHC == 7.6.3 - , GHC == 7.8.4 - , GHC == 7.10.3 - , GHC == 8.0.2 - , GHC == 8.2.2 - , GHC == 8.4.4 - , GHC == 8.6.5 - , GHC == 8.8.3 - , GHC == 8.10.1 - -source-repository head - type: git - location: git://github.com/ekmett/tagged.git - -flag deepseq - description: - You can disable the use of the `deepseq` package using `-f-deepseq`. - . - Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - default: True - manual: True - -flag transformers - description: - You can disable the use of the `transformers` and `transformers-compat` packages using `-f-transformers`. - . - Disable this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. - default: True - manual: True - -library - default-language: Haskell98 - other-extensions: CPP - build-depends: base >= 2 && < 5 - ghc-options: -Wall - hs-source-dirs: src - exposed-modules: Data.Tagged - - if impl(ghc >= 9.0) - -- these flags may abort compilation with GHC-8.10 - -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295 - ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode - - if !impl(hugs) - cpp-options: -DLANGUAGE_DeriveDataTypeable - other-extensions: DeriveDataTypeable - - if impl(ghc<7.7) - hs-source-dirs: old - exposed-modules: Data.Proxy - other-modules: Paths_tagged - - if impl(ghc>=7.2 && <7.5) - build-depends: ghc-prim - - if impl(ghc>=7.6) - exposed-modules: Data.Proxy.TH - build-depends: template-haskell >= 2.8 && < 2.20 - - if flag(deepseq) - build-depends: deepseq >= 1.1 && < 1.5 - - if flag(transformers) - build-depends: transformers >= 0.2 && < 0.7 - - -- Ensure Data.Functor.Classes is always available - if impl(ghc >= 7.10) || impl(ghcjs) - build-depends: transformers >= 0.4.2.0 - else - build-depends: transformers-compat >= 0.5 && < 1 From 0e4ea07a92674fda000693b673b85b9d81f024540bd3226bce7cefec18cf3ee1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:53 +0000 Subject: [PATCH 2/2] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-tagged revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tagged?expand=0&rev=80 --- ghc-tagged.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-tagged.changes b/ghc-tagged.changes index aa9441f..e8a04c4 100644 --- a/ghc-tagged.changes +++ b/ghc-tagged.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:08:29 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Sat Feb 18 14:37:44 UTC 2023 - Peter Simons