diff --git a/ghc-temporary.changes b/ghc-temporary.changes index 4949916..89f9478 100644 --- a/ghc-temporary.changes +++ b/ghc-temporary.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 19 20:53:31 UTC 2017 - psimons@suse.com + +- Update to version 1.2.1. + ------------------------------------------------------------------- Sun Jul 10 17:30:27 UTC 2016 - psimons@suse.com diff --git a/ghc-temporary.spec b/ghc-temporary.spec index 7441fc5..d5cf593 100644 --- a/ghc-temporary.spec +++ b/ghc-temporary.spec @@ -17,10 +17,11 @@ %global pkg_name temporary +%bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.0.4 +Version: 1.2.1 Release: 0 -Summary: Portable temporary file and directory support for Windows and Unix, based on code from Cabal +Summary: Portable temporary file and directory support License: BSD-3-Clause Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} @@ -33,13 +34,14 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-transformers-devel BuildRequires: ghc-unix-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with tests} +BuildRequires: ghc-base-compat-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +%endif %description -The functions for creating temporary files and directories in the base library -are quite limited. The unixutils package contains some good ones, but they -aren't portable to Windows. This library just repackages the Cabal -implementations of its own temporary file and folder functions so that you can -use them without linking against Cabal or depending on it being installed. +Functions for creating temporary files and directories. %package devel Summary: Haskell %{pkg_name} library development files @@ -61,6 +63,9 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%check +%cabal_test + %post devel %ghc_pkg_recache @@ -73,5 +78,6 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files %defattr(-,root,root,-) +%doc CHANGELOG.md %changelog diff --git a/temporary-1.2.0.4.tar.gz b/temporary-1.2.0.4.tar.gz deleted file mode 100644 index bdd16a8..0000000 --- a/temporary-1.2.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:51e713804246404df8a728919a2e7d1994f8cfda42cfa7a74ea65d8b7d206762 -size 5347 diff --git a/temporary-1.2.1.tar.gz b/temporary-1.2.1.tar.gz new file mode 100644 index 0000000..46d5170 --- /dev/null +++ b/temporary-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ecf88065cf69e965dc672c4a94f0b5e909d3e398c24d947bbd5e9814277a4f8 +size 5137