ghc-haskell-platform-devel should not require non-existant ghc-haskell-platform; protect ghc-haskell-platform-devel %files for koji
This commit is contained in:
parent
3171382647
commit
4ecbdd4c79
@ -146,6 +146,7 @@ hand-written or generated by another program).
|
||||
|
||||
|
||||
# devel subpackage
|
||||
%define ghc_without_shared 1
|
||||
%ghc_devel_package haskell-platform %{version}
|
||||
%{?ghc_packages_list:Requires: %(echo %{ghc_packages_list} | sed -e "s/\([^ ]*\)-\([^ ]*\)/ghc-\1-devel = \2-%{release},/g")}
|
||||
Requires: ghc-libraries = %{ghc_compiler_version}
|
||||
@ -282,8 +283,11 @@ cd ..
|
||||
%{_sysconfdir}/profile.d/cabal-install.sh
|
||||
|
||||
|
||||
# protect for koji
|
||||
%if %{defined ghc_devel_files}
|
||||
%files -n ghc-haskell-platform-devel -f ghc-haskell-platform-devel.files
|
||||
%doc packages/haskell-platform-%{version}/LICENSE
|
||||
%endif
|
||||
|
||||
|
||||
%files -n happy
|
||||
|
Loading…
Reference in New Issue
Block a user