Compare commits

...

4 Commits

Author SHA1 Message Date
Jens Petersen b3daada568 fixup! testsuite: ppc64le RTS does not have -rtsopts=-N 2023-02-17 10:04:58 +08:00
Jens Petersen 74a868708c testsuite: ppc64le RTS does not have -rtsopts=-N 2023-02-17 09:52:38 +08:00
Jens Petersen 2028c84a17 Convert to %autorelease and %autochangelog
[skip changelog]
2023-02-16 13:22:39 +08:00
Jens Petersen 995b0ec8dd refresh to cabal-rpm-2.1.0 including SPDX migration 2023-01-22 01:55:51 +08:00
2 changed files with 26 additions and 11 deletions

8
changelog Normal file
View File

@ -0,0 +1,8 @@
* 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,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