|
|
@ -4,19 +4,24 @@
|
|
|
|
%global pkg_name resourcet
|
|
|
|
%global pkg_name resourcet
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
%global unliftiocore unliftio-core-0.1.1.0
|
|
|
|
|
|
|
|
%global subpkgs %{unliftiocore}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%bcond_without tests
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 1.1.10
|
|
|
|
Version: 1.1.10
|
|
|
|
|
|
|
|
# can only be reset when all subpkgs bumped
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Deterministic allocation and freeing of scarce resources
|
|
|
|
Summary: Deterministic allocation and freeing of scarce resources
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
|
|
|
Source1: https://hackage.haskell.org/package/%{unliftiocore}/%{unliftiocore}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
BuildRequires: ghc-rpm-macros-extra
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
BuildRequires: ghc-exceptions-devel
|
|
|
|
BuildRequires: ghc-exceptions-devel
|
|
|
@ -27,7 +32,7 @@ BuildRequires: ghc-mtl-devel
|
|
|
|
BuildRequires: ghc-transformers-base-devel
|
|
|
|
BuildRequires: ghc-transformers-base-devel
|
|
|
|
BuildRequires: ghc-transformers-compat-devel
|
|
|
|
BuildRequires: ghc-transformers-compat-devel
|
|
|
|
BuildRequires: ghc-transformers-devel
|
|
|
|
BuildRequires: ghc-transformers-devel
|
|
|
|
BuildRequires: ghc-unliftio-core-devel
|
|
|
|
#BuildRequires: ghc-unliftio-core-devel
|
|
|
|
%if %{with tests}
|
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: ghc-hspec-devel
|
|
|
|
BuildRequires: ghc-hspec-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -54,15 +59,26 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global main_version %{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{defined ghclibdir}
|
|
|
|
|
|
|
|
%ghc_lib_subpackage %{unliftiocore}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkgver}
|
|
|
|
%setup -q -n %{pkgver} -a1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
%ghc_libs_build %{subpkgs}
|
|
|
|
%ghc_lib_build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
|
|
|
|
%ghc_libs_install %{subpkgs}
|
|
|
|
%ghc_lib_install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -95,6 +111,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.1.10-1
|
|
|
|
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.1.10-1
|
|
|
|
- update to 1.1.10
|
|
|
|
- update to 1.1.10
|
|
|
|
|
|
|
|
- subpackage unliftio-core
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.9-3
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|