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

[Git][lintian/lintian][master] Add blank line between code blocks



Title: GitLab

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

Commits:

  • 049ca4e1
    by Nicolas Peugnet at 2024-11-12T23:00:35+00:00
    Add blank line between code blocks
    
    Markdown requires a blank lien between each block element. This change
    fixes the code blocks for both real Markdown parsers and the console
    output.
    
    I noticed this while browsing https://lintian.club1.fr/tags/debian-rules-ignores-make-clean-error.html
    and then running and checking the output of the following command:
    
        grep '^  ' -A1 -B1 --color -nr tags/
    

6 changed files:

Changes:

  • tags/c/custom-library-search-path.tag
    ... ... @@ -16,9 +16,13 @@ Explanation: The binary or shared library sets RPATH or RUNPATH. This
    16 16
      RPATH/RUNPATH is unnecessary.
    
    17 17
      .
    
    18 18
      To fix this problem, look for link lines like:
    
    19
    + .
    
    19 20
          gcc test.o -o test -Wl,--rpath,/usr/local/lib
    
    21
    + .
    
    20 22
      or
    
    23
    + .
    
    21 24
          gcc test.o -o test -R/usr/local/lib
    
    25
    + .
    
    22 26
      and remove the <code>-Wl,--rpath</code> or <code>-R</code> argument. You can also
    
    23 27
      use the chrpath utility to remove the RPATH.
    
    24 28
     See-Also:
    

  • tags/d/debian-rules-ignores-make-clean-error.tag
    ... ... @@ -5,7 +5,9 @@ Explanation: A rule in the <code>debian/rules</code> file for this package calls
    5 5
      package's clean or distclean target with a line like:
    
    6 6
      .
    
    7 7
       -$(MAKE) distclean
    
    8
    + .
    
    8 9
      or
    
    10
    + .
    
    9 11
       $(MAKE) -i distclean
    
    10 12
      .
    
    11 13
      The leading "-" or the option -i tells make to ignore all errors.
    

  • tags/d/debug-package-for-multi-arch-same-pkg-not-coinstallable.tag
    ... ... @@ -9,7 +9,8 @@ Explanation: The debug package appear to be containing debug symbols for a
    9 9
      .
    
    10 10
      Making a debug package co-installable with itself is very trivial,
    
    11 11
      when installing the debug symbols beneath:
    
    12
    -   <code>/usr/lib/debug/.build-id/&lt;XX&gt;/&lt;rest-id&gt;.debug</code>
    
    12
    + .
    
    13
    +  /usr/lib/debug/.build-id/&lt;XX&gt;/&lt;rest-id&gt;.debug
    
    13 14
      .
    
    14 15
      dh&lowbar;strip does this in debhelper compat 9. Otherwise, the expected
    
    15 16
      location of the debug symbols of a given ELF binary can be determined
    

  • tags/e/extra-whitespace-around-name-in-changelog-trailer.tag
    ... ... @@ -4,6 +4,7 @@ Check: nmu
    4 4
     Explanation: There is too much whitespace around the name in debian/changelog.
    
    5 5
      .
    
    6 6
      The format is:
    
    7
    + .
    
    7 8
        -- NAME &lt;EMAIL&gt;  DATE
    
    8 9
      .
    
    9 10
      Note that there must be exactly 1 space after the "--" and exactly
    

  • tags/i/incorrect-naming-of-pkcs11-module.tag
    ... ... @@ -5,6 +5,7 @@ Explanation: This package ships a PKCS#11 module configuration file under
    5 5
      <code>/usr/share/p11-kit/modules</code>, but its naming doesn't conform
    
    6 6
      to what <code>p11-kit</code> expects. Files in that directory should
    
    7 7
      respect the following convention, case insensitive:
    
    8
    + .
    
    8 9
       [a-z0-9][a-z0-9&lowbar;.-]&ast;.module
    
    9 10
      .
    
    10 11
      p11-kit currently warns on every file that does not follow the
    

  • tags/m/mentions-deprecated-usr-lib-perl5-directory.tag
    ... ... @@ -7,4 +7,5 @@ Explanation: As of Perl 5.20, the vendorarch directory is /usr/lib/&lt;triplet&g
    7 7
      but this package still uses usr/lib/perl5 in some of the files under debian/.
    
    8 8
      Please replace that with the value of $Config{vendorarch} configuration
    
    9 9
      parameter, e.g.
    
    10
    + .
    
    10 11
       $(shell perl -MConfig -wE'say substr($$Config{vendorarch},1)')


  • Reply to: