juhp / cabal-rpm

Haskell Cabal RPM packaging tool
https://hackage.haskell.org/package/cabal-rpm
GNU General Public License v3.0
25 stars 8 forks source link

handle packages that start with ghc- #68

Open juhp opened 2 years ago

juhp commented 2 years ago

Currently cabal-rpm has problems handling Haskell packages that start with "ghc-", since this is the common prefix we use for Haskell packages built with ghc.

An example is the ghc-tags package.

Using a Package type may help to keep better track of Haskell package names, though that may not be sufficient.

juhp commented 2 years ago

Cold cabal spec actually works, but for existing spec file it tries to prune the 'ghc-' prefix and look for such dir.