|
|
@ -1,31 +1,37 @@
|
|
|
|
# generated by cabal-rpm-2.0.9
|
|
|
|
# generated by cabal-rpm-2.0.10 --subpackage
|
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
|
|
|
|
|
|
|
|
%global pkg_name random
|
|
|
|
%global pkg_name random
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global splitmix splitmix-0.1.0.3
|
|
|
|
|
|
|
|
%global subpkgs %{splitmix}
|
|
|
|
|
|
|
|
|
|
|
|
# testsuite missing deps: tasty-expected-failure tasty-smallcheck
|
|
|
|
# testsuite missing deps: tasty-expected-failure tasty-smallcheck
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 1.2.0
|
|
|
|
Version: 1.2.0
|
|
|
|
|
|
|
|
# can only be reset when all subpkgs bumped
|
|
|
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Pseudo-random number generation
|
|
|
|
Summary: Pseudo-random number generation
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
# Begin cabal-rpm sources:
|
|
|
|
# Begin cabal-rpm sources:
|
|
|
|
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/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
|
|
|
Source1: https://hackage.haskell.org/package/%{splitmix}/%{splitmix}.tar.gz
|
|
|
|
|
|
|
|
Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
|
|
|
# End cabal-rpm sources
|
|
|
|
# End cabal-rpm sources
|
|
|
|
|
|
|
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
BuildRequires: ghc-rpm-macros-extra
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
BuildRequires: ghc-bytestring-prof
|
|
|
|
BuildRequires: ghc-bytestring-prof
|
|
|
|
BuildRequires: ghc-deepseq-prof
|
|
|
|
BuildRequires: ghc-deepseq-prof
|
|
|
|
BuildRequires: ghc-mtl-prof
|
|
|
|
BuildRequires: ghc-mtl-prof
|
|
|
|
BuildRequires: ghc-splitmix-prof
|
|
|
|
#BuildRequires: ghc-splitmix-prof
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -111,21 +117,32 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global main_version %{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{defined ghclibdir}
|
|
|
|
|
|
|
|
%ghc_lib_subpackage %{splitmix}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global version %{main_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
# Begin cabal-rpm setup:
|
|
|
|
%setup -q -n %{pkgver}
|
|
|
|
%setup -q -n %{pkgver} -a1
|
|
|
|
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
|
|
|
dos2unix -k -n %{SOURCE2} %{pkg_name}.cabal
|
|
|
|
# End cabal-rpm setup
|
|
|
|
# End cabal-rpm setup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# Begin cabal-rpm build:
|
|
|
|
# Begin cabal-rpm build:
|
|
|
|
|
|
|
|
%ghc_libs_build %{subpkgs}
|
|
|
|
%ghc_lib_build
|
|
|
|
%ghc_lib_build
|
|
|
|
# End cabal-rpm build
|
|
|
|
# End cabal-rpm build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
# Begin cabal-rpm install
|
|
|
|
# Begin cabal-rpm install
|
|
|
|
|
|
|
|
%ghc_libs_install %{subpkgs}
|
|
|
|
%ghc_lib_install
|
|
|
|
%ghc_lib_install
|
|
|
|
# End cabal-rpm install
|
|
|
|
# End cabal-rpm install
|
|
|
|
|
|
|
|
|
|
|
@ -154,6 +171,7 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 1.2.0-1
|
|
|
|
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 1.2.0-1
|
|
|
|
- update to 1.2.0
|
|
|
|
- update to 1.2.0
|
|
|
|
|
|
|
|
- splitmix now subpackage (moved from QuickCheck)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-18
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|