I'm trying to build a Debian package in OBS via the "DEBTRANSFORM" method. (No idea how that is called offically). Meaning I provide no debian/ structure but the relevant files in parallel to the spec.
Like debian.postinst debian.postrm
Everything fine so far but I also would need a postinst and postrm script for a subpackage. I haven't found documentation how that works or if it's even possible. And if not how could it be achieved?