This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=245077b8493714d2037528ba836e29b1042aca9c

commit 245077b8493714d2037528ba836e29b1042aca9c
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Jul 6 23:45:33 2022 +0200

    debian: Do not compress spec files
    
    Whether dh_compress compresses a file depends on its size, so a file
    might switch from being compressed to being a plain text file whenever
    content gets added or removed. This makes stable links to these files
    rather inconvenient.
    
    As these are small files anyway, and they are shipped in a development
    package, we will simply install them uncompressed.
---
 debian/rules         | 3 +++
 man/deb-triggers.pod | 2 +-
 man/dpkg-trigger.pod | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 12772037a..de1505201 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,3 +80,6 @@ override_dh_installchangelogs:
 
 override_dh_bugfiles:
        dh_bugfiles -A
+
+override_dh_compress:
+       dh_compress -Xspec/
diff --git a/man/deb-triggers.pod b/man/deb-triggers.pod
index c32e06a4c..12f0655e4 100644
--- a/man/deb-triggers.pod
+++ b/man/deb-triggers.pod
@@ -115,4 +115,4 @@ depending on how it was activated.
 
 B<dpkg-trigger>(1),
 B<dpkg>(1),
-B<%PKGDOCDIR%/spec/triggers.txt.gz>.
+B<%PKGDOCDIR%/spec/triggers.txt>.
diff --git a/man/dpkg-trigger.pod b/man/dpkg-trigger.pod
index bb66308d0..eba3622ce 100644
--- a/man/dpkg-trigger.pod
+++ b/man/dpkg-trigger.pod
@@ -152,4 +152,4 @@ B<never>.
 
 B<dpkg>(1),
 B<deb-triggers>(5),
-B<%PKGDOCDIR%/spec/triggers.txt.gz>.
+B<%PKGDOCDIR%/spec/triggers.txt>.

-- 
Dpkg.Org's dpkg

Reply via email to