|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# generated by cabal-rpm-2.0.11
|
|
|
|
|
# generated by cabal-rpm-2.1.0
|
|
|
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
|
|
|
|
|
|
%global pkg_name formatting
|
|
|
|
@ -12,10 +12,10 @@
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 7.1.3
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Combinator-based type-safe formatting (like printf() or FORMAT)
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
@ -26,6 +26,15 @@ 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
|
|
|
|
@ -34,6 +43,7 @@ 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
|
|
|
|
@ -88,6 +98,10 @@ 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:
|
|
|
|
@ -129,11 +143,4 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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
|
|
|
|
|
%autochangelog
|
|
|
|
|