PyCA's cryptography library
Go to file
DistroBaker 8e67653b20 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/python-cryptography.git#8fd31561e0c8e57fab71e32c7ec88e8f530c4274
2021-02-18 16:39:43 +00:00
.gitignore Merged update from upstream sources 2021-02-18 16:39:43 +00:00
gpgkey-05FD_9FA1_6CF7_5735_0D91_A560_235A_E5F1_29F9_ED98.gpg RHEL 9.0.0 Alpha bootstrap 2020-10-14 18:06:17 -07:00
python-cryptography.spec Merged update from upstream sources 2021-02-18 16:39:43 +00:00
README.md RHEL 9.0.0 Alpha bootstrap 2021-02-10 09:54:40 -08:00
sources Merged update from upstream sources 2021-02-18 16:39:43 +00:00

PyCA cryptography

https://cryptography.io/en/latest/

Packaging python-cryptography

The example assumes

  • Fedora Rawhide (f34)
  • PyCA cryptography release 3.4
  • Update Bugzilla issues are RHBZ#00000001 and RHBZ#00000002
  • Build side tag is f34-build-side-12345

Request a side tag for building

python-cryptography builds depend on python-cryptography-vectors package. Both packages must be build in a side tag.

fedpkg request-side-tag --base-tag f34-build

Build new python-cryptography-vectors first

pushd ../python-cryptography-vectors

Switch and update branch

fedpkg switch-branch rawhide
fedpkg pull

Bump version and get sources

rpmdev-bumpspec -c "Update to 3.4 (#00000001)" -n 3.4 python-cryptography-vectors.spec
spectool -gf python-cryptography-vectors.spec

Upload sources

fedpkg new-sources cryptography_vectors-3.4.tar.gz

Commit changes

git add sources .gitignore python-cryptography-vectors.spec
fedpkg commit --clog
fedpkg push

Build and wait for repo to regenerate

fedpkg build --target=f34-build-side-12345
koji wait-repo --build python-cryptography-vectors-3.4-1 f34-build-side-12345

Build new python-cryptography

Switch and update branch

fedpkg switch-branch rawhide
fedpkg pull

Bump version and get sources

rpmdev-bumpspec -c "Update to 3.4 (#00000002)" -n 3.4 python-cryptography.spec
spectool -gf python-cryptography.spec

Upload new sources (two files!)

fedpkg new-sources cryptography-3.4.tar.gz cryptography-3.4.tar.gz.asc

Commit changes

git add sources .gitignore python-cryptography.spec
fedpkg commit --clog
fedpkg push

Build

fedpkg build --target=f34-build-side-12345