Commit graph

41 commits

Author SHA1 Message Date
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
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
69fd751adb Fix several missing escapes. 2025-08-14 18:14:15 +00:00
a709c6f6e1
Rust: Update rust2rpm examples to use --path
Paths are no longer accepted as positional arguments.
2025-04-30 12:40:23 +02:00
6f8544162e update Rust section with correct link to legal docs 2024-12-03 10:45:20 +01:00
f5037c5ae6 Rust: clarifications and docs for %cargo_install_{bin,lib} macros 2024-04-03 22:08:43 +00:00
1ba36bca91
Rust: document that the same feature flags must be passed everywhere 2024-03-14 16:38:11 +01:00
44113dd4b3
Rust: replace occurrences of stray unicode characters
- non-breaking spaces
- en-dashes
- typographic single quotes

Note sure how they ended up there in the first place.
2024-03-14 16:36:08 +01:00
Osama Albahrani
7c1c5760d9 Rust.adoc: fix mixed Rust / C/C++ hyperlink
Note: there is also `link:[Fedora Legal docs]` which does not seem to redirect
2023-11-30 04:10:45 +00:00
f05cf4d31c
Rewrite Rust Packaging Guidelines (and drop outdated example specs) 2023-10-12 01:22:48 +02:00
4fb2bfe23f Rust: rust-packaging was renamed to cargo-rpm-macros 2023-04-27 16:21:30 +00:00
b150207d4c Rust: Link to the Rust section of the license field docs 2023-01-26 23:14:14 +01:00
938a9c73a1 Rust: Fix a typo 2023-01-17 11:00:49 +00:00
e987c4579c Rust: Stop requiring ExclusiveArch: %{rust_arches}
Fixes https://pagure.io/packaging-committee/issue/1220
2022-10-27 18:25:51 +02:00
7e625c2cd1
Rust: update last-reviewed date 2022-08-23 13:05:15 +02:00
42c83fd061
Rust: add an exception to the "only crates.io" rule for complex packages 2022-08-23 13:04:36 +02:00
8a58e8e8cc
Rust: split rules for package sources from naming guidelines 2022-08-23 13:04:04 +02:00
ac74f65600
Rust: document rust2rpm v22 features for new automation 2022-08-23 12:43:14 +02:00
848d8fdb6b
Rust: remove mentions of Fedora < 35; add notes for update process 2022-08-23 12:40:48 +02:00
e907767630 fix link on Rust page too 2022-07-29 03:45:43 +00:00
de94aed543 fix link to license field guideline 2022-07-27 21:48:15 +00:00
3e57249ed1 Update guidelines for Rust licensing
Updating to a link to new License: field pages in Fedora docs
2022-07-27 21:48:15 +00:00
097f9f556d more Rust guidelines cleanup, remove mentions of Fedora < 34 2022-01-20 17:24:55 +00:00
90687f96ba clarifications for Rust Naming and Versioning guidelines 2022-01-20 17:24:55 +00:00
305d94aaab Fix a few more bad links
Several links worked but had certificate issues, and one link seems to
have broken since I last checked just a few days ago.  I found
alternates.

make linkcheck is now clean.
2021-10-14 17:10:14 -05:00
253e956cc3 update Rust guidelines and example spec files
- mention rust2rpm more prominently since it creates 99% Guidelines-compliant
  spec files
- BuildRequires are now automatically generated and no longer have to be
  specified manually
- include how to generate the effective License tag for subpackages containing
  statically linked Rust binaries
- Modularity is no longer used for building on any branch, add a short note
  about the build process for Rust packages
- crate packages will start being available with fedora 34 in addition to
  rawhide (see the F34 System-Wide Change page for details:
  https://fedoraproject.org/wiki/Changes/Rust_Crate_Packages_For_Release_Branches )
- mention general Updates policy exceptions for source-only Rust packages
- refreshed .spec file examples with current specs from rawhide
2021-02-11 13:28:11 +00:00
Igor Gnatenko
18d84c7b8d
Rust: Improve wording
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-03-28 10:37:42 +01:00
Igor Gnatenko
d559f82e3d Rust: Add last-reviewed
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-03-28 10:18:58 +01:00
Igor Gnatenko
dc19728d8f
Rust: Fix markup
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-03-27 11:09:14 +01:00
Igor Gnatenko
058eef8141 Rust: Bring guidelines up to date
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-03-25 07:33:37 +00:00
5f10313f78 Add titles to all language-specific pages. 2018-09-29 03:47:26 -04:00
Igor Gnatenko
9c65f73544
rust: add note about excluding files
There are few reasons for this:
* BRP scripts are run with full buildroot (not taking %exclude into
account) which slows down build process and might fail because some brp
not allowing such file to be present in there (hello unversioned Python
shebangs).
* Forwarding such exclude line to upstream will make possible to remove
any downstream patching in future. This is beneficial for upstream
because their archives on crates.io will be smaller which people like.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-09-27 16:29:03 +02:00
Igor Gnatenko
86d0fd715a
rust: SHOULD → MUST for naming
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-09-27 16:29:02 +02:00
Igor Gnatenko
22e48dc723
rust: make crates.io clickable
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-09-27 16:29:02 +02:00
Igor Gnatenko
793c2cab51
rust: replace rustfmt example with cbindgen
rustfmt is retired from fedora (now it is part of Rust compiler), so it
is better to show something somewhat real ;)

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-09-27 16:29:02 +02:00
Igor Gnatenko
8081806702
rust: move examples to separate files
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-09-27 16:29:02 +02:00
Igor Gnatenko
60f9e22189
trivial: drop Category: links
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-09-22 08:50:12 +02:00
Igor Gnatenko
1d0bff1b20
trivial: make all inline text literal
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-09-22 08:50:12 +02:00
Igor Gnatenko
8a2c101fb5
adapt to antora
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-09-22 08:50:12 +02:00
Renamed from Packaging:Rust.adoc (Browse further)