Nilesh Patra pushed to branch master at lintian / lintian


Commits:
3b75cbb6 by Nilesh Patra at 2026-02-25T22:49:42+05:30
tests: changelog-file-invalid-date - Install d/ch manually

`dh_installchangelogs` with the new debhelper 13.31 fails
to build if the date in d/ch is wrong. This is to account for cases
where someone installs a changelog manually.

- - - - -


2 changed files:

- 
t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/changelog.in
- + 
t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/rules


Changes:

=====================================
t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/changelog.in
=====================================
@@ -6,10 +6,3 @@
   * Writes out "Sept" and "Thurs"; should be "Sep" and "Thu".
 
  -- [% $author %]  Thurs, 14 Sept 2017 10:47:43 +0000
-
-
-[% $source %] (0.0) unstable; urgency=low
-
-  * Lintian Test Suite.
-
- -- [% $author %]  Wed, 13 Sep 2017 10:47:43 +0000


=====================================
t/recipes/checks/debian/changelog/changelog-file-invalid-date/build-spec/debian/rules
=====================================
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+PKG := changelog-file-invalid-date
+
+%:
+       dh $@
+
+override_dh_installchangelogs:
+       cp debian/changelog debian/$(PKG)/usr/share/doc/$(PKG)/changelog



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/3b75cbb62dcf02121e64cde12b828a875567008a

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/3b75cbb62dcf02121e64cde12b828a875567008a
You're receiving this email because of your account on salsa.debian.org.


Reply via email to