drop %ghc_compiler to avoid srpm problems in koji etc

epel9
Jens Petersen 12 years ago
parent 0dd634c574
commit 6d8c8e6f0c

@ -66,8 +66,6 @@ done\
# compiler version # compiler version
%ghc_version %{!?ghc_version_override:%(ghc --numeric-version)}%{?ghc_version_override} %ghc_version %{!?ghc_version_override:%(ghc --numeric-version)}%{?ghc_version_override}
%ghc_compiler ghc-compiler = %{ghc_version}
# create and install package.conf file # create and install package.conf file
# cabal_pkg_conf [name] [version] # cabal_pkg_conf [name] [version]
%cabal_pkg_conf()\ %cabal_pkg_conf()\

@ -65,9 +65,9 @@ Summary: %{?common_summary}%{!?common_summary:Haskell %{pkgname} library}
%{nil} %{nil}
# devel pkg basic requires # devel pkg basic requires
%ghc_devel_requires Requires: %{ghc_compiler}\ %ghc_devel_requires Requires: ghc-compiler = %{ghc_version}\
Requires(post): %{ghc_compiler}\ Requires(post): ghc-compiler = %{ghc_version}\
Requires(postun): %{ghc_compiler}\ Requires(postun): ghc-compiler = %{ghc_version}\
Requires: ghc-%{?pkg_name}%{!?pkg_name:%{pkgname}} = %{?pkgver}%{!?pkgver:%{version}}-%{release} Requires: ghc-%{?pkg_name}%{!?pkg_name:%{pkgname}} = %{?pkgver}%{!?pkgver:%{version}}-%{release}
# ghc_devel_package [-c cdepslist] [-h pkgdepslist] [-l licensetag] [-m] [name] [version] # ghc_devel_package [-c cdepslist] [-h pkgdepslist] [-l licensetag] [-m] [name] [version]

Loading…
Cancel
Save