From de846a846d260163b37612eeb84a5ec45113616db4f7cb7c3e1299c5c404b6dd Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 29 Jun 2022 12:18:10 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-data-clist revision:12, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-data-clist?expand=0&rev=11 --- data-clist-0.1.2.3.tar.gz | 3 --- data-clist-0.2.tar.gz | 3 +++ data-clist.cabal | 33 --------------------------------- ghc-data-clist.changes | 6 ++++++ ghc-data-clist.spec | 14 +++++++++----- 5 files changed, 18 insertions(+), 41 deletions(-) delete mode 100644 data-clist-0.1.2.3.tar.gz create mode 100644 data-clist-0.2.tar.gz delete mode 100644 data-clist.cabal diff --git a/data-clist-0.1.2.3.tar.gz b/data-clist-0.1.2.3.tar.gz deleted file mode 100644 index dc24957..0000000 --- a/data-clist-0.1.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:356910406b1615819fefd87ff50f425bc41bd935750cfaa567718fb8ab858ed7 -size 4940 diff --git a/data-clist-0.2.tar.gz b/data-clist-0.2.tar.gz new file mode 100644 index 0000000..e0d40a6 --- /dev/null +++ b/data-clist-0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c3a1ebd71e8f6fe30afdb3797c4852db7fb0b4e3c145fc53e8282eb4303b212 +size 5475 diff --git a/data-clist.cabal b/data-clist.cabal deleted file mode 100644 index 755b545..0000000 --- a/data-clist.cabal +++ /dev/null @@ -1,33 +0,0 @@ -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.1.2.3 -x-revision: 1 -License: BSD3 -License-File: LICENSE -Author: John Van Enk -Maintainer: Jeremy Huffman , John Van Enk -Stability: experimental -Category: Data Structures -Cabal-Version: >= 1.6 -Build-Type: Simple -Homepage: https://github.com/sw17ch/data-clist - -source-repository head - type: git - location: git://github.com/sw17ch/data-clist.git - -Library - Build-Depends: base >= 4 && < 5, - deepseq >= 1.1 && < 1.5, - QuickCheck >= 2.4 && < 2.15 - - Exposed-Modules: - Data.CircularList - - ghc-options: -Wall - hs-source-dirs: src diff --git a/ghc-data-clist.changes b/ghc-data-clist.changes index ee4a014..b088ba9 100644 --- a/ghc-data-clist.changes +++ b/ghc-data-clist.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 25 08:18:33 UTC 2022 - Peter Simons + +- Update data-clist to version 0.2. + Upstream does not provide a change log file. + ------------------------------------------------------------------- Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup diff --git a/ghc-data-clist.spec b/ghc-data-clist.spec index 034e9c3..bc51989 100644 --- a/ghc-data-clist.spec +++ b/ghc-data-clist.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-data-clist # -# Copyright (c) 2020 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 @@ -17,19 +17,21 @@ %global pkg_name data-clist +%bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1.2.3 +Version: 0.2 Release: 0 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-QuickCheck-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-rpm-macros ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +%endif %description Simple functional bidirectional ring type. Given that the ring terminiology @@ -48,7 +50,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 @@ -56,6 +57,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %install %ghc_lib_install +%check +%cabal_test + %post devel %ghc_pkg_recache