refresh to cabal-rpm-2.0.9

This commit is contained in:
Jens Petersen 2021-07-08 00:30:11 +08:00
parent 8ae6808703
commit e4e6d51c8a
1 changed files with 20 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# generated by cabal-rpm-2.0.6
# generated by cabal-rpm-2.0.9
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name http-streams
%global pkgver %{pkg_name}-%{version}
# testsuite missing deps: http-common openssl-streams
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 0.8.7.2
@ -38,6 +38,17 @@ BuildRequires: ghc-openssl-streams-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unordered-containers-prof
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-aeson-pretty-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-hspec-expectations-devel
BuildRequires: ghc-lifted-base-devel
BuildRequires: ghc-snap-core-devel
BuildRequires: ghc-snap-server-devel
BuildRequires: ghc-system-fileio-devel
BuildRequires: ghc-system-filepath-devel
%endif
# End cabal-rpm deps
%description
@ -66,6 +77,7 @@ This package provides the Haskell %{pkg_name} library development files.
%package doc
Summary: Haskell %{pkg_name} library documentation
BuildArch: noarch
Requires: ghc-filesystem
%description doc
This package provides the Haskell %{pkg_name} library documentation.
@ -101,6 +113,12 @@ This package provides the Haskell %{pkg_name} profiling library.
# End cabal-rpm install
%check
%if %{with tests}
%cabal_test
%endif
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE