From 33ed5ac5c91387fa50acac06ae3a93e67d777eb0 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mar 27 2024 17:31:28 +0000 Subject: Update GAP Guidelines - Add gap-rpm-macros to list of base packages - Remove overly prescriptive Architecture section --- diff --git a/guidelines/modules/ROOT/pages/GAP.adoc b/guidelines/modules/ROOT/pages/GAP.adoc index 13a6fd2..08deeb4 100644 --- a/guidelines/modules/ROOT/pages/GAP.adoc +++ b/guidelines/modules/ROOT/pages/GAP.adoc @@ -5,7 +5,7 @@ Throughout this document, we use the word _add-on_ to substitute for GAP upstrea == Naming -The main GAP package and its attendant libraries and help system are in packages named gap, gap-libs, gap-core, gap-online-help, gap-devel, gap-vim, and libgap. +The main GAP package and its attendant libraries and help system are in packages named gap, gap-libs, gap-core, gap-online-help, gap-rpm-macros, gap-devel, gap-vim, and libgap. To distinguish add-on packages from these core packages, add-ons MUST have names of the form gap-pkg-foo. For example, the FGA add-on is named gap-pkg-fga. @@ -99,19 +99,6 @@ Since GAP documentation MUST be installed under `+%{gap_libdir}/pkg+` or `+%{gap However, the documentation SHOULD still be marked as such so that documentation-free installs work as expected. Most add-ons SHOULD include `+%docdir+` declarations in the `+%files+` section of the spec file; e.g., `+%docdir %{gap_libdir}/pkg/%{pkgname}/doc+` and `+%docdir %{gap_libdir}/pkg/%{pkgname}/htm+`. -== Architecture - -Fedora now encourages packagers to https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval[not build packages for i686]. -For that reason, noarch GAP add-ons MUST include these tags: -.... -BuildArch: noarch -ExclusiveArch: %{gap_arches} noarch -.... -Architecture-specific GAP add-ons MUST instead include this tag: -.... -ExclusiveArch: %{gap_arches} -.... - == Other RPM macros Other RPM macros that may be useful for GAP add-on spec files include the following: