1
0
Fork 0

Removing conditional mta suggests/recommends, the mta should not be pulled in by default via recommends.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-14 06:02:08 +01:00
parent 232b664503
commit 5cf42564ab
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 1 additions and 9 deletions

3
debian/control vendored
View file

@ -22,9 +22,8 @@ Depends:
${shlibs:Depends}, ${shlibs:Depends},
Recommends: Recommends:
kmod, kmod,
${mta:Recommends},
Suggests: Suggests:
${mta:Suggests}, default-mta | mail-transport-agent,
Description: tool for managing Linux MD devices (software RAID) Description: tool for managing Linux MD devices (software RAID)
The mdadm tool is used to create, manage, and monitor Linux MD (software The mdadm tool is used to create, manage, and monitor Linux MD (software
RAID) devices. RAID) devices.

7
debian/rules vendored
View file

@ -43,10 +43,3 @@ override_dh_installsystemd:
override_dh_installinit: override_dh_installinit:
dh_installinit --init-script=mdadm-waitidle --no-start -- stop 98 0 6 . dh_installinit --init-script=mdadm-waitidle --no-start -- stop 98 0 6 .
dh_installinit -- defaults 25 dh_installinit -- defaults 25
override_dh_gencontrol:
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes), yes)
dh_gencontrol -- -Vmta:Suggests="default-mta | mail-transport-agent"
else
dh_gencontrol -- -Vmta:Recommends="default-mta | mail-transport-agent"
endif