diff --git a/python-boto3.spec b/python-boto3.spec index 1e1ddeb..ff306e6 100644 --- a/python-boto3.spec +++ b/python-boto3.spec @@ -10,12 +10,6 @@ BuildArch: noarch BuildRequires: python3-devel -# Optional dependencies for import “smoke test”: -# -# boto3-1.34.7/boto3/s3/transfer.py -# 185: # This feature requires awscrt>=0.19.18 -BuildRequires: %{py3_dist awscrt} >= 0.19.18 - # Save space by hardlinking duplicate JSON resource files BuildRequires: hardlink @@ -29,6 +23,13 @@ services like Amazon S3 and Amazon EC2.} %package -n python3-boto3 Summary: %{summary} +# Optional dependencies for import “smoke test”: +# +# boto3-1.34.7/boto3/s3/transfer.py +# 185: # This feature requires awscrt>=0.19.18 +BuildRequires: %{py3_dist awscrt} >= 0.19.18 +Recommends: %{py3_dist awscrt} >= 0.19.18 + %description -n python3-boto3 %{_description} %prep @@ -67,6 +68,7 @@ hardlink -c '%{buildroot}%{python3_sitelib}/boto3' - Simplify the spec file by eliminating the %%pypi_name macro - Port to pyproject-rpm-macros - Save space by hardlinking duplicate JSON resource files +- Add a weak dependency on python3-awscrt * Tue Jan 02 2024 Gwyn Ciesla - 1.34.11-1 - 1.34.11