Mention vendoring for RHEL/CentOS packaging
This commit is contained in:
parent
7e4d2cc3e8
commit
19b6996e72
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue