BR prof for lib and static for executable
This commit is contained in:
parent
34d1d60f37
commit
02626311ff
|
@ -1,11 +1,9 @@
|
|||
# generated by cabal-rpm-1.0.0
|
||||
# generated by cabal-rpm-1.0.1
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name hslogger
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.2.12
|
||||
Release: 3%{?dist}
|
||||
|
@ -20,24 +18,16 @@ 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-containers-devel
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-network-devel
|
||||
BuildRequires: ghc-old-locale-devel
|
||||
BuildRequires: ghc-process-devel
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-unix-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-HUnit-devel
|
||||
%endif
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-containers-prof
|
||||
BuildRequires: ghc-directory-prof
|
||||
BuildRequires: ghc-mtl-prof
|
||||
BuildRequires: ghc-network-prof
|
||||
BuildRequires: ghc-old-locale-prof
|
||||
BuildRequires: ghc-process-prof
|
||||
BuildRequires: ghc-time-prof
|
||||
BuildRequires: ghc-unix-prof
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
|
@ -53,6 +43,7 @@ built in.
|
|||
%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
|
||||
|
@ -100,10 +91,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
|
|||
# End cabal-rpm install
|
||||
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
|
|
Loading…
Reference in New Issue