]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
Relax requirement that library development files be in one package
authorRuss Allbery <rra@debian.org>
Sat, 12 Jun 2010 19:57:40 +0000 (12:57 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 12 Jun 2010 19:57:40 +0000 (12:57 -0700)
Say instead that installing the library development package must
result in installation of all the required files, which allows for
further splits with appropriate Depends.

policy.sgml

index 720150d68276afb323439f73f8a6705688c866bb..1e134bb30b0c6649f4e3e78204357f29d8467a28 100644 (file)
@@ -5163,11 +5163,20 @@ Replaces: mail-transport-agent
        <heading>Development files</heading>
 
       <p>
-       The development files associated to a shared library need to be
-       placed in a package called
-       <package><var>libraryname</var><var>soversion</var>-dev</package>,
+       If there are development files associated with a shared library,
+       the source package needs to generate a binary development package
+       named <package><var>libraryname</var><var>soversion</var>-dev</package>,
        or if you prefer only to support one development version at a
-       time, <package><var>libraryname</var>-dev</package>.
+       time, <package><var>libraryname</var>-dev</package>.  Installing
+       the development package must result in installation of all the
+       development files necessary for compiling programs against that
+       shared library.<footnote>
+         This wording allows the development files to be split into
+         several packages, such as a separate architecture-independent
+         <package><var>libraryname</var>-headers</package>, provided that
+         the development package depends on all the required additional
+         packages.
+       </footnote>
       </p>
 
       <p>