[maven-parent] 08/18: Simplified debian/rules
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Jul 20 15:29:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository maven-parent.
commit 16aa234ee946f373bdf4976604cebe1a14f7ad56
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Jul 20 16:54:59 2017 +0200
Simplified debian/rules
---
debian/changelog | 1 +
debian/rules | 7 ++-----
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index dbfed60..087a8e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ maven-parent (21-3) UNRELEASED; urgency=medium
* Moved the package to Git
* Standards-Version updated to 4.0.0
* Switch to debhelper level 10
+ * Simplified debian/rules
-- Emmanuel Bourg <ebourg at apache.org> Thu, 20 Jul 2017 16:48:24 +0200
diff --git a/debian/rules b/debian/rules
index 2f9fe19..86c2885 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,7 @@
#!/usr/bin/make -f
-DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -d: -f2- | sed 's/-[^-]*$$//')
-
-get-orig-source:
- uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
-
%:
dh $@ --with maven_repo_helper
+get-orig-source:
+ uscan --download-current-version --force-download --rename
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-parent.git
More information about the pkg-java-commits
mailing list