#1120767 cabal-debian should not add -prof BDs when src:pkg generates no bin:foo-prof

Package:
cabal-debian
Source:
cabal-debian
Description:
Create a debianization for a cabal package
Submitter:
Nicholas D Steeves
Date:
2025-11-15 21:51:02 UTC
Severity:
normal
#1120767#5
Date:
2025-11-15 21:48:38 UTC
From:
To:
I admit this is a corner-case when considering the bulk of team
packages, which is why I've set this as "wishlist".  When 'dht update
p/haskell-heldger-web', cabal-debian added profiling libraries to the
BDs, even though they're not used nor necessary.  While it may not fix
all cases, it would be nice if '.*-prof' BDs were dropped when src:pkg
doesn't generate a bin:'.*-prof' package.

Is that too naive?

Regards,
Nicholas