Mention vendoring for RHEL/CentOS packaging

This commit is contained in:
Christian Heimes 2021-04-13 08:44:13 +02:00
parent 7e4d2cc3e8
commit 19b6996e72
1 changed files with 13 additions and 0 deletions

View File

@ -94,3 +94,16 @@ Build
```shell
fedpkg build --target=f34-build-side-12345
```
## RHEL/CentOS builds
RHEL and CentOS use a different approach for Rust crates packaging than
Fedora. On Fedora Rust dependencies are packaged as RPMs, e.g.
``rust-pyo3+default-devel`` RPM. These packages don't exist on RHEL and
CentOS. Instead python-cryptography uses a tar ball with vendored crates.
The tar ball is created by a script:
```shell
./vendor_rust.py
rhpkg upload cryptography-3.4-vendor.tar.bz2
```