osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-regex-base revision:3, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-regex-base?expand=0&rev=78
This commit is contained in:
Peter Simons 2025-03-05 22:00:53 +00:00 committed by Git OBS Bridge
commit 3abffd824d
7 changed files with 393 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

156
ghc-regex-base.changes Normal file
View File

@ -0,0 +1,156 @@
-------------------------------------------------------------------
Sun Mar 2 10:21:17 UTC 2025 - Peter Simons <psimons@suse.com>
- Update regex-base to version 0.94.0.3.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/regex-base-0.94.0.3/src/ChangeLog.md
-------------------------------------------------------------------
Thu Sep 28 10:07:58 UTC 2023 - Peter Simons <psimons@suse.com>
- Update regex-base to version 0.94.0.2 revision 4.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Fri Jul 7 19:45:34 UTC 2023 - Peter Simons <psimons@suse.com>
- Update regex-base to version 0.94.0.2 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Mar 30 17:08:03 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Wed May 25 20:34:28 UTC 2022 - Peter Simons <psimons@suse.com>
- Update regex-base to version 0.94.0.2 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Nov 16 19:52:26 UTC 2021 - psimons@suse.com
- Update regex-base to version 0.94.0.2.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/regex-base-0.94.0.2/src/ChangeLog.md
-------------------------------------------------------------------
Fri Aug 13 09:52:10 UTC 2021 - psimons@suse.com
- Update regex-base to version 0.94.0.1 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Feb 20 14:44:16 UTC 2021 - psimons@suse.com
- Update regex-base to version 0.94.0.1.
## 0.94.0.1
- Workaround for `{-# LANGUAGE Haskell2010 #-}` parser regression introduced in GHC 9.0
- Optimization flag `-O2` has been removed
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Mon Aug 31 09:34:33 UTC 2020 - psimons@suse.com
- Update regex-base to version 0.94.0.0 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Tue Aug 18 10:45:50 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Tue Jun 16 11:14:30 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:32 UTC 2019 - Peter Simons <psimons@suse.com>
- Drop obsolete group attributes.
-------------------------------------------------------------------
Wed Sep 25 15:29:14 UTC 2019 - psimons@suse.com
- Update regex-base to version 0.94.0.0.
Upstream added a new change log file in this release. With no
previous version to compare against, the automatic updater cannot
reliable determine the relevante entries for this release.
-------------------------------------------------------------------
Sat Oct 20 11:31:55 UTC 2018 - Peter Simons <psimons@suse.com>
- Use https URL to refer to bugs.opensuse.org.
-------------------------------------------------------------------
Wed Jul 18 14:26:38 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Wed May 16 14:36:27 UTC 2018 - psimons@suse.com
- Prefer the new %license attribute over %doc.
-------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
-------------------------------------------------------------------
Sun Jul 10 17:30:28 UTC 2016 - psimons@suse.com
- Update to version 0.93.2 revision 0 with cabal2obs.
-------------------------------------------------------------------
Tue Sep 2 09:56:38 UTC 2014 - peter.trommler@ohm-hochschule.de
- regenerate spec file
-------------------------------------------------------------------
Sat Aug 23 00:19:11 UTC 2014 - peter.trommler@ohm-hochschule.de
- enable PowerPC builds
-------------------------------------------------------------------
Mon May 6 11:26:28 UTC 2013 - peter.trommler@ohm-hochschule.de
- more transparent packaging (fewer macros)
-------------------------------------------------------------------
Tue Jan 8 17:16:55 UTC 2013 - peter.trommler@ohm-hochschule.de
- expand macro in name tag to help source validator
-------------------------------------------------------------------
Sat Nov 17 14:39:39 UTC 2012 - peter.trommler@ohm-hochschule.de
- make service localonly for Factory submission
-------------------------------------------------------------------
Tue Jun 5 13:33:52 UTC 2012 - peter.trommler@ohm-hochschule.de
- use cabal2spec 0.25.5 template for spec file
-------------------------------------------------------------------
Tue Jan 3 16:02:48 UTC 2012 - peter.trommler@ohm-hochschule.de
- Initial packaging.

