X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fsrcformats.py;h=d2829f5b3070ee94479faf3752f8df06175292e3;hb=be8648509d039e6737fa601c61884747c6ee094e;hp=050691fe3b474f5b7d7feff10bbeac15dd3344f3;hpb=5ae0dac7c89af97eab8ba4fb34e1099a3b9dddc7;p=dak.git diff --git a/daklib/srcformats.py b/daklib/srcformats.py index 050691fe..d2829f5b 100644 --- a/daklib/srcformats.py +++ b/daklib/srcformats.py @@ -76,7 +76,7 @@ class FormatOne(SourceFormat): __metaclass__ = SourceFormat name = '1.0' - format = r'1.0' + format = r'1\.0' requires = () disallowed = ('debian_tar', 'more_orig_tar') @@ -88,7 +88,8 @@ class FormatOne(SourceFormat): if has['native_tar_gz'] and has['debian_diff']: yield "native package with diff makes no sense" if (has['orig_tar_gz'] != has['orig_tar']) or \ - (has['native_tar_gz'] != has['native_tar']): + (has['native_tar_gz'] != has['native_tar']) or \ + has['orig_tar_sig']: yield "contains source files not allowed in format %s" % cls.name for msg in super(FormatOne, cls).reject_msgs(has):