Compare commits

..

No commits in common. "rawhide" and "f32" have entirely different histories.
rawhide ... f32

6 changed files with 195 additions and 274 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
/data-reify-0.6.tar.gz
/data-reify-0.6.1.tar.gz
/data-reify-0.6.3.tar.gz

102
changelog
View File

@ -1,102 +0,0 @@
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.6.3-5
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.6.3-3
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.6.3-1
- update to 0.6.3
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.6.1-14
- refresh to cabal-rpm-2.0.6
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.6.1-12
- add doc and prof subpackages (cabal-rpm-1.0.0)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.6.1-10
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.6.1-6
- rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.6.1-3
- refresh to cabal-rpm-0.11.1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 0.6.1-1
- update to 0.6.1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Feb 3 2015 Jens Petersen <petersen@redhat.com> - 0.6-10
- cblrpm refresh
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.6-6
- update to new simplified Haskell Packaging Guidelines
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.6-4
- update with cabal-rpm
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Apr 16 2012 Jens Petersen <petersen@redhat.com> - 0.6-2
- add LICENSE to ghc_files
* Tue Feb 7 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.6-1
- Updated license, summary and description.
- Spec file template generated by cabal2spec-0.25.2.

113
data-reify-0.6.1.cabal Normal file
View File

@ -0,0 +1,113 @@
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.
.
&#169; 2009 Andy Gill; BSD3 license.
Category: Language, Data, Parsing, Reflection
License: BSD3
License-file: LICENSE
Author: Andy Gill
Maintainer: Andy Gill <andygill@ku.edu>
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

View File

@ -1,137 +0,0 @@
Name: data-reify
Version: 0.6.3
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.
.
&#169; 2009 Andy Gill; BSD3 license.
Category: Language, Data, Parsing, Reflection
License: BSD3
License-file: LICENSE
Author: Andy Gill
Maintainer: Andy Gill <andygill@ku.edu>
Copyright: (c) 2009 Andy Gill
Homepage: http://ku-fpg.github.io/software/data-reify/
Stability: alpha
build-type: Simple
Cabal-Version: >= 1.10
tested-with: GHC == 7.0.4
, GHC == 7.2.2
, GHC == 7.4.2
, GHC == 7.6.3
, GHC == 7.8.4
, GHC == 7.10.3
, GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.3
, GHC == 8.10.1
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, hashable, containers, unordered-containers
Exposed-modules:
Data.Reify,
Data.Reify.Graph
Ghc-Options: -Wall
if impl(ghc >= 8.6)
ghc-options: -Wno-star-is-type
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules: Data.ReifySpec
build-depends: base >= 4 && < 5
, base-compat >= 0.11 && < 0.13
, data-reify
, hspec == 2.*
build-tool-depends: hspec-discover:hspec-discover == 2.*
hs-source-dirs: spec
default-language: Haskell2010
ghc-options: -Wall -threaded -rtsopts
Executable data-reify-test1
Build-Depends: base, data-reify
Main-Is: Test1.hs
Hs-Source-Dirs: test
ghc-options: -Wall
default-language: Haskell2010
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
default-language: Haskell2010
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
default-language: Haskell2010
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
default-language: Haskell2010
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
default-language: Haskell2010
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
default-language: Haskell2010
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
default-language: Haskell2010
if !flag(tests)
buildable: False

View File

@ -1,17 +1,15 @@
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
# generated by cabal-rpm-1.0.1
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name data-reify
%global pkgver %{pkg_name}-%{version}
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 0.6.3
Release: %autorelease
Version: 0.6.1
Release: 13%{?dist}
Summary: Reify a recursive data structure into an explicit graph
License: BSD-3-Clause
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
@ -19,24 +17,10 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# End cabal-rpm sources
# Begin cabal-rpm deps:
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-unordered-containers-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-hashable-prof
BuildRequires: ghc-unordered-containers-prof
%endif
%if %{with tests}
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-hspec-discover-devel
%endif
# End cabal-rpm deps
%description
@ -62,8 +46,6 @@ This package provides the Haskell %{pkg_name} library development files.
%if %{with haddock}
%package doc
Summary: Haskell %{pkg_name} library documentation
BuildArch: noarch
Requires: ghc-filesystem
%description doc
This package provides the Haskell %{pkg_name} library documentation.
@ -74,7 +56,6 @@ This package provides the Haskell %{pkg_name} library documentation.
%package prof
Summary: Haskell %{pkg_name} profiling library
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Supplements: (%{name}-devel and ghc-prof)
%description prof
This package provides the Haskell %{pkg_name} profiling library.
@ -84,7 +65,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -100,12 +81,6 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm install
%check
%if %{with tests}
%cabal_test
%endif
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
@ -118,7 +93,6 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%if %{with haddock}
%files doc -f %{name}-doc.files
%license LICENSE
%endif
@ -128,4 +102,78 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
%autochangelog
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 0.6.1-12
- add doc and prof subpackages (cabal-rpm-1.0.0)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.6.1-10
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.6.1-6
- rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.6.1-3
- refresh to cabal-rpm-0.11.1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jun 23 2016 Jens Petersen <petersen@redhat.com> - 0.6.1-1
- update to 0.6.1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Feb 3 2015 Jens Petersen <petersen@redhat.com> - 0.6-10
- cblrpm refresh
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.6-6
- update to new simplified Haskell Packaging Guidelines
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.6-4
- update with cabal-rpm
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Apr 16 2012 Jens Petersen <petersen@redhat.com> - 0.6-2
- add LICENSE to ghc_files
* Tue Feb 7 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.6-1
- Updated license, summary and description.
- Spec file template generated by cabal2spec-0.25.2.

View File

@ -1 +1 @@
SHA512 (data-reify-0.6.3.tar.gz) = 5ff5db9aebe6894ed6d039a767aceb7cf453c5771b3996fd01d31e40bfa99c6bb3eb528783e92a3424937d451b75eabccfac249c90a6261bd423216c97bdd89f
00d65801f7a6cbbb698a9ce35c52427d data-reify-0.6.1.tar.gz