Commit graph

2,832 commits

Author SHA1 Message Date
0c6ac0367a Modified the section of the spec where %cmake_kf[5/6] should be in 2026-07-12 14:06:39 -04:00
1a52b036d5
CryptoPolicies: crypto-team -> fesco for exception approvals 2026-07-12 17:05:50 +02:00
5e497c7b62
Loosen review exception criteria for compat packages 2026-06-25 11:17:10 -05:00
bec01ed02f Clarify JavaScript Compilation/Minification Guidelines
See the previous commit message. The Javascript Guidelines had the same
problem, but it required more textual changes to make the document
internally consistent while still expressing (what I think is) the
intended meaning.
2026-06-11 16:16:42 +00:00
1c92877f48 Clarify self-contradictory pre-generated CSS guideline
See #1496.
The current text of the Guidelines are confusing because in once
paragraph it says CSS must be re-generated and in another it says it
doesn't have to be. This clarifies the text so it is inline with
decision made in https://pagure.io/fesco/issue/3269.
2026-06-11 16:16:42 +00:00
1ecece9cb6 Remove legacy "%global preferred over %define" guideline
There is no strong reason to universally recommend %global over %define,
and RPM upstream has good documentation in rpm-macros(7) explaining the
difference.
See #1449 and
#1454 for
more discussion.

Closes: #1449
2026-05-28 16:35:53 +00:00
4d6d68560a Recommend R2spec 2026-05-28 16:33:03 +00:00
8615bfb9ab small typo 2026-05-15 05:36:44 +00:00
Gordon Messmer
2ccae180fe elf-versioned-symbols: Add FAQ
Signed-off-by: Gordon Messmer <gmessmer@redhat.com>
2026-04-30 14:03:28 -07:00
Gordon Messmer
2144b8b3d4 elf-versioned-symbols: Fix adoc formatting
Signed-off-by: Gordon Messmer <gmessmer@redhat.com>
2026-04-30 10:23:34 -07:00
Gordon Messmer
b1f27748c4 elf-versioned-symbols: Move most text to a dedicated page
Signed-off-by: Gordon Messmer <gmessmer@redhat.com>
2026-04-30 10:23:29 -07:00
1fb4fbda92 Loosen the Source requirement for RubyGems 2026-04-17 10:15:30 +01:00
ad0752783c guidelines: fix typo s/MUT/MUST/ in Rust guidelines
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2026-03-13 17:36:31 +00:00
62050a3389 Use %cmake in %conf in example SPEC file
Same as in PR #1484; same applies to CMake as for the meson: https://bugzilla.redhat.com/show_bug.cgi?id=2387625#c11
2026-02-06 20:22:58 +02:00
e9e4e1aafa Add more build script examples 2026-02-05 17:33:45 +00:00
69f425bbad Add a note explaining how to look for versioned symbols. 2026-02-05 17:33:45 +00:00
4ba0bbe619 DRAFT: expand policy doc regarding versioned symbols 2026-02-05 17:33:45 +00:00
f98d3e5123
Scriptlets: forbid communicating messages through scriptlet output 2026-01-13 22:43:22 +01:00
43294c77c6 linkchecker: Add ignores for housekeeping links
The Antora server will include a language-switching link
and an edit link for each file, both of which aren't
valid in the preview and need to be ignored.

The edit link takes the form `file:///antora/...`,
a path that's only valid inside the container.

The language link points from every document
`https://localhost:8080/guidelines/foo`
to a language-specific URL like
`https://localhost:8080/en-US/guidelines/foo`

The latter may need to be tweaked if they're dependent on
the system locale of the user running linkchecker.
Ignoring `https://localhost:8080/en-US` works for me,
but may not be universal.
2026-01-08 17:52:54 +00:00
ee8f61f2e5 Shut down server after running linkchecker 2026-01-08 17:52:54 +00:00
f059e0d1bc linkchecker doesn't support --complete argument 2026-01-08 17:52:54 +00:00
b9bc3020f7 Repo tooling: Adopt the docsbuilder.sh script
Instead of using podman commands directly in the Makefile, add
the `docsbuilder.sh` script from the [docs templates repo][1].
Rewrite the Makefile to use docsbuilder commands to perform
its functions.

Changes:
- The preview URL changes from `https://localhost:8000` to
  `https://localhost:8080/`
- `build` is now a synonym for `doc`
- `serve` now runs `docsbuilder -p` which automatically
  rebuilds the doc first
- `watch` is now available to start a server that
   automatically rebuilds the preview on file changes
- `linkcheck` will automatically start a preview server
  before running `linkchecker`

