osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-split revision:7, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-split?expand=0&rev=60
This commit is contained in:
Peter Simons 2020-09-04 15:04:16 +00:00 committed by Git OBS Bridge
parent 8d00a72b35
commit 6632d74682
5 changed files with 66 additions and 32 deletions

View File

@ -1,29 +1,3 @@
-------------------------------------------------------------------
Tue Aug 18 10:46:04 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 16 11:14:37 UTC 2020 - Peter Simons <psimons@suse.com>
- Re-generate file with latest version of spec-cleaner.
-------------------------------------------------------------------
Thu Feb 27 14:17:00 UTC 2020 - psimons@suse.com
- Update split to version 0.2.3.4.
* 0.2.3.4 (22 February 2020)
- Allow base-4.14 for GHC-8.10
* 0.2.3.3-r2 (19 August 2019)
- Allow base-4.13 for GHC-8.8
* 0.2.3.3-r1 (2 August 2018)
- Allow base-4.12 for GHC-8.6
-------------------------------------------------------------------
Fri Nov 8 16:14:48 UTC 2019 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-split
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,12 +19,13 @@
%global pkg_name split
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.2.3.4
Version: 0.2.3.3
Release: 0
Summary: Combinator library for splitting lists
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/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
%if %{with tests}
@ -60,7 +61,8 @@ Requires(postun): ghc-compiler = %{ghc_version}
This package provides the Haskell %{pkg_name} library development files.
%prep
%autosetup -n %{pkg_name}-%{version}
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

3
split-0.2.3.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1dcd674f7c5f276f33300f5fd59e49d1ac6fc92ae949fd06a0f6d3e9d9ac1413
size 15681

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:271fe5104c9f40034aa9a1aad6269bcecc9454bc5a57c247e69e17de996c1f2a
size 15942

58
split.cabal Normal file
View File

@ -0,0 +1,58 @@
Name: split
Version: 0.2.3.3
x-revision: 2
Stability: stable
Description: A collection of various methods for splitting
lists into parts, akin to the \"split\" function
found in several mainstream languages. Here is
its tale:
.
Once upon a time the standard "Data.List" module
held no function for splitting a list into parts
according to a delimiter. Many a brave
lambda-knight strove to add such a function, but
their striving was in vain, for Lo, the Supreme
Council fell to bickering amongst themselves what
was to be the essential nature of the One True
Function which could cleave a list in twain (or
thrain, or any required number of parts).
.
And thus came to pass the split package,
comprising divers functions for splitting a list
asunder, each according to its nature. And the
Supreme Council had no longer any grounds for
argument, for the favored method of each was
contained therein.
.
To get started, see the "Data.List.Split" module.
Synopsis: Combinator library for splitting lists.
License: BSD3
License-file: LICENSE
Copyright: (c) Brent Yorgey, Louis Wasserman 2008-2012
Extra-source-files: README, test/Properties.hs, CHANGES
Author: Brent Yorgey
Maintainer: byorgey@gmail.com
Category: List
Build-type: Simple
Cabal-Version: >= 1.10
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.1
Bug-reports: https://github.com/byorgey/split/issues
Test-suite split-tests
type: exitcode-stdio-1.0
main-is: Properties.hs
build-depends: base, QuickCheck >= 2.4, split
default-language: Haskell2010
Hs-source-dirs: test
Source-repository head
type: git
location: http://github.com/byorgey/split.git
Library
ghc-options: -Wall
build-depends: base < 4.14
exposed-modules: Data.List.Split, Data.List.Split.Internals
default-language: Haskell2010
Hs-source-dirs: src