|
|
@ -1,4 +1,4 @@
|
|
|
|
# generated by cabal-rpm-1.0.0
|
|
|
|
# generated by cabal-rpm-1.0.1
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
|
|
|
|
%global pkg_name zip-archive
|
|
|
|
%global pkg_name zip-archive
|
|
|
@ -22,26 +22,21 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#
|
|
|
|
|
|
|
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
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-rpm-macros
|
|
|
|
BuildRequires: ghc-array-devel
|
|
|
|
BuildRequires: ghc-array-prof
|
|
|
|
BuildRequires: ghc-binary-devel
|
|
|
|
BuildRequires: ghc-base-prof
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
BuildRequires: ghc-binary-prof
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
BuildRequires: ghc-bytestring-prof
|
|
|
|
BuildRequires: ghc-digest-devel
|
|
|
|
BuildRequires: ghc-containers-prof
|
|
|
|
BuildRequires: ghc-directory-devel
|
|
|
|
BuildRequires: ghc-digest-prof
|
|
|
|
BuildRequires: ghc-filepath-devel
|
|
|
|
BuildRequires: ghc-directory-prof
|
|
|
|
BuildRequires: ghc-mtl-devel
|
|
|
|
BuildRequires: ghc-filepath-prof
|
|
|
|
BuildRequires: ghc-pretty-devel
|
|
|
|
BuildRequires: ghc-mtl-prof
|
|
|
|
BuildRequires: ghc-text-devel
|
|
|
|
BuildRequires: ghc-pretty-prof
|
|
|
|
BuildRequires: ghc-time-devel
|
|
|
|
BuildRequires: ghc-text-prof
|
|
|
|
BuildRequires: ghc-unix-devel
|
|
|
|
BuildRequires: ghc-time-prof
|
|
|
|
BuildRequires: ghc-zlib-devel
|
|
|
|
BuildRequires: ghc-unix-prof
|
|
|
|
|
|
|
|
BuildRequires: ghc-zlib-prof
|
|
|
|
BuildRequires: unzip
|
|
|
|
BuildRequires: unzip
|
|
|
|
%if %{with tests}
|
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
@ -76,6 +71,7 @@ extracter is provided in the source distribution.
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
|
|
|
|
|
|
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
|
|
|
%if %{defined ghc_version}
|
|
|
|
%if %{defined ghc_version}
|
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|