File: 0003-man-fix-section-headers.patch

package info (click to toggle)
composefs 1.0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,040 kB
  • sloc: ansic: 9,004; sh: 416; python: 225; makefile: 5
file content (71 lines) | stat: -rw-r--r-- 2,281 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
From: Roland Hieber <rhi@pengutronix.de>
Date: Mon, 10 Mar 2025 12:15:43 +0100
Subject: man: fix section headers

While packaging for Debian, lintian complains about the section headers:

  W: composefs: wrong-manual-section 1 != composefs [usr/share/man/man1/composefs-info.1.gz:2]
  W: composefs: wrong-manual-section 1 != composefs [usr/share/man/man1/mkcomposefs.1.gz:2]
  W: composefs: wrong-manual-section 1 != composefs [usr/share/man/man1/mount.composefs.1.gz:2]
  W: composefs: wrong-manual-section 5 != composefs [usr/share/man/man5/composefs-dump.5.gz:2]

(See <https://lintian.debian.org/tags/wrong-manual-section.html> for
full info about the warning.)

According to man-pages(7), the .TH syntax is:

  .TH title section date source manual-section

Remove the parentheses so that the section is detected correctly, leave
the date empty, and escape the space in the last argument to comform to
the required syntax.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Forwarded: https://github.com/containers/composefs/pull/412
---
 man/composefs-dump.md  | 2 +-
 man/composefs-info.md  | 2 +-
 man/mkcomposefs.md     | 2 +-
 man/mount.composefs.md | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/man/composefs-dump.md b/man/composefs-dump.md
index 1da08f1..b1f8fd4 100644
--- a/man/composefs-dump.md
+++ b/man/composefs-dump.md
@@ -1,4 +1,4 @@
-% composefs-dump(5) composefs | User Commands
+% composefs-dump 5 "" composefs "User Commands"
 
 # NAME
 
diff --git a/man/composefs-info.md b/man/composefs-info.md
index f598ebe..9fc4260 100644
--- a/man/composefs-info.md
+++ b/man/composefs-info.md
@@ -1,4 +1,4 @@
-% composefs-info(1) composefs | User Commands
+% composefs-info 1 "" composefs "User Commands"
 
 # NAME
 
diff --git a/man/mkcomposefs.md b/man/mkcomposefs.md
index 46d1617..f14db98 100644
--- a/man/mkcomposefs.md
+++ b/man/mkcomposefs.md
@@ -1,4 +1,4 @@
-% mkcomposefs(1) composefs | User Commands
+% mkcomposefs 1 "" composefs "User Commands"
 
 # NAME
 
diff --git a/man/mount.composefs.md b/man/mount.composefs.md
index afc57d7..55443d0 100644
--- a/man/mount.composefs.md
+++ b/man/mount.composefs.md
@@ -1,4 +1,4 @@
-% mount.composefs(1) composefs | User Commands
+% mount.composefs 1 "" composefs "User Commands"
 
 # NAME