[apache-pom] 10/20: Simplified debian/rules
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Jul 20 22:51:13 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository apache-pom.
commit 6aabd2e9dcbf3514b053255cdd07c95cf1ea9bd4
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Jul 20 19:39:50 2017 +0200
Simplified debian/rules
---
debian/changelog | 1 +
debian/rules | 9 +++------
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d02ed4c..0e5644b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ apache-pom (10-3) UNRELEASED; urgency=low
* Moved the package to Git
* Standards-Version updated to 4.0.0
* Switch to debhelper level 10
+ * Simplified debian/rules
[ Ludovic Claude ]
* Update list of plugins to ignore
diff --git a/debian/rules b/debian/rules
index fda5457..03dd852 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,8 @@
#!/usr/bin/make -f
-DEB_SOURCE_PACKAGE := $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ')
-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/apache-pom.git
More information about the pkg-java-commits
mailing list