diff --git a/gen_tarball.sh b/gen_tarball.sh index 562076bce121e33ef0ffec5abd4ff1f11b307d73..17b24c85ae49f6e32f2cb9856c96e03d5b9b35c4 100755 --- a/gen_tarball.sh +++ b/gen_tarball.sh @@ -51,7 +51,7 @@ generate_tarball() { [ $? -eq 0 ] || handle_error "Failed to download source" 3 tar -xzf "${tarball_name}" - dir_name="${name}-${version}" + dir_name="cryptography-${version}" cd "$dir_name"/src/rust # Run cargo vendor cargo vendor diff --git a/python-cryptography.spec b/python-cryptography.spec index 34b7de17b5c511edadc6fc605d2656f4594c04f5..cca566be023f8f927c23af90174c848061312e1c 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -6,7 +6,7 @@ Summary: PyCA's cryptography library Name: python-%{srcname} Version: 41.0.4 -Release: 9%{?dist} +Release: 10%{?dist} License: ASL 2.0 or BSD URL: https://cryptography.io/en/latest/ Source0: https://github.com/pyca/cryptography/archive/%{version}/%{srcname}-%{version}.tar.gz @@ -78,6 +78,10 @@ PYTHONPATH=${PWD}/vectors:%{buildroot}%{python3_sitearch} \ %{python3_sitearch}/%{srcname}-%{version}-py*.egg-info %changelog +* Mon Nov 04 2024 jackeyji - 41.0.4-10 +- [Type] bugfix +- [DESC] correct the source package path + * Mon Nov 04 2024 jackeyji - 41.0.4-9 - [Type] other - [DESC] update script for rpm-upgrade