4
0

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-regex-compat?expand=0&rev=22
This commit is contained in:
2020-09-04 15:04:07 +00:00
committed by Git OBS Bridge
parent 9308aebe9d
commit 1623c03a22
3 changed files with 2 additions and 65 deletions

View File

@@ -1,24 +1,3 @@
-------------------------------------------------------------------
Mon Aug 31 09:34:30 UTC 2020 - psimons@suse.com
- Update regex-compat to version 0.95.2.0 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Aug 18 10:45:51 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 16 11:14:31 UTC 2020 - Peter Simons <psimons@suse.com>
- Re-generate file with latest version of spec-cleaner.
-------------------------------------------------------------------
Thu May 7 08:08:24 UTC 2020 - Peter Simons <psimons@suse.com>
- Update Cabal file to get more accurate dependency information.
-------------------------------------------------------------------
Fri Nov 8 16:14:33 UTC 2019 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-regex-compat
#
# 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
@@ -24,7 +24,6 @@ Summary: Replaces/Enhances "Text.Regex"
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-array-devel
BuildRequires: ghc-regex-base-devel
@@ -48,8 +47,7 @@ Requires(postun): ghc-compiler = %{ghc_version}
This package provides the Haskell %{pkg_name} library development files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build

View File

@@ -1,40 +0,0 @@
cabal-version: 1.12
name: regex-compat
version: 0.95.2.0
x-revision: 1
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: Copyright (c) 2006, Christopher Kuklewicz
author: Christopher Kuklewicz
maintainer: hvr@gnu.org
bug-reports: https://github.com/hvr/regex-compat/issues
synopsis: Replaces/Enhances "Text.Regex"
category: Text
description:
One module compat layer over <//hackage.haskell.org/package/regex-posix regex-posix> to replace "Text.Regex".
.
See also <https://wiki.haskell.org/Regular_expressions> for more information.
extra-source-files: ChangeLog.md
source-repository head
type: git
location: https://github.com/hvr/regex-compat.git
library
exposed-modules: Text.Regex
build-depends: base >= 4.3 && < 4.15
, regex-base == 0.94.*
, regex-posix == 0.96.*
, array >= 0.3 && < 0.6
default-language: Haskell2010
default-extensions: MultiParamTypeClasses, FunctionalDependencies
if impl(ghc >= 7.2)
default-extensions: Trustworthy
ghc-options: -Wall