Compare commits

...

2 Commits

Author SHA1 Message Date
bfb5dbace7
Rebuilt for Fedora/RISCV (riscv64); adding .rvreX to Release:
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-06-25 21:43:40 +03:00
e8fd536a38
Remove subpackage
This is only for bootstrap on riscv64.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-14 12:42:26 +03:00

View File

@ -4,22 +4,18 @@
%global pkg_name statistics
%global pkgver %{pkg_name}-%{version}
%global denselinearalgebra dense-linear-algebra-0.1.0.0
%global subpkgs %{denselinearalgebra}
# testsuite missing deps: tasty-expected-failure
Name: ghc-%{pkg_name}
Version: 0.16.1.2
# can only be reset when all subpkgs bumped
Release: 13%{?dist}
Release: 13.0.riscv64.rvre0%{?dist}
Summary: A library of statistical types, data, and functions
License: BSD-2-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/%{denselinearalgebra}/%{denselinearalgebra}.tar.gz
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -118,29 +114,23 @@ This package provides the Haskell %{pkg_name} profiling library.
%global main_version %{version}
%if %{defined ghclibdir}
%ghc_lib_subpackage %{denselinearalgebra}
%endif
%global version %{main_version}
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver} -a1
%setup -q -n %{pkgver}
# End cabal-rpm setup
%build
# Begin cabal-rpm build:
%ghc_libs_build %{subpkgs}
%ghc_lib_build
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_libs_install %{subpkgs}
%ghc_lib_install
# End cabal-rpm install
@ -167,6 +157,12 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog
* Sun Jun 25 2023 David Abdurachmanov <davidlt@rivosinc.com> - 0.16.1.2-13.0.riscv64.rvre0
- Rebuilt for Fedora/RISCV (riscv64)
* Fri Apr 14 2023 David Abdurachmanov <davidlt@rivosinc.com> - 0.16.1.2-13.0.riscv64
- Remove subpackage (trying to bootstrap on riscv64)
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.16.1.2-13
- https://hackage.haskell.org/package/statistics-0.16.1.2/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration