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

Add --strict flag to make cabal-rpm fail rather than generate an invalid spec file. #42

Closed peti closed 8 years ago

peti commented 8 years ago

When cabal-rpm cannot resolve which package provides a required library file, it used to simply omit the dependency from the generated output. The new --strict flag makes the tool fail with an run-time error instead. This is useful for people who run cabal-rpm in some kind of batch environment (i.e. using a makefile) and who want to make sure no errors are missed.

Cc: @mimi1vx

juhp commented 8 years ago

Thanks!