[1]: https://gitlab.com/fedora/docs/templates/fedora-docs-template
2026-01-08 17:52:54 +00:00
James Antill
915b98fdc4 Merge #1516 R guidelines: clarifications and minor fixes 2026-01-08 16:58:42 +00:00
60fef4c6d2 clarifications and minor fixes 2026-01-08 16:35:24 +01:00
ab901772ad Update guidelines/modules/ROOT/pages/Haskell.adoc 2025-12-30 08:16:52 +00:00
a99159c4bf Adopt new R Packaging Guidelines
https://fedoraproject.org/wiki/Changes/Adopt_new_R_Packaging_Guidelines
2025-12-11 17:18:11 +00:00
39f70f62a0 fix: Java howto link on Java packaging guidelines page
The current link gives a 404, this corrects that issue by linking to the correct page.
2025-12-11 17:17:25 +00:00
9e7217c616
Rust: more small improvements and clarifications 2025-12-07 18:54:17 +01:00
aa3ff2d227
Rust: simplify some sections, update for rust2rpm v27 / v28 changes 2025-11-27 15:20:26 +01:00
eadcdfacfb
Rust: move sections for generated BuildRequires and RPM macros 2025-11-27 15:19:30 +01:00
e7160e3afe Add exception for /nix
FESCo approved this in https://pagure.io/fesco/issue/3473:
> AGREED: /nix top-level directory may be used exclusively for Nix
> runtime and package store. It shall not be part of the filesystem
> package, but packages are allowed to create it. (+6, 1, -0)
2025-11-24 14:11:01 +00:00
459d613fff Formatting cleanup 2025-11-24 14:05:54 +00:00
Peter Oliver
b182e956c7 Tidy formatting in Emacs guidelines 2025-11-24 12:44:45 +00:00
cb9fe28c99 Remove Drupal 7 guidelines without replacement
Fixes #1213
2025-11-18 06:34:58 -05:00
9f5fc87ef4 Systemd: reword, clarify, clean up unit / dropin install locations
- Just say that systemd unit files must be shipped in either
  %{_unitdir} or %{_userunitdir}, with them being the appropriate
  place for system services and user session services, respectively.
- Drop what the macros expand to - information like that tends to get
  outdated (though admittedly, that is unlikely in this case).
- Also drop "needed early in the boot process". This is just weird and
  out of context in this section, and doesn't explain anything unless
  you happen know how initramfs are constructed by dracut.

Fixes: https://pagure.io/packaging-committee/issue/1467
2025-11-13 17:50:33 +00:00
85d0175312 ocaml: cmt/cmti files go in the devel subpackage 2025-11-13 17:07:42 +00:00
ee280e5b1a
golang: clarify vendor/modules.txt instructions
With the latest Go Vendor Tools, `%license vendor/modules.txt` no longer
needs to be listed explicitly. The text of the guidelines is correct,
but the code snippet still showed it listed alongside `%files -f
%{go_vendor_license_filelist}`.
2025-11-09 17:56:17 -06:00
ce9fe7dab0 golang: fix-copy-paste error in non-gometa example
The %{gobuilddir} part only applies to the first example that uses
goprep.
2025-10-31 21:16:38 +00:00
6dd30336c9 golang: make example less prescriptive about forge macros
We show the forge macro example first to follow after go2rpm, but we
don't need to declare it as "recommended."
2025-10-31 21:16:38 +00:00
0ae97d392b golang: add another sentence about forge macro wrappers 2025-10-31 21:16:38 +00:00
0ccd6d52df golang: update "Bundled provides" and "Example"
- Reflect that `%go_vendor_license_install` copies modules.txt
- Remove inconsistent %{name} usage
- Replace overly complicated %setup invocations with simple tar commands
2025-10-31 21:16:38 +00:00
e1f11817e0 golang: add admonition to legacy guidelines
Suggested-by: churchyard
2025-10-31 21:16:38 +00:00
a4c23eaf17 golang: clarify go modules guideline 2025-10-31 21:16:38 +00:00
d0f06890a1 golang: remove confusing sentance about Go Vendor Tools macros 2025-10-31 21:16:38 +00:00
6bea23435b golang: fix another typo 2025-10-31 21:16:38 +00:00
5c25f91301 golang: fix typo 2025-10-31 21:16:38 +00:00
dfbd69b6e0 golang: fix overly verbose go-vendor-tools.toml guideline 2025-10-31 21:16:38 +00:00
1b6121c169 golang: remove "simply" 2025-10-31 21:16:38 +00:00
a858b3bb3e golang: explicitly forbid gocheck 2025-10-31 21:16:38 +00:00
3b5dbb6ac0 golang: clarify extra compiler flags section 2025-10-31 21:16:38 +00:00