Accepting request 953464 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/953464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-Glob?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2022-02-11 22:08:59 +00:00 committed by Git OBS Bridge
commit 27933345f5
3 changed files with 33 additions and 26 deletions

View File

@ -2,7 +2,7 @@ Cabal-Version: >= 1.10
Name: Glob
Version: 0.10.2
x-revision: 1
x-revision: 3
Homepage: http://iki.fi/matti.niemenmaa/glob/
Synopsis: Globbing library
Category: System
@ -26,19 +26,19 @@ Source-Repository head
Location: https://github.com/Deewiant/glob
Library
Build-Depends: base >= 4 && < 5
, containers < 0.7
, directory < 1.4
, dlist >= 0.4 && < 1.1
, filepath >= 1.1 && < 1.5
, transformers >= 0.2 && < 0.6
, transformers-compat >= 0.3 && < 0.8
Build-Depends: base >= 4 && < 5
, containers
, directory
, dlist >= 0.4
, filepath >= 1.1
, transformers >= 0.2
, transformers-compat >= 0.3
if impl(ghc < 8.0)
Build-Depends: semigroups >= 0.18 && < 0.21
Build-Depends: semigroups >= 0.18
if os(windows)
Build-Depends: Win32 == 2.*
Build-Depends: Win32 >= 2.5
Default-Language: Haskell98
@ -59,23 +59,23 @@ Test-Suite glob-tests
main-is: Main.hs
Build-Depends: base >= 4 && < 5
, containers < 0.7
, directory < 1.4
, dlist >= 0.4 && < 1.1
, filepath >= 1.1 && < 1.5
, transformers >= 0.2 && < 0.6
, transformers-compat >= 0.3 && < 0.8
, HUnit >= 1.2 && < 1.7
, QuickCheck >= 2 && < 3
, test-framework >= 0.2 && < 1
, test-framework-hunit >= 0.2 && < 1
, test-framework-quickcheck2 >= 0.3 && < 1
, containers
, directory
, dlist >= 0.4
, filepath >= 1.1
, transformers >= 0.2
, transformers-compat >= 0.3
, HUnit >= 1.2
, QuickCheck >= 2
, test-framework >= 0.2
, test-framework-hunit >= 0.2
, test-framework-quickcheck2 >= 0.3
if impl(ghc < 8.0)
Build-Depends: semigroups >= 0.18 && < 0.20
Build-Depends: semigroups >= 0.18
if os(windows)
Build-Depends: Win32 == 2.*
Build-Depends: Win32 >= 2
Default-Language: Haskell98
@ -95,4 +95,4 @@ Test-Suite glob-tests
Tests.Simplifier
Tests.Utils
GHC-Options: -Wall
GHC-Options: -Wall

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jan 15 11:08:18 UTC 2022 - Peter Simons <psimons@suse.com>
- Update Glob to version 0.10.2 revision 3.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Nov 20 17:31:36 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-Glob
#
# 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
@ -25,7 +25,7 @@ Summary: Globbing library
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
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
@ -59,6 +59,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
chmod -x *.txt # https://github.com/Deewiant/glob/issues/31
%build
%ghc_lib_build