[Piuparts-devel] [Git][debian/piuparts][develop] Set Description last when generating a dummy package
Nicolas Dandrimont
gitlab at salsa.debian.org
Fri Mar 20 21:40:28 GMT 2020
Nicolas Dandrimont pushed to branch develop at Debian / piuparts
Commits:
a72a8242 by Nicolas Dandrimont at 2020-03-20T22:37:35+01:00
Set Description last when generating a dummy package
Having Depends last confuses apt 2.0.0.
Reported-By: Ferenc Wágner (https://alioth-lists.debian.net/pipermail/piuparts-devel/2020-March/009069.html)
- - - - -
1 changed file:
- piuparts.py
Changes:
=====================================
piuparts.py
=====================================
@@ -656,15 +656,16 @@ def make_metapackage(name, depends, conflicts, arch='all'):
control['Architecture'] = arch
control['Maintainer'] = ('piuparts developers team '
'<piuparts-devel at alioth-lists.debian.net>')
- control['Description'] = ('Dummy package to satisfy dependencies - '
- 'created by piuparts\n'
- ' This package was created automatically by '
- 'piuparts and can safely be removed')
if depends:
control['Depends'] = depends
if conflicts:
control['Conflicts'] = conflicts
+ control['Description'] = ('Dummy package to satisfy dependencies - '
+ 'created by piuparts\n'
+ ' This package was created automatically by '
+ 'piuparts and can safely be removed')
+
create_file(os.path.join(tmpdir, name, 'DEBIAN', 'control'),
control.dump())
View it on GitLab: https://salsa.debian.org/debian/piuparts/-/commit/a72a824255b3ad9b8f4f6710a67740a9184bd08a
--
View it on GitLab: https://salsa.debian.org/debian/piuparts/-/commit/a72a824255b3ad9b8f4f6710a67740a9184bd08a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20200320/9bbe6a96/attachment-0001.html>
More information about the Piuparts-devel
mailing list