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

spec command gives error if no cabal data #57

Closed juhp closed 6 years ago

juhp commented 6 years ago

cabal-rpm errors out when it is used before cabal update has been run.

It should either give up or run cabal update if not data present.

juhp commented 6 years ago

Actually looks like I already fixed this with 0.12!: