Chris Lamb pushed to branch master at lintian / lintian
Commits:
13 changed files:
- + t/tags/checks/control-file/implicitly-requires-rrr/debian/control.in
- + t/tags/checks/control-file/implicitly-requires-rrr/debian/install
- + t/tags/checks/control-file/implicitly-requires-rrr/debian/rules
- + t/tags/checks/control-file/implicitly-requires-rrr/desc
- + t/tags/checks/control-file/implicitly-requires-rrr/orig/controlled-by-owner
- + t/tags/checks/control-file/implicitly-requires-rrr/post_test
- + t/tags/checks/control-file/implicitly-requires-rrr/tags
- + t/tags/checks/files/contains-build-path/builder.in
- + t/tags/checks/files/contains-build-path/debian/docs
- + t/tags/checks/files/contains-build-path/debian/rules
- + t/tags/checks/files/contains-build-path/desc
- + t/tags/checks/files/contains-build-path/orig/Makefile
- + t/tags/checks/files/contains-build-path/tags
Changes:
| 1 | +Source: {$source}
 | |
| 2 | +Priority: {$priority}
 | |
| 3 | +Section: {$section}
 | |
| 4 | +Maintainer: {$author}
 | |
| 5 | +Standards-Version: {$standards_version}
 | |
| 6 | +Build-Depends: {$build_depends}
 | |
| 7 | +Homepage: {$homepage}
 | |
| 8 | + | |
| 9 | +Package: {$source}
 | |
| 10 | +Architecture: {$package_architecture}
 | |
| 11 | +Pre-Depends: $\{misc:Pre-Depends\}
 | |
| 12 | +Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
 | |
| 13 | +Description: {$description}
 | |
| 14 | + This is a test package designed to exercise some feature or tag of
 | |
| 15 | + Lintian.  It is part of the Lintian test suite and may do very odd
 | |
| 16 | + things.  It should not be installed like a regular package.  It may
 | |
| 17 | + be an empty package. | 
| 1 | +controlled-by-owner usr/share/separate | 
| 1 | +#!/usr/bin/make -f
 | |
| 2 | + | |
| 3 | +tmp := $(CURDIR)/debian/$(shell dh_listpackages)
 | |
| 4 | + | |
| 5 | +%:
 | |
| 6 | +	dh $@
 | |
| 7 | + | |
| 8 | +override_dh_fixperms:
 | |
| 9 | +	dh_fixperms
 | |
| 10 | +	chown 1:1 $(tmp)/usr/share/separate/controlled-by-owner | 
| 1 | +Testname: implicitly-requires-rrr
 | |
| 2 | +Skeleton: upload-native
 | |
| 3 | +Version: 1.0
 | |
| 4 | +Description: Test with package that requires Rules-Requires-Root but does not mention it
 | |
| 5 | +Test-Against:
 | |
| 6 | +Check: control-file | 
| 1 | +SEPARATE PROPERTY | 
| 1 | +s/\(\S+:\S+\)$/(USER:GROUP)/ | 
| 1 | +I: implicitly-requires-rrr source: should-specify-rules-requires-root implicitly-requires-rrr usr/share/separate/controlled-by-owner (USER:GROUP) | 
| 1 | +Build-Product: {$source}_{$no_epoch}_{$host_architecture}.changes
 | |
| 2 | +Build-Command: make --trace DEFAULT_DH_COMPAT={$dh_compat_level} DEB_BUILD_OPTIONS='buildinfo=+path'
 | |
| 3 | +Default-Build-Depends: debhelper (>= {$dh_compat_level}~) | 
| 1 | +build-path | 
| 1 | +#!/usr/bin/make -f
 | |
| 2 | + | |
| 3 | +export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 | |
| 4 | + | |
| 5 | +tmp := $(CURDIR)/debian/$(shell dh_listpackages)
 | |
| 6 | + | |
| 7 | +%:
 | |
| 8 | +	dh $@
 | |
| 9 | + | |
| 10 | +# In Ubuntu, dh does not catch this file by default.
 | |
| 11 | +#  They have diffed it to reduce the size of packages.
 | |
| 12 | +ifneq (,$(strip $(wildcard Changes)))
 | |
| 13 | +override_dh_installchangelogs:
 | |
| 14 | +	dh_installchangelogs Changes
 | |
| 15 | +endif | 
| 1 | +Testname: contains-build-path
 | |
| 2 | +Version: 1.0
 | |
| 3 | +Skeleton: upload-native
 | |
| 4 | +Description: Test for upload containing build path
 | |
| 5 | +Test-Against:
 | |
| 6 | +Check: files | 
| 1 | +all:
 | |
| 2 | +	echo $(shell pwd) > build-path | 
| 1 | +I: contains-build-path: file-references-package-build-path usr/share/doc/contains-build-path/build-path |