diff --git a/HUnit-1.3.1.1.tar.gz b/HUnit-1.3.1.1.tar.gz deleted file mode 100644 index dd92df3..0000000 --- a/HUnit-1.3.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:93e5fc4290ab685b469209f04d9858338ffff486e15c23a11260c47e32da8ef8 -size 20775 diff --git a/HUnit-1.3.1.2.tar.gz b/HUnit-1.3.1.2.tar.gz new file mode 100644 index 0000000..4603519 --- /dev/null +++ b/HUnit-1.3.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:badebf99ae5a4982cdf2f8932f080e349240dc2b75c40e75ce2518ea086c5381 +size 21755 diff --git a/ghc-HUnit.changes b/ghc-HUnit.changes index 1237cd2..4ab1d50 100644 --- a/ghc-HUnit.changes +++ b/ghc-HUnit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 15 06:50:23 UTC 2016 - psimons@suse.com + +- Update to version 1.3.1.2 revision 0 with cabal2obs. + ------------------------------------------------------------------- Sun Jul 10 17:04:33 UTC 2016 - psimons@suse.com diff --git a/ghc-HUnit.spec b/ghc-HUnit.spec index 6d0edd3..167d73b 100644 --- a/ghc-HUnit.spec +++ b/ghc-HUnit.spec @@ -19,22 +19,20 @@ %global pkg_name HUnit %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.3.1.1 +Version: 1.3.1.2 Release: 0 Summary: A unit testing framework for Haskell License: BSD-3-Clause -Group: System/Libraries +Group: Development/Languages/Other 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 -# Begin cabal-rpm deps: BuildRequires: ghc-deepseq-devel BuildRequires: ghc-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-filepath-devel %endif -# End cabal-rpm deps %description HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for @@ -54,20 +52,14 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache