Hello community, here is the log from the commit of package ghc-vault for openSUSE:Factory checked in at 2015-12-09 19:53:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-vault (Old) and /work/SRC/openSUSE:Factory/.ghc-vault.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-vault" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-vault/ghc-vault.changes 2015-05-27 12:43:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-vault.new/ghc-vault.changes 2015-12-09 22:17:31.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Dec 7 12:06:32 UTC 2015 - mimi...@gmail.com + +- update to 0.3.0.5 +* Add support for GHC type roles extension, using the RoleAnnotations + language pragma. + +------------------------------------------------------------------- Old: ---- vault-0.3.0.4.tar.gz New: ---- vault-0.3.0.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-vault.spec ++++++ --- /var/tmp/diff_new_pack.UOMUji/_old 2015-12-09 22:17:32.000000000 +0100 +++ /var/tmp/diff_new_pack.UOMUji/_new 2015-12-09 22:17:32.000000000 +0100 @@ -15,15 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name vault -Name: ghc-%{pkg_name} -Version: 0.3.0.4 +Name: ghc-vault +Version: 0.3.0.5 Release: 0 Summary: A persistent store for values of arbitrary types +License: BSD-3-Clause Group: System/Libraries -License: BSD-3-Clause Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -61,31 +62,24 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %post devel %ghc_pkg_recache - %postun devel %ghc_pkg_recache - %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE - %files devel -f %{name}-devel.files %defattr(-,root,root,-) %doc README.md - %changelog ++++++ vault-0.3.0.4.tar.gz -> vault-0.3.0.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vault-0.3.0.4/CHANGELOG.md new/vault-0.3.0.5/CHANGELOG.md --- old/vault-0.3.0.4/CHANGELOG.md 2014-12-19 13:32:33.000000000 +0100 +++ new/vault-0.3.0.5/CHANGELOG.md 2015-11-30 21:53:05.000000000 +0100 @@ -1,5 +1,9 @@ ## Changelog for the `vault` package +**0.3.0.5** + +* Add support for GHC type roles extension, using the `RoleAnnotations` language pragma. + **0.3.0.4** — Bump upper version bound for the `base` dependency. **0.3.0.3** — Bump upper version bound for the `base` dependency. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vault-0.3.0.4/src/Data/Vault/ST/ST.hs new/vault-0.3.0.5/src/Data/Vault/ST/ST.hs --- old/vault-0.3.0.4/src/Data/Vault/ST/ST.hs 2014-12-19 13:32:33.000000000 +0100 +++ new/vault-0.3.0.5/src/Data/Vault/ST/ST.hs 2015-11-30 21:53:05.000000000 +0100 @@ -1,3 +1,7 @@ +#if __GLASGOW_HASKELL__ >= 708 +{-# LANGUAGE RoleAnnotations #-} +#endif + module Data.Vault.ST.LAZINESS ( -- * Vault Vault, Key, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vault-0.3.0.4/src/Data/Vault/ST/backends/GHC.hs new/vault-0.3.0.5/src/Data/Vault/ST/backends/GHC.hs --- old/vault-0.3.0.4/src/Data/Vault/ST/backends/GHC.hs 2014-12-19 13:32:33.000000000 +0100 +++ new/vault-0.3.0.5/src/Data/Vault/ST/backends/GHC.hs 2015-11-30 21:53:05.000000000 +0100 @@ -18,6 +18,11 @@ newtype Vault s = Vault (Map Unique Any) newtype Key s a = Key Unique +#if __GLASGOW_HASKELL__ >= 708 +type role Vault nominal +type role Key nominal nominal +#endif + newKey = STUnsafe.unsafeIOToST $ Key <$> newUnique lookup (Key k) (Vault m) = fromAny <$> Map.lookup k m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vault-0.3.0.4/vault.cabal new/vault-0.3.0.5/vault.cabal --- old/vault-0.3.0.4/vault.cabal 2014-12-19 13:32:33.000000000 +0100 +++ new/vault-0.3.0.5/vault.cabal 2015-11-30 21:53:05.000000000 +0100 @@ -1,5 +1,5 @@ Name: vault -Version: 0.3.0.4 +Version: 0.3.0.5 Synopsis: a persistent store for values of arbitrary types Description: A /vault/ is a persistent store for values of arbitrary types. @@ -10,7 +10,7 @@ hence the name. . Also provided is a /locker/ type, representing a store for a single element. - + Category: Data License: BSD3 License-file: LICENSE