Compare commits

...

30 Commits
f26 ... rawhide

Author SHA1 Message Date
Jens Petersen
93447ff255 Convert to %autorelease and %autochangelog
[skip changelog]
2023-02-16 13:10:09 +08:00
Jens Petersen
9da0279ec5 refresh to cabal-rpm-2.1.0 with SPDX migration 2023-02-16 12:42:06 +08:00
Fedora Release Engineering
802a0698b8 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 04:38:24 +00:00
Jens Petersen
b0c07edb94 update to 0.4.6 2022-06-07 10:17:25 +08:00
Fedora Release Engineering
617b3dab55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 04:27:27 +00:00
Jens Petersen
38ee5f5efa refresh to cabal-rpm-2.0.9 2021-08-05 01:44:26 +08:00
Jens Petersen
f973bf7c29 update to 0.4.5 2021-08-05 01:44:24 +08:00
Fedora Release Engineering
83993bb7fa - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 00:15:10 +00:00
Fedora Release Engineering
6e86108d47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 06:48:37 +00:00
Fedora Release Engineering
eb000d387f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 18:44:35 +00:00
Jens Petersen
0eeb59248f bump release 2020-07-17 17:48:57 +08:00
Jens Petersen
31fd808a58 refresh to cabal-rpm-2.0.6 2020-07-16 19:03:25 +08:00
Jens Petersen
4bc8b8c33c refresh to cabal-rpm-2.0.5 2020-06-04 19:25:02 +08:00
Jens Petersen
756715bbe4 enable tests 2020-02-20 01:11:52 +08:00
Jens Petersen
73b1fd4a2c refresh to cabal-rpm-2.0.2 2020-02-07 22:19:10 +08:00
Fedora Release Engineering
03a0524e3b - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 20:12:18 +00:00
Jens Petersen
d29b66052d BR prof for lib and static for executable 2019-08-05 18:27:13 +08:00
Jens Petersen
0b1e101321 update to 0.4.4 2019-07-25 15:07:43 +00:00
Jens Petersen
00a52f1fb8 refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs 2019-07-25 06:19:34 +00:00
Fedora Release Engineering
a725171bff - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 02:02:51 +00:00
Jens Petersen
c39254a396 refresh to cabal-rpm-0.13 2019-02-27 00:44:47 +08:00
Fedora Release Engineering
01fdc1886b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 21:07:05 +00:00
Jens Petersen
fd10635469 revise .cabal 2018-07-29 00:53:28 +09:00
Fedora Release Engineering
8ec15269fc - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 01:31:06 +00:00
Fedora Release Engineering
3e2c0a62ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 11:15:10 +00:00
Jens Petersen
cde99bbad1 drop ldconfig scriptlets 2018-02-04 01:01:50 +09:00
Jens Petersen
ac1d6282b6 bump release 2018-01-26 11:15:31 +01:00
Jens Petersen
db4e91a909 refresh to cabal-rpm-0.12.1 2018-01-24 14:10:28 +01:00
Fedora Release Engineering
f40de47652 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 21:11:23 +00:00
Fedora Release Engineering
88fdf2b03b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 09:33:07 +00:00
5 changed files with 244 additions and 37 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
/STMonadTrans-0.3.2.tar.gz
/STMonadTrans-0.3.3.tar.gz
/STMonadTrans-0.4.3.tar.gz
/STMonadTrans-0.4.4.tar.gz
/STMonadTrans-0.4.5.tar.gz
/STMonadTrans-0.4.6.tar.gz

87
STMonadTrans-0.4.6.cabal Normal file
View File

@ -0,0 +1,87 @@
name: STMonadTrans
version: 0.4.6
x-revision: 1
cabal-version: >= 1.10
license: BSD3
license-file: LICENSE
author: Josef Svenningsson
maintainer: josef.svenningsson@gmail.com, Andreas Abel
homepage: https://github.com/josefs/STMonadTrans
bug-reports: https://github.com/josefs/STMonadTrans/issues
category: Monads
build-type: Simple
synopsis: A monad transformer version of the ST monad
description:
A monad transformer version of the ST monad.
.
Warning! This monad transformer should not be used with monads that
can contain multiple answers, like the list monad. The reason is that
the state token will be duplicated across the different answers and
this causes Bad Things to happen (such as loss of referential
transparency). Safe monads include the monads State, Reader, Writer,
Maybe and combinations of their corresponding monad transformers.
Tested-With: 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.4
, GHC == 8.10.7
, GHC == 9.0.1
, GHC == 9.2.1
extra-source-files:
README.md
changelog.md
source-repository head
type: git
location: https://github.com/josefs/STMonadTrans
library
default-language: Haskell2010
build-depends: base >= 4.6 && < 5
, mtl >= 1.1
, array
-- MonadFail for GHC <= 7
if impl(ghc < 8.0)
build-depends: fail
exposed-modules:
Control.Monad.ST.Trans
Control.Monad.ST.Trans.Internal
default-extensions:
CPP
BangPatterns
MagicHash
UnboxedTuples
Rank2Types
FlexibleInstances
MultiParamTypeClasses
UndecidableInstances
ghc-options:
-Wall
-fwarn-tabs
if impl(ghc >= 8.0)
ghc-options:
-Wcompat
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends: base >= 4 && < 5
, tasty >= 0.11.0.4 && < 1.5
, tasty-quickcheck >= 0.8.4 && < 0.11
, tasty-hunit >= 0.9.2 && < 0.11
, transformers >= 0.2 && < 0.7
, STMonadTrans
, array

81
changelog Normal file
View File

@ -0,0 +1,81 @@
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.4.6-3
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 0.4.6-1
- https://hackage.haskell.org/package/STMonadTrans-0.4.6/changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.4.5-1
- update to 0.4.5
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 0.4.4-4
- refresh to cabal-rpm-2.0.6
* Thu Feb 20 2020 Jens Petersen <petersen@redhat.com> - 0.4.4-3
- enable tests
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.4.4-1
- update to 0.4.4
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.4.3-9
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.4.3-7
- revise .cabal
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.4.3-4
- rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 0.4.3-1
- update to 0.4.3
- disable tests ("Prelude.read: no parse")
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun Jun 26 2016 Jens Petersen <petersen@redhat.com> - 0.3.3-1
- update to 0.3.3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Feb 9 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3.2-1
- spec file generated by cabal-rpm-0.9.3

View File

@ -1,25 +1,41 @@
# generated by cabal-rpm-0.11.1
# https://fedoraproject.org/wiki/Packaging:Haskell
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name STMonadTrans
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 0.4.3
Release: 1%{?dist}
Version: 0.4.6
Release: %autorelease
Summary: A monad transformer version of the ST monad
License: BSD
License: BSD-3-Clause
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:
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-mtl-devel
%if %{with ghc_prof}
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-mtl-prof
%endif
%if %{with tests}
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-tasty-quickcheck-devel
BuildRequires: ghc-transformers-devel
%endif
# End cabal-rpm deps
%description
@ -34,63 +50,83 @@ Writer, Maybe and combinations of their corresponding monad transformers.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%endif
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
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.
%endif
%if %{with ghc_prof}
%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.
%endif
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
%build
# Begin cabal-rpm build:
%ghc_lib_build
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_lib_install
# End cabal-rpm install
%check
%if %{with tests}
%cabal_test
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%endif
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
%files devel -f %{name}-devel.files
%doc changelog.md
%doc README.md changelog.md
%if %{with haddock}
%files doc -f %{name}-doc.files
%license LICENSE
%endif
%if %{with ghc_prof}
%files prof -f %{name}-prof.files
%endif
%changelog
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 0.4.3-1
- update to 0.4.3
- disable tests ("Prelude.read: no parse")
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun Jun 26 2016 Jens Petersen <petersen@redhat.com> - 0.3.3-1
- update to 0.3.3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Feb 9 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3.2-1
- spec file generated by cabal-rpm-0.9.3
%autochangelog

View File

@ -1 +1 @@
SHA512 (STMonadTrans-0.4.3.tar.gz) = c14d629bde9541677b107cf4d78feb7af355c8ac93728ad85d0887cb1200d8234d956d9e23aa4927c410ab2c6d24ec94a4ade37951bc51ff3bde877a4e4f1382
SHA512 (STMonadTrans-0.4.6.tar.gz) = 51271beb580b44029fad41bb03ed3585acf803af6c60dd410a00196505f872cc38974dbc078a0a1f8077dbd69354906ce46f43cab9e82f6610fb668e15019080