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

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-Glob # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ Summary: Globbing library
License: BSD-3-Clause License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz 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-Cabal-devel
BuildRequires: ghc-containers-devel BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-devel
@ -59,6 +59,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%autosetup -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal cp -p %{SOURCE1} %{pkg_name}.cabal
chmod -x *.txt # https://github.com/Deewiant/glob/issues/31
%build %build
%ghc_lib_build %ghc_lib_build