summaryrefslogtreecommitdiff
path: root/mc
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2016-04-18 19:52:28 +0200
committerJonas Smedegaard <dr@jones.dk>2016-04-18 19:52:28 +0200
commit3b23e8e9183203164c1db455fe1933bfcea139b5 (patch)
tree200dd8a44fa528c15b0916734a951400b338fdf3 /mc
parent1eb364f42804fb04daefb8b34ca42b2cc7cc39fa (diff)
Improve and generalize changelog entry menuitem.
Diffstat (limited to 'mc')
-rw-r--r--mc/mc.menu4
-rw-r--r--mc/mc.menu.diff6
2 files changed, 7 insertions, 3 deletions
diff --git a/mc/mc.menu b/mc/mc.menu
index 5cd4b8d..588b6a9 100644
--- a/mc/mc.menu
+++ b/mc/mc.menu
@@ -314,4 +314,6 @@ t gbp import-dsc current file in opposite dir
gbp import-dsc --pristine-tar --sign-tags %D/%F
c Create unofficial changelog entry
- dch -D jonas -l ~0jones --force-distribution "Local build based on Debian Sid packaging."
+ PREVDIST=$(dpkg-parsechangelog -S Distribution)
+ DOMAIN=$(dnsdomainname)
+ dch -D "$PREVDIST-$DOMAIN" -l "~0$DOMAIN" --force-distribution "Local build based on Debian $PREVDIST packaging."
diff --git a/mc/mc.menu.diff b/mc/mc.menu.diff
index e03a32a..689b752 100644
--- a/mc/mc.menu.diff
+++ b/mc/mc.menu.diff
@@ -12,7 +12,7 @@
=+ f ^part | f ^Part | f uue & t r
+ t t
U Uudecode marked news articles (needs work)
-@@ -306,60 +301,17 @@
+@@ -306,60 +301,19 @@
mkdir "$D"; (cd "$D" && "$1" "$2" "../$i" | tar xvf -)
done
@@ -83,4 +83,6 @@
+ git-import-dsc --pristine-tar --sign-tags %D/%F
+
+c Create unofficial changelog entry
-+ dch -D jonas -l ~0jones --force-distribution "Local build based on Debian Sid packaging."
++ PREVDIST=$(dpkg-parsechangelog -S Distribution)
++ DOMAIN=$(dnsdomainname)
++ dch -D "$PREVDIST-$DOMAIN" -l "~0$DOMAIN" --force-distribution "Local build based on Debian $PREVDIST packaging."