diff --git a/ghc-unix-compat.changes b/ghc-unix-compat.changes index a4d1f1d..ea981c6 100644 --- a/ghc-unix-compat.changes +++ b/ghc-unix-compat.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sun May 22 09:02:51 UTC 2022 - Peter Simons + +- Update unix-compat to version 0.6. + 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. + +------------------------------------------------------------------- +Thu Mar 24 18:58:45 UTC 2022 - Peter Simons + +- Update unix-compat to version 0.5.4 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Tue Jan 11 22:05:45 UTC 2022 - Peter Simons diff --git a/ghc-unix-compat.spec b/ghc-unix-compat.spec index 517350b..10516d7 100644 --- a/ghc-unix-compat.spec +++ b/ghc-unix-compat.spec @@ -17,8 +17,9 @@ %global pkg_name unix-compat +%bcond_with tests Name: ghc-%{pkg_name} -Version: 0.5.4 +Version: 0.6 Release: 0 Summary: Portable POSIX-compatibility layer License: BSD-3-Clause @@ -28,6 +29,14 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-unix-devel ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-extra-devel +BuildRequires: ghc-hspec-devel +BuildRequires: ghc-monad-parallel-devel +BuildRequires: ghc-temporary-devel +%endif %description This package provides portable implementations of parts of the unix package. @@ -53,6 +62,9 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%check +%cabal_test + %post devel %ghc_pkg_recache @@ -63,5 +75,6 @@ This package provides the Haskell %{pkg_name} library development files. %license LICENSE %files devel -f %{name}-devel.files +%doc CHANGELOG.md %changelog diff --git a/unix-compat-0.5.4.tar.gz b/unix-compat-0.5.4.tar.gz deleted file mode 100644 index 02fc46e..0000000 --- a/unix-compat-0.5.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8224579d6e9acea7ecbd7af21f191758a11c77a2c5b2fc61f1079ac004a4a4b1 -size 13652 diff --git a/unix-compat-0.6.tar.gz b/unix-compat-0.6.tar.gz new file mode 100644 index 0000000..c6a49c3 --- /dev/null +++ b/unix-compat-0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4cd823a6543ad3aca8e740ecf5f44aabde60f1452b5a55655db5c8b7a44d5f8 +size 15777