Compare commits

..

1 Commits

Author SHA1 Message Date
David Abdurachmanov a00a172bcd
Disable tests on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-11-02 10:51:18 +02:00
2 changed files with 16 additions and 28 deletions

View File

@ -1,8 +0,0 @@
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 7.1.3-2
- rebuild
* Sat Mar 26 2022 Jens Petersen <petersen@redhat.com> - 7.1.3-1
- spec file generated by cabal-rpm-2.0.11

View File

@ -1,21 +1,21 @@
# generated by cabal-rpm-2.1.0
# generated by cabal-rpm-2.0.11
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name formatting
%global pkgver %{pkg_name}-%{version}
# i686: tests assume Int is Int64
# s390x: unknown RTS option: -N
%ifnarch i686 s390x armv7hl
# s390x, riscv64: unknown RTS option: -N
%ifnarch i686 s390x armv7hl riscv64
%bcond_without tests
%endif
Name: ghc-%{pkg_name}
Version: 7.1.3
Release: %autorelease
Release: 3.0.riscv64%{?dist}
Summary: Combinator-based type-safe formatting (like printf() or FORMAT)
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
@ -26,15 +26,6 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-clock-devel
BuildRequires: ghc-double-conversion-devel
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-clock-prof
BuildRequires: ghc-double-conversion-prof
@ -43,7 +34,6 @@ BuildRequires: ghc-scientific-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-prof
%endif
%if %{with tests}
BuildRequires: ghc-hspec-devel
%endif
@ -98,10 +88,6 @@ This package provides the Haskell %{pkg_name} profiling library.
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
%ifarch ppc64le
sed -i -e "s/ -rtsopts -with-rtsopts=-N//" %{pkg_name}.cabal
%endif
%build
# Begin cabal-rpm build:
@ -143,4 +129,14 @@ sed -i -e "s/ -rtsopts -with-rtsopts=-N//" %{pkg_name}.cabal
%changelog
%autochangelog
* Wed Nov 02 2022 David Abdurachmanov <davidlt@rivosinc.com> - 7.1.3-3.0.riscv64
- Disable tests on riscv64
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 7.1.3-2
- rebuild
* Sat Mar 26 2022 Jens Petersen <petersen@redhat.com> - 7.1.3-1
- spec file generated by cabal-rpm-2.0.11