From 40ab405c377a78907f67755a4df57194cdcee86a Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 21 Aug 2018 20:10:02 -0400 Subject: [PATCH] debian: create NEWS.gz in /usr/share/doc/e2fsprogs Create the full NEWS.gz and put it in /usr/share/doc/e2fsprogs instead of the RELEASE-NOTES file to comply with the Debian policy 4.2.0. Signed-off-by: Theodore Ts'o --- debian/e2fsprogs.docs | 1 - debian/rules | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/e2fsprogs.docs b/debian/e2fsprogs.docs index 7af9733..e845566 100644 --- a/debian/e2fsprogs.docs +++ b/debian/e2fsprogs.docs @@ -1,2 +1 @@ README -RELEASE-NOTES diff --git a/debian/rules b/debian/rules index 41aa202..36085bb 100755 --- a/debian/rules +++ b/debian/rules @@ -279,6 +279,8 @@ endif ( cd ${stdbuilddir}/doc && $(MAKE) V=1 libext2fs.html ) ( cd ${stdbuilddir}/lib/et && $(MAKE) V=1 com_err.info com_err.html ) + cat $(shell /bin/ls -1 ./doc/RelNotes/*.txt | tac) | \ + gzip -9n > ${stdbuilddir}/NEWS.gz touch ${BUILDSTDSTAMP} @@ -328,6 +330,8 @@ ifeq ($(DEB_HOST_ARCH_OS), hurd) ${INSTALL} -m 0644 misc/mke2fs-hurd.conf ${tmpdir}/etc/mke2fs.conf endif + dh_install -p e2fsprogs --sourcedir=${stdbuilddir} NEWS.gz \ + usr/share/doc/e2fsprogs dh_movefiles test -z "`find ${tmpdir} -type f`" -- 1.8.3.1