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

Bug#574689: [SCM] Debian package checker branch, master, updated. 2.5.2-77-g5f42daa



* Niels Thykier <niels@thykier.net>, 2011-09-01, 16:21:
+Tag: package-contains-no-arch-dependent-files
+Severity: important
+Certainty: certain
+Info: The package is not marked architecture all, but all the files it
+ ships are installed in /usr/share.
+ .
+ Most likely this package should be marked architecture all, but there
+ is a chance that the package is missing files.
+Ref: policy 5.6.8

I disagree both with severity and certainty. First of all, as far as I can tell there's nothing in the policy that would prohibit arch:any package with arch-independent contents. Secondly, there are valid uses cases for arch-specific packages with files only in /usr/share (think of arch-specific Depends line).

In my opinion this should be at most minor/possible.

+override_dh_auto_install:
+	for P in $$(dh_listpackages) ; do \
+		dh_install -p$$P some-file usr/lib/$$P ; \
+	done

"set -e" is missing here (as per Policy 4.6).

--
Jakub Wilk



Reply to: