diff --git a/comonad-4.2.7.2.tar.gz b/comonad-4.2.7.2.tar.gz deleted file mode 100644 index e5905bd..0000000 --- a/comonad-4.2.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b762261ef545a16881b66409398752e249a8e654a34088c66d9fabf9ba5a3b2b -size 16430 diff --git a/comonad-5.tar.gz b/comonad-5.tar.gz new file mode 100644 index 0000000..0a68dc8 --- /dev/null +++ b/comonad-5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78e5b19da5b701d14ceb2ca19191cc6205b2024ff2f71b754f5e949faa19cb2a +size 16383 diff --git a/ghc-comonad.changes b/ghc-comonad.changes index 7ecf329..1dc8889 100644 --- a/ghc-comonad.changes +++ b/ghc-comonad.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 15 07:03:15 UTC 2016 - psimons@suse.com + +- Update to version 5 revision 0 with cabal2obs. + ------------------------------------------------------------------- Sun Jul 10 17:29:37 UTC 2016 - psimons@suse.com diff --git a/ghc-comonad.spec b/ghc-comonad.spec index 6c4030a..4172f68 100644 --- a/ghc-comonad.spec +++ b/ghc-comonad.spec @@ -19,15 +19,14 @@ %global pkg_name comonad %bcond_with tests Name: ghc-%{pkg_name} -Version: 4.2.7.2 +Version: 5 Release: 0 Summary: Comonads License: BSD-2-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-containers-devel BuildRequires: ghc-contravariant-devel BuildRequires: ghc-distributive-devel @@ -42,7 +41,6 @@ BuildRequires: ghc-directory-devel BuildRequires: ghc-doctest-devel BuildRequires: ghc-filepath-devel %endif -# End cabal-rpm deps %description Comonads. @@ -61,20 +59,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