summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-25 13:55:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-25 17:54:02 +0000
commit057d6e3d2398db28c69d1285b25032e6027c978a (patch)
tree85c5600823ae63105c1e82b1acb1c484b2caef2f
parentMoving reportbug files to subdirectory in debian tree. (diff)
downloadmdadm-057d6e3d2398db28c69d1285b25032e6027c978a.tar.xz
mdadm-057d6e3d2398db28c69d1285b25032e6027c978a.zip
Removing conditional mta suggests/recommends, the mta should not be pulled in by default via recommends.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules7
2 files changed, 1 insertions, 9 deletions
diff --git a/debian/control b/debian/control
index 5a6d4f3..d972a2b 100644
--- a/debian/control
+++ b/debian/control
@@ -22,9 +22,8 @@ Depends:
${shlibs:Depends},
Recommends:
kmod,
- ${mta:Recommends},
Suggests:
- ${mta:Suggests},
+ default-mta | mail-transport-agent,
Description: tool for managing Linux MD devices (software RAID)
The mdadm tool is used to create, manage, and monitor Linux MD (software
RAID) devices.
diff --git a/debian/rules b/debian/rules
index 2e46656..0a14e36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,10 +43,3 @@ override_dh_installsystemd:
override_dh_installinit:
dh_installinit --init-script=mdadm-waitidle --no-start -- stop 98 0 6 .
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