From 0f3eb5f012e7c55045cc0a536a3a029ad21179b7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 28 Jan 2021 15:45:45 +0800 Subject: [PATCH] update to 0.6.3 --- .gitignore | 1 + data-reify-0.6.1.cabal | 113 ----------------------------------------- ghc-data-reify.spec | 22 ++++++-- sources | 2 +- 4 files changed, 20 insertions(+), 118 deletions(-) delete mode 100644 data-reify-0.6.1.cabal diff --git a/.gitignore b/.gitignore index b150d47..9ce04ce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /data-reify-0.6.tar.gz /data-reify-0.6.1.tar.gz +/data-reify-0.6.3.tar.gz diff --git a/data-reify-0.6.1.cabal b/data-reify-0.6.1.cabal deleted file mode 100644 index d6f523b..0000000 --- a/data-reify-0.6.1.cabal +++ /dev/null @@ -1,113 +0,0 @@ -Name: data-reify -Version: 0.6.1 -x-revision: 1 -Synopsis: Reify a recursive data structure into an explicit graph. -Description: 'data-reify' provided the ability to turn recursive structures into explicit graphs. - Many (implicitly or explicitly) recursive data structure can be given this ability, via - a type class instance. This gives an alternative to using 'Ref' for observable sharing. - . - Observable sharing in general is unsafe, so we use the IO monad to bound this effect, - but can be used safely even with 'unsafePerformIO' if some simple conditions are met. - Typically this package will be used to tie the knot with DSL's that depend of - observable sharing, like Lava. - . - Providing an instance for 'MuRef' is the mechanism for allowing a structure to be - reified into a graph, and several examples of this are provided. - . - History: - Version 0.1 used unsafe pointer compares. - Version 0.2 of 'data-reify' used 'StableName's, and was much faster. - Version 0.3 provided two versions of 'MuRef', the mono-typed version, - for trees of a single type, - and the dynamic-typed version, for trees of different types. - Version 0.4 used 'Int' as a synonym for 'Unique' rather than 'Data.Unique' - for node ids, by popular demand. - Version 0.5 merged the mono-typed and dynamic version again, by using - 'DynStableName', an unphantomized version of StableName. - . - © 2009 Andy Gill; BSD3 license. - -Category: Language, Data, Parsing, Reflection -License: BSD3 -License-file: LICENSE -Author: Andy Gill -Maintainer: Andy Gill -Copyright: (c) 2009 Andy Gill -Homepage: http://ku-fpg.github.io/software/data-reify/ -Stability: alpha -build-type: Simple -Cabal-Version: >= 1.8 -extra-source-files: CHANGELOG.md, README.md - -source-repository head - type: git - location: https://github.com/ku-fpg/data-reify - -Flag tests - Description: Enable full development tree - Default: False - - -Library - Build-Depends: base >= 4 && < 5, containers - Exposed-modules: - Data.Reify, - Data.Reify.Graph - Ghc-Options: -Wall - -Executable data-reify-test1 - Build-Depends: base, data-reify - Main-Is: Test1.hs - Hs-Source-Dirs: test - ghc-options: -Wall - if !flag(tests) - buildable: False - - -Executable data-reify-test2 - Build-Depends: base, data-reify - Main-Is: Test2.hs - Hs-Source-Dirs: test - ghc-options: -Wall - if !flag(tests) - buildable: False - -Executable data-reify-test3 - Build-Depends: base, data-reify - Main-Is: Test3.hs - Hs-Source-Dirs: test - ghc-options: -Wall - if !flag(tests) - buildable: False - -Executable data-reify-test4 - Build-Depends: base, data-reify - Main-Is: Test4.hs - Hs-Source-Dirs: test - ghc-options: -Wall - if !flag(tests) - buildable: False - -Executable data-reify-test5 - Build-Depends: base, data-reify - Main-Is: Test5.hs - Hs-Source-Dirs: test - ghc-options: -Wall - if !flag(tests) - buildable: False - -Executable data-reify-test6 - Build-Depends: base, data-reify - Main-Is: Test6.hs - Hs-Source-Dirs: test - ghc-options: -Wall - if !flag(tests) - buildable: False - -Executable data-reify-test7 - Build-Depends: base, data-reify - Main-Is: Test7.hs - Hs-Source-Dirs: test - ghc-options: -Wall - if !flag(tests) - buildable: False diff --git a/ghc-data-reify.spec b/ghc-data-reify.spec index f1cca75..7136787 100644 --- a/ghc-data-reify.spec +++ b/ghc-data-reify.spec @@ -4,16 +4,17 @@ %global pkg_name data-reify %global pkgver %{pkg_name}-%{version} +%bcond_without tests + Name: ghc-%{pkg_name} -Version: 0.6.1 -Release: 17%{?dist} +Version: 0.6.3 +Release: 1%{?dist} Summary: Reify a recursive data structure into an explicit graph License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -21,6 +22,13 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof BuildRequires: ghc-containers-prof +BuildRequires: ghc-hashable-prof +BuildRequires: ghc-unordered-containers-prof +%if %{with tests} +BuildRequires: ghc-base-compat-devel +BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-discover-devel +%endif # End cabal-rpm deps %description @@ -67,7 +75,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -83,6 +90,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm install +%check +%cabal_test + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -105,6 +116,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 0.6.3-1 +- update to 0.6.3 + * Thu Jul 22 2021 Fedora Release Engineering - 0.6.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index b30cc53..869c312 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -00d65801f7a6cbbb698a9ce35c52427d data-reify-0.6.1.tar.gz +SHA512 (data-reify-0.6.3.tar.gz) = 5ff5db9aebe6894ed6d039a767aceb7cf453c5771b3996fd01d31e40bfa99c6bb3eb528783e92a3424937d451b75eabccfac249c90a6261bd423216c97bdd89f