summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-21 02:55:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-21 02:56:05 +0000
commit1b1cbfcd46ee9a20cc00320577339de6d3ca59f5 (patch)
treeebcfdaa6ee0e597881314198cfb65fc6c6e4696e
parentAdding patch to replace non-functioning imports with static values for the ti... (diff)
downloadterminaltables-1b1cbfcd46ee9a20cc00320577339de6d3ca59f5.tar.xz
terminaltables-1b1cbfcd46ee9a20cc00320577339de6d3ca59f5.zip
Removing upstream changelog trimming now that a dedicated changelog file is included upstream.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/clean1
-rwxr-xr-xdebian/rules9
2 files changed, 1 insertions, 9 deletions
diff --git a/debian/clean b/debian/clean
index 10ecb87..739fbc2 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,3 +1,2 @@
*.egg-info/*
.cache/
-debian/upstream-changelog
diff --git a/debian/rules b/debian/rules
index 11d33f8..2dd20cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,11 +20,4 @@ override_dh_compress:
dh_compress -X example1.py -X example2.py -X example3.py -X html/
override_dh_installchangelogs:
- # Trim the changelog section out of the README file. Note that this will
- # hang if the changelog-section-{start,end} strings don't appear exactly as
- # they are in the README file.
- python3 -c "with open('README.rst', encoding='utf-8') as r: print(''.join( \
- ['' for x in iter(r.readline, '.. changelog-section-start\n')] + \
- [x for x in iter(r.readline, '.. changelog-section-end\n')]))" \
- > debian/upstream-changelog
- dh_installchangelogs debian/upstream-changelog
+ dh_installchangelogs CHANGELOG.md