Louis-Philippe Véronneau pushed to branch master at lintian / lintian


Commits:
d422e74b by Nilesh Patra at 2026-07-07T03:58:21+00:00
tests(documentation/legacy-binary): Use `dpkg-deb --root-owner-group --build` 
instead of `dpkg --build` to avoid permission hints (and re-enable test)

- - - - -
0d8e8d34 by Nilesh Patra at 2026-07-07T03:58:21+00:00
tests(fields/recommended/generic-empty): Re-enable test and drop hints for 
`Section` and `Priority` in `.deb` as the default values are now populated by 
`dpkg`

- - - - -


10 changed files:

- t/recipes/checks/documentation/legacy-binary/build-spec/debian/rules
- t/recipes/checks/documentation/legacy-binary/eval/desc
- t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/rules
- t/recipes/checks/documentation/legacy-libbaz/eval/desc
- t/recipes/checks/documentation/legacy-scripts/build-spec/debian/rules
- t/recipes/checks/documentation/legacy-scripts/eval/desc
- t/recipes/checks/fields/recommended/generic-empty/eval/desc
- t/recipes/checks/fields/recommended/generic-empty/eval/hints
- t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/rules
- t/recipes/checks/files/permissions/legacy-scripts/eval/desc


Changes:

=====================================
t/recipes/checks/documentation/legacy-binary/build-spec/debian/rules
=====================================
@@ -84,8 +84,8 @@ binary-arch: build
        dpkg-gencontrol -pbinary -isp
        dpkg-gencontrol -pbinary-data -Pdebian/binary-data -isp
 
-       dpkg --build debian/tmp ..
-       dpkg --build debian/binary-data ..
+       dpkg-deb --root-owner-group --build debian/tmp ..
+       dpkg-deb --root-owner-group --build debian/binary-data ..
 
 binary: binary-arch
 


=====================================
t/recipes/checks/documentation/legacy-binary/eval/desc
=====================================
@@ -1,3 +1,2 @@
 Testname: legacy-binary
 Check: documentation
-Test-Depends: dpkg-dev (<< 1.22.12~)


=====================================
t/recipes/checks/documentation/legacy-libbaz/build-spec/debian/rules
=====================================
@@ -92,7 +92,7 @@ binary-arch: build-arch binary-correct
        install -m 755 debian/lib.shlibs $(lib_tmp)/DEBIAN/shlibs
        install -m 755 debian/lib.symbols $(lib_tmp)/DEBIAN/symbols
        dpkg-gencontrol -isp -p$(LIB) -P$(lib_tmp)
-       dpkg --build $(lib_tmp) ..
+       dpkg-deb --root-owner-group --build $(lib_tmp) ..
 
        # now the -dev package
        install -d $(dev_tmp)/usr/include
@@ -111,7 +111,7 @@ binary-arch: build-arch binary-correct
        install -m 755 debian/dev.postinst $(dev_tmp)/DEBIAN/postinst
        install -m 755 debian/dev.prerm $(dev_tmp)/DEBIAN/prerm
        dpkg-gencontrol -isp -p$(DEV) -P$(dev_tmp)
-       dpkg --build $(dev_tmp) ..
+       dpkg-deb --root-owner-group --build $(dev_tmp) ..
 
 
 binary: binary-arch


=====================================
t/recipes/checks/documentation/legacy-libbaz/eval/desc
=====================================
@@ -1,3 +1,2 @@
 Testname: legacy-libbaz
 Check: documentation
-Test-Depends: dpkg-dev (<< 1.22.12~)


=====================================
t/recipes/checks/documentation/legacy-scripts/build-spec/debian/rules
=====================================
@@ -92,7 +92,7 @@ binary-indep:
        touch $(tmp)/DEBIAN/prerm
        chmod 755 $(tmp)/DEBIAN/prerm
        dpkg-gencontrol -isp
-       dpkg --build $(tmp) ..
+       dpkg-deb --root-owner-group --build $(tmp) ..
 
 binary: binary-arch binary-indep
 


=====================================
t/recipes/checks/documentation/legacy-scripts/eval/desc
=====================================
@@ -1,3 +1,2 @@
 Testname: legacy-scripts
 Check: documentation
-Test-Depends: dpkg-dev (<< 1.22.12~)


=====================================
t/recipes/checks/fields/recommended/generic-empty/eval/desc
=====================================
@@ -1,3 +1,2 @@
 Testname: generic-empty
 Check: fields/recommended
-Test-Depends: dpkg-dev (<< 1.22.12~)


=====================================
t/recipes/checks/fields/recommended/generic-empty/eval/hints
=====================================
@@ -1,3 +1 @@
 generic-empty (source): recommended-field (in section for source) Section 
[debian/control:1]
-generic-empty (binary): recommended-field generic-empty_1.0_all.deb Section
-generic-empty (binary): recommended-field generic-empty_1.0_all.deb Priority


=====================================
t/recipes/checks/files/permissions/legacy-scripts/build-spec/debian/rules
=====================================
@@ -92,7 +92,7 @@ binary-indep:
        touch $(tmp)/DEBIAN/prerm
        chmod 755 $(tmp)/DEBIAN/prerm
        dpkg-gencontrol -isp
-       dpkg --build $(tmp) ..
+       dpkg-deb --root-owner-group --build $(tmp) ..
 
 binary: binary-arch binary-indep
 


=====================================
t/recipes/checks/files/permissions/legacy-scripts/eval/desc
=====================================
@@ -1,3 +1,2 @@
 Testname: legacy-scripts
 Check: files/permissions
-Test-Depends: dpkg-dev (<< 1.22.12~)



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/0adb1f199898b24c43845ff6e75d2ef11335a44f...0d8e8d344a8e39cf78e0d4b7fcbea6685c707904

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/compare/0adb1f199898b24c43845ff6e75d2ef11335a44f...0d8e8d344a8e39cf78e0d4b7fcbea6685c707904
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


Reply via email to