diff --git a/extra-1.7.12.tar.gz b/extra-1.7.12.tar.gz new file mode 100644 index 0000000..8586512 --- /dev/null +++ b/extra-1.7.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e571a9ec1d8865f0fbb0e0ba1eb575f783b0365c80db19b54a93600bae43b03c +size 45598 diff --git a/extra-1.7.9.tar.gz b/extra-1.7.9.tar.gz deleted file mode 100644 index 54c4a9a..0000000 --- a/extra-1.7.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f66e26a63b216f0ca33665a75c08eada0a96af192ace83a18d87839d79afdf9d -size 44369 diff --git a/ghc-extra.changes b/ghc-extra.changes index d3e9f98..e35881b 100644 --- a/ghc-extra.changes +++ b/ghc-extra.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Thu Mar 30 17:06:44 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Fri Sep 2 11:34:48 UTC 2022 - Peter Simons + +- 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 diff --git a/ghc-extra.spec b/ghc-extra.spec index 3119d0a..7bfc60d 100644 --- a/ghc-extra.spec +++ b/ghc-extra.spec @@ -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