From 279ef2d592d0515bb9a59f0da57e46bce3163761 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 9 Feb 2020 21:44:40 +0800 Subject: [PATCH] update to 0.10.0 --- .gitignore | 1 + Glob-0.10.0.cabal | 94 +++++++++++++++++++++++++++++++++++++++++++++++ ghc-Glob.spec | 9 ++++- sources | 2 +- 4 files changed, 103 insertions(+), 3 deletions(-) create mode 100644 Glob-0.10.0.cabal diff --git a/.gitignore b/.gitignore index 2683487..f2854bb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /Glob-0.9.1.tar.gz /Glob-0.9.2.tar.gz /Glob-0.9.3.tar.gz +/Glob-0.10.0.tar.gz diff --git a/Glob-0.10.0.cabal b/Glob-0.10.0.cabal new file mode 100644 index 0000000..971983a --- /dev/null +++ b/Glob-0.10.0.cabal @@ -0,0 +1,94 @@ +Cabal-Version: >= 1.9.2 + +Name: Glob +Version: 0.10.0 +x-revision: 1 +Homepage: http://iki.fi/matti.niemenmaa/glob/ +Synopsis: Globbing library +Category: System +Stability: provisional +Description: + A library for globbing: matching patterns against file paths. + +Author: Matti Niemenmaa +Maintainer: Matti Niemenmaa +License: BSD3 +License-File: LICENSE.txt + +Build-Type: Simple + +Extra-Source-Files: CHANGELOG.txt + CREDITS.txt + README.txt + +Source-Repository head + Type: git + Location: https://github.com/Deewiant/glob + +Library + Build-Depends: base >= 4 && < 5 + , containers < 0.7 + , directory < 1.4 + , dlist >= 0.4 && < 0.9 + , filepath >= 1.1 && < 1.5 + , transformers >= 0.2 && < 0.6 + , transformers-compat >= 0.3 && < 0.7 + + if impl(ghc < 8.0) + Build-Depends: semigroups >= 0.18 && < 0.20 + + if os(windows) + Build-Depends: Win32 == 2.* + + Exposed-Modules: System.FilePath.Glob + System.FilePath.Glob.Primitive + Other-Modules: System.FilePath.Glob.Base + System.FilePath.Glob.Directory + System.FilePath.Glob.Match + System.FilePath.Glob.Simplify + System.FilePath.Glob.Utils + + GHC-Options: -Wall + +Test-Suite glob-tests + type: exitcode-stdio-1.0 + + hs-source-dirs: ., tests + main-is: Main.hs + + Build-Depends: base >= 4 && < 5 + , containers < 0.7 + , directory < 1.4 + , dlist >= 0.4 && < 0.9 + , filepath >= 1.1 && < 1.5 + , transformers >= 0.2 && < 0.6 + , transformers-compat >= 0.3 && < 0.7 + , 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 + + if impl(ghc < 8.0) + Build-Depends: semigroups >= 0.18 && < 0.20 + + if os(windows) + Build-Depends: Win32 == 2.* + + Other-Modules: System.FilePath.Glob.Base + System.FilePath.Glob.Directory + System.FilePath.Glob.Match + System.FilePath.Glob.Primitive + System.FilePath.Glob.Simplify + System.FilePath.Glob.Utils + Tests.Base + Tests.Compiler + Tests.Directory + Tests.Instances + Tests.Matcher + Tests.Optimizer + Tests.Regression + Tests.Simplifier + Tests.Utils + + GHC-Options: -Wall diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 07d2b05..35ed8bf 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -5,14 +5,15 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.9.3 -Release: 4%{?dist} +Version: 0.10.0 +Release: 1%{?dist} Summary: Globbing library License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -68,6 +69,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -115,6 +117,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Sun Feb 09 2020 Jens Petersen - 0.10.0-1 +- update to 0.10.0 + * Tue Jan 28 2020 Fedora Release Engineering - 0.9.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index eb3afc5..debf5f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Glob-0.9.3.tar.gz) = 4b677745881b318a5a82668d56c4547f8d1173be55cb1589ad0b9e62622151d771d3a40479126749135cbc98f56d8cfea3619358db5929c890838d3e0b85a536 +SHA512 (Glob-0.10.0.tar.gz) = a7e1fe244cc7f4b74fb9cc74712d0d11679597dc5cb2e4f06540b71d3c9999c6e7e4f5243e8f757bcdcfea7c031b82143b522b378e157ad4a5046bc1e6bea88c