Compare commits

..

No commits in common. "c9-beta" and "c9" have entirely different histories.
c9-beta ... c9

4 changed files with 1766 additions and 16 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/awscrt-0.20.5.tar.gz
SOURCES/awscrt-0.20.2.tar.gz

View File

@ -1 +1 @@
537345951bd934f825fe2ec7c8f55c699beba5e1 SOURCES/awscrt-0.20.5.tar.gz
3b76a63f106d4ddb6a27198f935405aa82c43585 SOURCES/awscrt-0.20.2.tar.gz

1750
SOURCES/pkcs11.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,8 @@ Python bindings for the AWS Common Runtime}
Name: python-awscrt
Version: 0.20.5
Release: 3%{?dist}
Version: 0.20.2
Release: 3%{dist}
Summary: Python bindings for the AWS Common Runtime
# All files are licensed under Apache-2.0, except:
@ -16,6 +16,10 @@ URL: https://github.com/awslabs/aws-crt-python
Source0: %{pypi_source awscrt}
# Get an open source version of the pkcs11 header file from Simo's repository.
# https://github.com/latchset/pkcs11-headers
Source1: https://raw.githubusercontent.com/latchset/pkcs11-headers/main/public-domain/2.40/pkcs11.h
# one test requires internet connection, skip it
Patch0: skip-test-requiring-network.patch
@ -47,6 +51,14 @@ Summary: %{summary}
%prep
%autosetup -p1 -n awscrt-%{version}
# Bring in the pkcs11 header file from Simo's repository.
rm -fv crt/aws-c-io/source/pkcs11/v2.40/*
cp %{SOURCE1} crt/aws-c-io/source/pkcs11/v2.40/
# Remove the third party license that goes along with
# the removed pkcs11.h header file.
rm -rf crt/aws-c-io/THIRD-PARTY-LICENSES.txt
%generate_buildrequires
%pyproject_buildrequires
@ -76,18 +88,6 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}" %{py
%changelog
* Mon Apr 29 2024 Major Hayden <major@redhat.com> - 0.20.5-3
- Removing extra pkcs11 source now that upstream switched to public domain headers
* Mon Apr 01 2024 Major Hayden <major@redhat.com> - 0.20.5-2
- Bump revision for new build
* Wed Mar 27 2024 Major Hayden <major@redhat.com> - 0.20.5-1
- Update to 0.20.5
* Tue Mar 19 2024 Major Hayden <major@redhat.com> - 0.20.2-4
- Bump revision number for new build
* Tue Feb 13 2024 Major Hayden <major@redhat.com> - 0.20.2-3
- Remove the third party license file from excluded pkcs11.h