From cb43291806dac6f2a8d26f2ef4a794b42e8c52a5 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Fri, 10 Apr 2020 14:54:58 +0200 Subject: installed-files: Virtuals must not install any files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/716970 Signed-off-by: Ulrich Müller --- installed-files.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/installed-files.rst b/installed-files.rst index db949b0..da6263e 100644 --- a/installed-files.rst +++ b/installed-files.rst @@ -88,3 +88,21 @@ and caused many issues, in particular due to hardcoding full paths. Today they are practically replaced by more portable pkg-config files, and while libtool keeps generating them, they are considered unnecessary and potentially harmful. + + +.. index:: + pair: installed files; virtuals + +Virtuals +-------- +:PG: 0304 +:Source: QA +:Reported: no + +Packages in the ``virtual`` category must not install any files. + +*Rationale*: The ``virtual`` category is reserved for packages with +an empty installation image. Package managers rely on this for some +optimizations. Also QA tools make certain assumptions about virtuals, +e.g., that they must not assign the ``LICENSE`` variable (which would +be impossible if they installed any files). -- cgit v1.2.3-65-gdbad