BR prof for lib and static for executable

This commit is contained in:
Jens Petersen 2019-08-05 18:33:03 +08:00
parent 3e3a849116
commit ad065b876c

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-1.0.0
# generated by cabal-rpm-1.0.1
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name x509
@ -20,23 +20,18 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
%if %{with haddock}
BuildRequires: ghc-doc
%endif
%if %{with ghc_prof}
BuildRequires: ghc-prof
%endif
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-asn1-encoding-devel
BuildRequires: ghc-asn1-parse-devel
BuildRequires: ghc-asn1-types-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-cryptonite-devel
BuildRequires: ghc-hourglass-devel
BuildRequires: ghc-memory-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-pem-devel
BuildRequires: ghc-asn1-encoding-prof
BuildRequires: ghc-asn1-parse-prof
BuildRequires: ghc-asn1-types-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-cryptonite-prof
BuildRequires: ghc-hourglass-prof
BuildRequires: ghc-memory-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-pem-prof
%if %{with tests}
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-quickcheck-devel
@ -50,6 +45,7 @@ X509 reader and writer.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
%endif