Accepting request 1075869 from devel:languages:haskell

update for ghc-9.4.4

OBS-URL: https://build.opensuse.org/request/show/1075869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-extra?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2023-04-04 19:19:56 +00:00 committed by Git OBS Bridge
commit 2be448eba5
4 changed files with 60 additions and 5 deletions

3
extra-1.7.12.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Mar 30 17:06:44 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Fri Sep 2 11:34:48 UTC 2022 - Peter Simons <psimons@suse.com>
- Update extra to version 1.7.12.
1.7.12, released 2022-09-02
#98, make both lazy in its argument
#98, make first3,second3,third3 lazy in their argument
#98, make firstM,secondM lazy in their argument
#86, add notNull for Foldable
1.7.11, released 2022-08-21
#95, add List.repeatedlyNE and NonEmpty.repeatedly
#94, add groupOnKey
#91, add foldl1' to NonEmpty
1.7.10, released 2021-08-29
#81, add assertIO function
#85, add !? to do !! list indexing returning a Maybe
#80, add strict Var functions modifyVar', modifyVar_', writeVar'
-------------------------------------------------------------------
Tue Sep 7 11:57:05 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-extra
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,26 +17,37 @@
%global pkg_name extra
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.7.9
Version: 1.7.12
Release: 0
Summary: Extra functions I use
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-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-clock-devel
BuildRequires: ghc-clock-prof
BuildRequires: ghc-directory-devel
BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-process-devel
BuildRequires: ghc-process-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-time-devel
BuildRequires: ghc-time-prof
BuildRequires: ghc-unix-devel
BuildRequires: ghc-unix-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-quickcheck-instances-devel
BuildRequires: ghc-quickcheck-instances-prof
%endif
%description
@ -60,6 +71,22 @@ 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}
@ -84,4 +111,9 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%doc CHANGES.txt 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