[Python-modules-commits] [python-tornado] 01/01: Generate upstream changelog file during build
Ondřej Nový
onovy at moszumanska.debian.org
Mon Aug 1 12:40:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository python-tornado.
commit 98e700376131cdcd7c7a1a7881dccb8736bda7af
Author: Ondřej Nový <onovy at debian.org>
Date: Mon Aug 1 14:40:40 2016 +0200
Generate upstream changelog file during build
---
debian/changelog | 1 +
debian/clean | 1 +
debian/rules | 9 +++++++++
3 files changed, 11 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 89d068c..b5b76ac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ python-tornado (4.4.1-1) UNRELEASED; urgency=medium
* Bumped required Python version to 2.7 and 3.3
* Added python-tornado-doc package with docs and examples
* Enabled all but PIE hardening
+ * Generate upstream changelog file during build
-- Ondřej Nový <onovy at debian.org> Sat, 16 Jul 2016 22:56:08 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..5f1524d
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+debian/upstream-changelog
diff --git a/debian/rules b/debian/rules
index 682c1af..c4bfbe3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,3 +21,12 @@ ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
sphinx-build -b html docs $(CURDIR)/debian/python-tornado-doc/usr/share/doc/python-tornado-doc/html
dh_sphinxdoc
endif
+
+override_dh_installchangelogs:
+ rm -f debian/upstream-changelog
+ set -e ; for i in $$(find docs/releases/ -name "*.rst" | sort -V -r) ; do \
+ cat $$i ; \
+ echo "" ; \
+ done >>debian/upstream-changelog
+
+ dh_installchangelogs debian/upstream-changelog
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-tornado.git
More information about the Python-modules-commits
mailing list