From 5e6873c37eeac31fc0dc846d1e4db959696bfe691842477c49deabd80aa7a21a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 18 Nov 2023 22:00:52 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-data-clist revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-data-clist?expand=0&rev=17 --- data-clist.cabal | 43 ++++++++++++++++++++++++++++++++++++++++++ ghc-data-clist.changes | 6 ++++++ ghc-data-clist.spec | 2 ++ 3 files changed, 51 insertions(+) create mode 100644 data-clist.cabal diff --git a/data-clist.cabal b/data-clist.cabal new file mode 100644 index 0000000..fa44636 --- /dev/null +++ b/data-clist.cabal @@ -0,0 +1,43 @@ +Cabal-Version: 2.2 +Name: data-clist +Synopsis: Simple functional ring type. +Description: Simple functional bidirectional ring type. + + Given that the ring terminiology clashes with certain + mathematical branches, we're using the term CList or + CircularList instead. +Version: 0.2 +x-revision: 1 +License: BSD-3-Clause +License-File: LICENSE +Author: John Van Enk +Maintainer: Jeremy Huffman , John Van Enk +Stability: experimental +Category: Data Structures +Build-Type: Simple +Homepage: https://github.com/sw17ch/data-clist + +source-repository head + type: git + location: git://github.com/sw17ch/data-clist.git + +Library + Default-Language: Haskell2010 + Build-Depends: base >= 4 && < 5, + deepseq >= 1.1 && < 1.6 + Exposed-Modules: + Data.CircularList + Data.CircularList.Internal + + ghc-options: -Wall + hs-source-dirs: src + +Test-Suite tests + Default-Language: Haskell2010 + Type: exitcode-stdio-1.0 + Build-Depends: base >=4.11 && < 5 + , data-clist + , QuickCheck >= 2.4 && < 2.15 + hs-source-dirs: tests/ + main-is: quickcheck.hs + diff --git a/ghc-data-clist.changes b/ghc-data-clist.changes index 1331d58..aa8d830 100644 --- a/ghc-data-clist.changes +++ b/ghc-data-clist.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 17 04:16:17 UTC 2023 - Peter Simons + +- Update data-clist to version 0.2 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Thu Mar 30 17:06:29 UTC 2023 - Peter Simons diff --git a/ghc-data-clist.spec b/ghc-data-clist.spec index 82079b1..05997a0 100644 --- a/ghc-data-clist.spec +++ b/ghc-data-clist.spec @@ -26,6 +26,7 @@ Summary: Simple functional ring type 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-base-devel BuildRequires: ghc-base-prof @@ -71,6 +72,7 @@ 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