Compare commits
81 Commits
Author | SHA256 | Date | |
---|---|---|---|
9d3a451120 | |||
4211a59bcb | |||
de4d68e0c2 | |||
c2bfbc4e58 | |||
e53d55e26e | |||
3fb2887f69 | |||
5a8ba7ea40 | |||
9e5789cc1d | |||
01bd487c25 | |||
e36190bf8e | |||
15b1e05141 | |||
084c02c53e | |||
3c02b1b59c | |||
3b1f488903 | |||
29f192aca6 | |||
d6dea4d601 | |||
26cb620d50 | |||
b240896430 | |||
c0a963c92a | |||
4047a2808f | |||
5881688d53 | |||
c90a9c62fd | |||
dd7914672f | |||
b5bd83f65c | |||
025863e800 | |||
871ae5af6d | |||
65b118c42e | |||
f4eafceb56 | |||
3e8f0cdcfe | |||
443848756a | |||
5ba86a6807 | |||
35b6107e4f | |||
f7d881bea0 | |||
ca44d1feb2 | |||
a73f651997 | |||
6bb6ecc463 | |||
f2070b676f | |||
a7d8eaa8b8 | |||
2676d151eb | |||
38023f2624 | |||
a9fa250b38 | |||
0967d5089e | |||
f374917350 | |||
cf6fdd272f | |||
5cd6f8c225 | |||
5dc64135a4 | |||
cc3da4fdcb | |||
5970647e79 | |||
9cb5bc3464 | |||
6970f9c5c4 | |||
37f1262ece | |||
b6080a49e6 | |||
98f770b16c | |||
6f5b6fdbb4 | |||
3392b7d3b4 | |||
53d660d2ac | |||
3dc8d76ffe | |||
23240c9c22 | |||
4520b788a8 | |||
3df1bbc5ad | |||
8bcf0e8cb9 | |||
566b411d11 | |||
99d665df35 | |||
b4862dc876 | |||
1a5cf06086 | |||
35044561e4 | |||
45cf46a8f7 | |||
4715e3d5cd | |||
ea4e3622fc | |||
|
5e5c99537e | ||
|
f59bfb2d44 | ||
|
dd048dd2a3 | ||
|
7892bacb26 | ||
|
6cc91d4a31 | ||
|
efc38c8096 | ||
|
0805ecac20 | ||
|
9a65af8b63 | ||
|
2146494dae | ||
|
f2f35f399c | ||
|
506c1b9043 | ||
|
4c0393bc25 |
156
ghc-regex-base.changes
Normal file
156
ghc-regex-base.changes
Normal 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.
|
@@ -1,127 +1,111 @@
|
|||||||
%define pkg_name regex-base
|
#
|
||||||
%define ghc_version %(ghc --numeric-version)
|
# 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.
|
||||||
|
|
||||||
%define pkg_libdir %{_libdir}/ghc-%{ghc_version}/%{pkg_name}-%{version}
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
%define pkg_docdir %{_datadir}/doc/ghc/libraries/%{pkg_name}-%{version}
|
#
|
||||||
|
|
||||||
# ghc does not emit debug information
|
|
||||||
%define debug_package %{nil}
|
|
||||||
|
|
||||||
|
%global pkg_name regex-base
|
||||||
|
%global pkgver %{pkg_name}-%{version}
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.93.1
|
Version: 0.94.0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: regex-base: Replaces/Enhances Text.Regex
|
Summary: Common "Text.Regex.*" API for Regex matching
|
||||||
Group: Development/Libraries
|
License: BSD-3-Clause
|
||||||
License: BSD3
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.bz2
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRequires: ghc-array-devel
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
BuildRequires: ghc-array-prof
|
||||||
BuildRequires: licenses
|
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
|
%description
|
||||||
Interface API for regex-posix,pcre,parsec,tdfa,dfa
|
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:
|
||||||
|
|
||||||
This package provides the Haskell %{pkg_name} library for ghc.
|
* <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
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Group: Development/Libraries
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: ghc = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc = %{ghc_version}
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
Requires(preun): ghc = %{ghc_version}
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
Requires: licenses
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Interface API for regex-posix,pcre,parsec,tdfa,dfa
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
This package contains the development files for %{name}
|
%package -n ghc-%{pkg_name}-doc
|
||||||
built for ghc-%{ghc_version}.
|
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 doc
|
%package -n ghc-%{pkg_name}-prof
|
||||||
Summary: Documentation for %{name}
|
Summary: Haskell %{pkg_name} profiling library
|
||||||
Group: Development/Libraries
|
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
|
||||||
Requires: ghc-doc = %{ghc_version}
|
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
||||||
Requires(post): ghc-doc = %{ghc_version}
|
|
||||||
Requires(postun): ghc-doc = %{ghc_version}
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
Interface API for regex-posix,pcre,parsec,tdfa,dfa
|
|
||||||
|
|
||||||
This package contains development documentation files for the %{name} library.
|
|
||||||
|
|
||||||
|
|
||||||
%package prof
|
|
||||||
Summary: Profiling libraries for %{name}
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}-devel = %{version}-%{release}
|
|
||||||
Requires: ghc-prof = %{ghc_version}
|
|
||||||
|
|
||||||
%description prof
|
|
||||||
Interface API for regex-posix,pcre,parsec,tdfa,dfa
|
|
||||||
|
|
||||||
This package contains profiling libraries for %{name}.
|
|
||||||
|
|
||||||
|
%description -n ghc-%{pkg_name}-prof
|
||||||
|
This package provides the Haskell %{pkg_name} profiling library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cabal_configure --ghc %{!?without_prof:-p}
|
%ghc_lib_build
|
||||||
%cabal build
|
|
||||||
%cabal haddock
|
|
||||||
%ghc_gen_scripts
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cabal_install
|
%ghc_lib_install
|
||||||
%ghc_install_scripts
|
|
||||||
%ghc_gen_filelists %{name}
|
|
||||||
for FILE in LICENSE ; do
|
|
||||||
MD5SUM=$(md5sum $FILE | sed 's/ .*//')
|
|
||||||
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
|
|
||||||
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_register_pkg
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
%postun devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
%post doc
|
%files -f %{name}.files
|
||||||
%ghc_reindex_haddock
|
%license LICENSE
|
||||||
|
|
||||||
|
|
||||||
%preun devel
|
|
||||||
if [ "$1" -eq 0 ] ; then
|
|
||||||
%ghc_unregister_pkg
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%postun doc
|
|
||||||
if [ "$1" -eq 0 ] ; then
|
|
||||||
%ghc_reindex_haddock
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%doc ChangeLog.md README.md
|
||||||
%{_docdir}/%{name}-%{version}
|
|
||||||
|
|
||||||
|
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%files doc
|
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{pkg_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
%files prof -f %{name}-prof.files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Apr 28 2009 Herbert Graeber <herbert@graeber-clan.de> - 0.93.1
|
|
||||||
- Initial Package
|
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a20dce2953be7a8f7c96d75019da23b41cdb6ceb1003cae899a47c1057d9428c
|
|
||||||
size 8853
|
|
3
regex-base-0.94.0.3.tar.gz
Normal file
3
regex-base-0.94.0.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e8ca2dee598c790dd1c1c4359bdd1e495d9b881f5aa1f539c22f0dd5563747bf
|
||||||
|
size 10550
|
@@ -1,6 +0,0 @@
|
|||||||
addFilter("devel-dependency gmp-devel")
|
|
||||||
addFilter("devel-file-in-non-devel-package")
|
|
||||||
addFilter("static-library-without-debuginfo")
|
|
||||||
addFilter("useless-explicit-requires ghc")
|
|
||||||
addFilter("useless-explicit-requires ghc-doc")
|
|
||||||
addFilter("devel-dependency ghc-regex-base-devel")
|
|
Reference in New Issue
Block a user