diff --git a/generic-deriving-1.10.5.tar.gz b/generic-deriving-1.10.5.tar.gz deleted file mode 100644 index d7f1775..0000000 --- a/generic-deriving-1.10.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f6a2af9a96b22cdf496c7d6ef7bb6e8e365937ec61d788b08068f4fcf6854f0d -size 63324 diff --git a/generic-deriving-1.11.1.tar.gz b/generic-deriving-1.11.1.tar.gz new file mode 100644 index 0000000..5ea544b --- /dev/null +++ b/generic-deriving-1.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b38d427f990f3080108c565a81284217290a47be63bab7bf59036ece2e2cb0e9 +size 65456 diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index edb5b71..928744f 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 15 06:48:32 UTC 2016 - psimons@suse.com + +- Update to version 1.11.1 revision 0 with cabal2obs. + ------------------------------------------------------------------- Sun Jul 10 17:06:54 UTC 2016 - psimons@suse.com diff --git a/ghc-generic-deriving.spec b/ghc-generic-deriving.spec index 115f876..a64dee4 100644 --- a/ghc-generic-deriving.spec +++ b/ghc-generic-deriving.spec @@ -17,21 +17,23 @@ %global pkg_name generic-deriving +%bcond_with tests Name: ghc-%{pkg_name} -Version: 1.10.5 +Version: 1.11.1 Release: 0 Summary: Generic programming library for generalised deriving 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-containers-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-template-haskell-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps +%if %{with tests} +BuildRequires: ghc-hspec-devel +%endif %description This package provides functionality for generalising the deriving mechanism in @@ -42,7 +44,7 @@ Dijkstra, Johan Jeuring, and Andres Loeh. Haskell'10. The current implementation integrates with the new GHC Generics. See for more information. -Template Haskell code is provided for supporting GHC before version 7.2. +Template Haskell code is provided for supporting older GHCs. %package devel Summary: Haskell %{pkg_name} library development files @@ -59,14 +61,14 @@ files. %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install +%check +%cabal_test %post devel %ghc_pkg_recache @@ -80,6 +82,6 @@ files. %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc CHANGELOG.md README.md examples +%doc CHANGELOG.md README.md %changelog