[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.49-30-gbd8fd0e
Andreas Beckmann
debian at abeckmann.de
Mon Jan 21 17:39:00 UTC 2013
The following commit has been merged in the piatti branch:
commit bae3251e8ba65e1bab040802fdd4f5d424c2018d
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Sun Jan 20 19:47:35 2013 +0100
p: call dpkg-deb with --nocheck to allow bad version numbers
dpkg-deb refuses to create packages with bad version numbers,
e.g. starting with non-digits. Add the --nocheck option to allow
this as we might need to build a "bad" metapackage.
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/debian/changelog b/debian/changelog
index 78cb41b..bb8afce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ piuparts (0.50) UNRELEASED; urgency=low
[ Andreas Beckmann ]
* piuparts.py:
+ - Call dpkg-deb with --nocheck to allow bad version numbers.
* piuparts.conf:
* piupartslib/conf.py:
* piupartslib/packagesdb.py:
diff --git a/piuparts.py b/piuparts.py
index 953dd1c..f576721 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -543,7 +543,7 @@ def make_metapackage(name, depends, conflicts):
create_file(os.path.join(tmpdir, name, 'DEBIAN', 'control'),
control.dump())
- run(['dpkg-deb', '-b', os.path.join(tmpdir, name)])
+ run(['dpkg-deb', '-b', '--nocheck', os.path.join(tmpdir, name)])
dont_do_on_panic(panic_handler_id)
return os.path.join(tmpdir, name) + '.deb'
--
piuparts git repository
More information about the Piuparts-commits
mailing list