On Saturday, 16 September 2017 23:13:04 CEST Andrey Rahmatullin wrote: > Changing a long free-form text file into a deb822 multiline block, when > you want to use the "machine-readable" format.
You can do this with cme. Either launch cme GUI with 'cme edit dpkg-copyright'. You can paste the license content in the tree widget on the left side. See [1] for more details Or you can try the fuse interface: $ cd pkg_dir $ mkdir fuse $ cme fusefs dpkg-copyright -fuse-dir fuse/ $ ls fuse Comment Copyright Disclaimer Files Files-Excluded Format Global-License License Source Upstream-Contact Upstream-Name $ ls fuse/License/ LGPL-2.1 $ cat fuse/License/LGPL-2.1/text This program is free software; you can redistribute it and/or modify it [snip] $ mkdir fuse/License/Test $ echo "yada yada" > fuse/License/Test/text $ fusermount -u fuse $ git diff diff --git a/debian/copyright b/debian/copyright index b631507..913af34 100644 --- a/debian/copyright +++ b/debian/copyright @@ -18,3 +18,6 @@ License: LGPL-2.1 . On Debian systems, the complete text of version 2.1 of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +License: Test + yada yada See the diff above. cme takes care of indenting and inserting '.' where needed. HTH [1] https://github.com/dod38fr/config-model/wiki/Managing-Debian-packages-with-cme#maintaining-debian-copyright-file -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org