111
ghc-regex-base.spec Normal file
View File

@ -0,0 +1,111 @@
#
# spec file for package ghc-regex-base
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global pkg_name regex-base
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 0.94.0.3
Release: 0
Summary: Common "Text.Regex.*" API for Regex matching
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
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-devel
BuildRequires: ghc-containers-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
ExcludeArch: %{ix86}
%description
This package does not provide the ability to do regular expression matching.
Instead, it provides the type classes that constitute the abstract API that is
implemented by 'regex-*' backends such as:
* <https://hackage.haskell.org/package/regex-posix regex-posix>
* <https://hackage.haskell.org/package/regex-parsec regex-parsec>
* <https://hackage.haskell.org/package/regex-dfa regex-dfa>
* <https://hackage.haskell.org/package/regex-tdfa regex-tdfa>
* <https://hackage.haskell.org/package/regex-pcre regex-pcre>
See also <https://wiki.haskell.org/Regular_expressions> for more information.
%package devel
Summary: Haskell %{pkg_name} library development files
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%package -n ghc-%{pkg_name}-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
%description -n ghc-%{pkg_name}-doc
This package provides the Haskell %{pkg_name} library documentation.
%package -n ghc-%{pkg_name}-prof
Summary: Haskell %{pkg_name} profiling library
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
%description -n ghc-%{pkg_name}-prof
This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc ChangeLog.md README.md
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog

View File

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

View File

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

96
regex-base.cabal Normal file
View File

@ -0,0 +1,96 @@
cabal-version: 1.12
name: regex-base
version: 0.94.0.2
x-revision: 4
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: Copyright (c) 2006, Christopher Kuklewicz
author: Christopher Kuklewicz
maintainer: Andreas Abel
homepage: https://wiki.haskell.org/Regular_expressions
bug-reports: https://github.com/haskell-hvr/regex-base/issues
synopsis: Common "Text.Regex.*" API for Regex matching
category: Text
description:
This package does not provide the ability to do regular expression matching.
Instead, it provides the type classes that constitute the abstract API
that is implemented by @regex-*@ backends such as:
.
* <https://hackage.haskell.org/package/regex-posix regex-posix>
.
* <https://hackage.haskell.org/package/regex-parsec regex-parsec>
.
* <https://hackage.haskell.org/package/regex-dfa regex-dfa>
.
* <https://hackage.haskell.org/package/regex-tdfa regex-tdfa>
.
* <https://hackage.haskell.org/package/regex-pcre regex-pcre>
.
See also <https://wiki.haskell.org/Regular_expressions> for more information.
extra-source-files:
ChangeLog.md
README.md
tested-with:
GHC == 9.8.0
GHC == 9.6.3
GHC == 9.4.7
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
GHC == 7.10.3
source-repository head
type: git
location: https://github.com/haskell-hvr/regex-base.git
source-repository this
type: git
location: https://github.com/haskell-hvr/regex-base.git
tag: v0.94.0.2-r4
library
hs-source-dirs: src
exposed-modules:
Text.Regex.Base
Text.Regex.Base.RegexLike
Text.Regex.Base.Context
Text.Regex.Base.Impl
other-modules:
Paths_regex_base
default-language: Haskell2010
other-extensions:
MultiParamTypeClasses
FunctionalDependencies
TypeSynonymInstances
FlexibleInstances
FlexibleContexts
if impl(ghc >= 7.4)
default-extensions: Safe
build-depends: containers >= 0.4.2.1
, bytestring >= 0.9.2.1
build-depends: base >= 4.3 && < 5
, containers >= 0.4 && < 0.8
, bytestring >= 0.9 && < 0.13
, array >= 0.3 && < 0.6
, text >= 1.2.3 && < 1.3 || >=2.0 && <2.2
if !impl(ghc >= 8)
build-depends: fail == 4.9.*
ghc-options: -Wall
if impl(ghc >= 8)
ghc-options: -Wcompat