From 3c4f9b6d196744a39561a153be139d1db209b473 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Sat, 8 May 2021 12:09:18 +0200 Subject: [PATCH] debian: Uninstall PDF files (DFSG-nonfree) Because they can't be regenerated from (missing) sources Relate-to: https://github.com/theupdateframework/tuf/issues/263#issuecomment-835239415 Cc: <@tumbleweed> Signed-off-by: Philippe Coval --- debian/python-tuf-doc.doc-base | 3 +-- debian/rules | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/python-tuf-doc.doc-base b/debian/python-tuf-doc.doc-base index 3f13cfadc9..30273562e1 100644 --- a/debian/python-tuf-doc.doc-base +++ b/debian/python-tuf-doc.doc-base @@ -8,6 +8,5 @@ Index: /usr/share/doc/python3-tuf/docs/GETTING_STARTED.rst Files: /usr/share/doc/python3-tuf/docs/*.md /usr/share/doc/python3-tuf/docs/*.rst /usr/share/doc/python3-tuf/docs/*.txt + /usr/share/doc/python3-tuf/docs/adr/*.md -Format: PDF -Files: /usr/share/doc/python3-tuf/docs/papers/*.pdf.gz diff --git a/debian/rules b/debian/rules index 43e2ceb259..a5ce18b103 100755 --- a/debian/rules +++ b/debian/rules @@ -31,4 +31,4 @@ override_dh_installdocs: dh_installdocs --remaining-packages ln -fs ${PYBUILD_NAME}-spec.md \ debian/python-${PYBUILD_NAME}-doc/usr/share/doc/python3-${PYBUILD_NAME}/docs/${PYBUILD_NAME}-spec.txt - + rm -rf debian/python-${PYBUILD_NAME}-doc/usr/share/doc/python3-${PYBUILD_NAME}/docs/papers