[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.2.5-38-gcc59976



The following commit has been merged in the master branch:
commit e16eb94fa82e3d4898972995483205214c0d553b
Author: Russ Allbery <rra@debian.org>
Date:   Sat Feb 21 14:42:18 2009 -0800

    Add a test case for LZMA-compressed source packages

diff --git a/t/source/unpack-srcpkg-lzma/Makefile b/t/source/unpack-srcpkg-lzma/Makefile
new file mode 100644
index 0000000..e32eb50
--- /dev/null
+++ b/t/source/unpack-srcpkg-lzma/Makefile
@@ -0,0 +1,16 @@
+name = unpack-srcpkg-lzma
+dir  = $(name)-1.0
+
+all:
+	mkdir $(dir)
+	echo 'Some upstream README' > $(dir)/README
+	tar -c -f $(name)_1.0.orig.tar.lzma --lzma $(dir)
+	mkdir $(dir)/debian
+	cp changelog copyright control rules $(dir)/debian/
+	echo 7 > $(dir)/debian/compat
+	touch $(dir)/debian/watch
+	dpkg-source -sp -b $(dir)
+
+clean:
+	rm -rf $(dir)
+	rm -f $(name)_1.0*
diff --git a/t/source/unpack-srcpkg-lzma/changelog b/t/source/unpack-srcpkg-lzma/changelog
new file mode 100644
index 0000000..dec3a7c
--- /dev/null
+++ b/t/source/unpack-srcpkg-lzma/changelog
@@ -0,0 +1,9 @@
+unpack-srcpkg-lzma (1.0-1) unstable; urgency=low
+
+  * Lintian Test Suite.
+  * Test: unpack-srcpkg-lzma
+
+  * Suppress "should close ITP bug" messages.  (Closes: #123456)
+
+ -- Debian Lintian Maintainers <lintian-maint@debian.org>  Sat, 21 Feb 2009 13:59:17 -0800
+
diff --git a/t/tests/cruft-empty-diff/upstream/debian/control b/t/source/unpack-srcpkg-lzma/control
similarity index 66%
copy from t/tests/cruft-empty-diff/upstream/debian/control
copy to t/source/unpack-srcpkg-lzma/control
index b7becb7..2d6a4aa 100644
--- a/t/tests/cruft-empty-diff/upstream/debian/control
+++ b/t/source/unpack-srcpkg-lzma/control
@@ -1,14 +1,15 @@
-Source: cruft-empty-diff
-Priority: extra
+Source: unpack-srcpkg-lzma
+Format: 3.0 (quilt)
 Section: devel
+Priority: optional
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
-Standards-Version: 3.8.0
 Build-Depends: debhelper (>= 7)
+Standards-Version: 3.8.0
 
-Package: cruft-empty-diff
+Package: unpack-srcpkg-lzma
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Test an empty Debian diff
+Depends: ${misc:Depends}
+Description: Test package for lzma-compressed source packages
  This is a test package designed to exercise some feature or tag of
  Lintian.  It is part of the Lintian test suite and may do very odd
  things.  It should not be installed like a regular package.
diff --git a/t/debs/deb-format-extra-member/copyright b/t/source/unpack-srcpkg-lzma/copyright
similarity index 100%
copy from t/debs/deb-format-extra-member/copyright
copy to t/source/unpack-srcpkg-lzma/copyright
diff --git a/t/templates/pedantic/debian/rules b/t/source/unpack-srcpkg-lzma/rules
similarity index 100%
copy from t/templates/pedantic/debian/rules
copy to t/source/unpack-srcpkg-lzma/rules
diff --git a/t/source/unpack-srcpkg-lzma/tags b/t/source/unpack-srcpkg-lzma/tags
new file mode 100644
index 0000000..c88fc4a
--- /dev/null
+++ b/t/source/unpack-srcpkg-lzma/tags
@@ -0,0 +1 @@
+E: unpack-srcpkg-lzma source: unsupported-source-format 3.0 (quilt)

-- 
Debian package checker


Reply to: