[SCM] Debian package checker branch, master, updated. 2.2.5-57-g6bf7673
The following commit has been merged in the master branch:
commit b9084079611fe98ef7e5cc5d2445597f21d9a9e8
Author: Russ Allbery <rra@debian.org>
Date: Sat Feb 21 20:58:19 2009 -0800
Add description-synopsis-has-leading-spaces test case
With this test case, all of the description tags are now tested by the
new test suite.
diff --git a/t/COVERAGE b/t/COVERAGE
index 308f789..6589cd6 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -59,9 +59,6 @@ debhelper dh_dhelp-is-deprecated
debian-readme spelling-error-in-readme-debian
-description description-possibly-contains-homepage
-description description-synopsis-has-leading-spaces
-
fields arch-any-in-binary-pkg
fields aspell-package-not-arch-all
fields bad-menu-item
diff --git a/t/debs/description-synopsis-spaces/Makefile b/t/debs/description-synopsis-spaces/Makefile
new file mode 100644
index 0000000..d0152b2
--- /dev/null
+++ b/t/debs/description-synopsis-spaces/Makefile
@@ -0,0 +1,18 @@
+name = description-synopsis-spaces
+
+all:
+ echo '2.0' > debian-binary
+ mkdir -p usr/share/doc/$(name)
+ cp copyright changelog usr/share/doc/$(name)
+ gzip -9 usr/share/doc/$(name)/changelog
+ tar cfz data.tar.gz usr
+ chown 0:0 control
+ chmod 644 control
+ md5sum usr/share/doc/$(name)/* > md5sums
+ tar cfz control.tar.gz control md5sums
+ ar rc $(name).deb \
+ debian-binary control.tar.gz data.tar.gz
+
+clean:
+ rm -f *.tar.gz *.tar.lzma *.deb md5sums debian-binary
+ rm -rf usr
diff --git a/t/debs/deb-format-lzma/changelog b/t/debs/description-synopsis-spaces/changelog
similarity index 67%
copy from t/debs/deb-format-lzma/changelog
copy to t/debs/description-synopsis-spaces/changelog
index 2fbdc04..49c4457 100644
--- a/t/debs/deb-format-lzma/changelog
+++ b/t/debs/description-synopsis-spaces/changelog
@@ -1,4 +1,4 @@
-deb-format-lzma (1.0) unstable; urgency=low
+description-synopsis-spaces (1.0) unstable; urgency=low
* A Lintian test case.
diff --git a/t/debs/deb-format-lzma/control b/t/debs/description-synopsis-spaces/control
similarity index 78%
copy from t/debs/deb-format-lzma/control
copy to t/debs/description-synopsis-spaces/control
index 4f9a963..41cfe79 100644
--- a/t/debs/deb-format-lzma/control
+++ b/t/debs/description-synopsis-spaces/control
@@ -1,10 +1,10 @@
-Package: deb-format-lzma
+Package: description-synopsis-spaces
Version: 1.0
Architecture: all
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Section: devel
Priority: extra
-Description: Test package for an ar archive in the wrong order
+Description: the synopsis starts with spaces
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/debs/description-synopsis-spaces/copyright
similarity index 100%
copy from t/debs/deb-format-extra-member/copyright
copy to t/debs/description-synopsis-spaces/copyright
diff --git a/t/debs/description-synopsis-spaces/tags b/t/debs/description-synopsis-spaces/tags
new file mode 100644
index 0000000..8d33380
--- /dev/null
+++ b/t/debs/description-synopsis-spaces/tags
@@ -0,0 +1 @@
+E: description-synopsis-spaces: description-synopsis-has-leading-spaces
--
Debian package checker
Reply to: