diff --git a/data-default-0.7.1.1.tar.gz b/data-default-0.7.1.1.tar.gz deleted file mode 100644 index 0ed903a..0000000 --- a/data-default-0.7.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b0f95d279cd75cacaa8152a01590dc3460f7134f6840b37052abb3ba3cb2a511 -size 1627 diff --git a/data-default-0.7.1.3.tar.gz b/data-default-0.7.1.3.tar.gz new file mode 100644 index 0000000..4b21a90 --- /dev/null +++ b/data-default-0.7.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7604074200e1d4632701e3f196099fcfbf4005b3a6bee275fd6e00f4baaca610 +size 2735 diff --git a/ghc-data-default.changes b/ghc-data-default.changes index 8b0ce3f..b316a1e 100644 --- a/ghc-data-default.changes +++ b/ghc-data-default.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 17 19:18:51 UTC 2024 - Peter Simons + +- Update data-default to version 0.7.1.3. + Upstream does not provide a change log file. + ------------------------------------------------------------------- Thu Mar 30 17:06:30 UTC 2023 - Peter Simons diff --git a/ghc-data-default.spec b/ghc-data-default.spec index 4adaaf7..cc0625c 100644 --- a/ghc-data-default.spec +++ b/ghc-data-default.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-data-default # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,9 @@ %global pkg_name data-default %global pkgver %{pkg_name}-%{version} +%bcond_with tests Name: ghc-%{pkg_name} -Version: 0.7.1.1 +Version: 0.7.1.3 Release: 0 Summary: A class for types with a default value License: BSD-3-Clause @@ -38,9 +39,19 @@ BuildRequires: ghc-data-default-instances-old-locale-devel BuildRequires: ghc-data-default-instances-old-locale-prof BuildRequires: ghc-rpm-macros ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-old-locale-devel +BuildRequires: ghc-old-locale-prof +%endif %description -A class for types with a default value. +This module defines a class for types with a default value. Instances are +provided for '()', 'Data.Set.Set', 'Data.Map.Map', 'Int', 'Integer', 'Float', +'Double', and many others. %package devel Summary: Haskell %{pkg_name} library development files @@ -77,6 +88,9 @@ This package provides the Haskell %{pkg_name} profiling library. %install %ghc_lib_install +%check +%cabal_test + %post devel %ghc_pkg_recache