From 24aba5c6f6299735ef50a612b6f81ca029ad9ff7d68205d02d0ad2621dac798b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 6 Oct 2022 14:46:21 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-dec revision:12, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-dec?expand=0&rev=12 --- dec-0.0.4.tar.gz | 3 --- dec-0.0.5.tar.gz | 3 +++ dec.cabal | 56 ------------------------------------------------ ghc-dec.changes | 10 +++++++++ ghc-dec.spec | 7 +++--- 5 files changed, 16 insertions(+), 63 deletions(-) delete mode 100644 dec-0.0.4.tar.gz create mode 100644 dec-0.0.5.tar.gz delete mode 100644 dec.cabal diff --git a/dec-0.0.4.tar.gz b/dec-0.0.4.tar.gz deleted file mode 100644 index 3d6a3e7..0000000 --- a/dec-0.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecfdbd681299b2653b4d5a17f4113ac156074761372bc119dcd3e1ea9473547b -size 2787 diff --git a/dec-0.0.5.tar.gz b/dec-0.0.5.tar.gz new file mode 100644 index 0000000..1b697f0 --- /dev/null +++ b/dec-0.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e18043c7c7e68168489f164921a02efede0c0175a5012ed5451ec2242338df88 +size 3224 diff --git a/dec.cabal b/dec.cabal deleted file mode 100644 index c90fbfb..0000000 --- a/dec.cabal +++ /dev/null @@ -1,56 +0,0 @@ -cabal-version: >=1.10 -name: dec -version: 0.0.4 -x-revision: 1 -synopsis: Decidable propositions. -category: Data, Dependent Types -description: - This package provides a @Dec@ type. - . - @ - type Neg a = a -> Void - . - data Dec a - \ = Yes a - \ | No (Neg a) - @ - -homepage: https://github.com/phadej/vec -bug-reports: https://github.com/phadej/vec/issues -license: BSD3 -license-file: LICENSE -author: Oleg Grenrus -maintainer: Oleg.Grenrus -copyright: (c) 2019-2021 Oleg Grenrus -build-type: Simple -extra-source-files: ChangeLog.md -tested-with: - GHC ==7.8.4 - || ==7.10.3 - || ==8.0.2 - || ==8.2.2 - || ==8.4.4 - || ==8.6.5 - || ==8.8.4 - || ==8.10.3 - || ==9.0.1 - -source-repository head - type: git - location: https://github.com/phadej/vec.git - subdir: dec - -library - default-language: Haskell2010 - hs-source-dirs: src - ghc-options: -Wall -fprint-explicit-kinds - exposed-modules: Data.Type.Dec - build-depends: base >=4.7 && <4.17 - - if !impl(ghc >=7.10) - build-depends: void >=0.7.3 && <0.8 - - 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 diff --git a/ghc-dec.changes b/ghc-dec.changes index e0b6175..3fe84e5 100644 --- a/ghc-dec.changes +++ b/ghc-dec.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Aug 21 11:41:26 UTC 2022 - Peter Simons + +- Update dec to version 0.0.5. + ## 0.0.5 + + - Add `boringYes` and `absurdNo`. + - Add `Decidable a => Boring (Dec a)` instance. + - Add `Decidable ()`, `Decidable Void`, `Decidable (a, b)` instances. + ------------------------------------------------------------------- Fri Dec 17 21:07:49 UTC 2021 - Peter Simons diff --git a/ghc-dec.spec b/ghc-dec.spec index 8b0f30c..dea257e 100644 --- a/ghc-dec.spec +++ b/ghc-dec.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-dec # -# Copyright (c) 2021 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 @@ -18,14 +18,14 @@ %global pkg_name dec Name: ghc-%{pkg_name} -Version: 0.0.4 +Version: 0.0.5 Release: 0 Summary: Decidable propositions 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-boring-devel BuildRequires: ghc-rpm-macros ExcludeArch: %{ix86} @@ -48,7 +48,6 @@ 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