Overview

Request 1174564 accepted

Findings from previous request addressed:
- Package version added to changelog entry. '%{?sle15_python_module_pythons}' macro dropped.
- BuildRequires adjusted to use '%{pythons}'.
- Step added to remove cacert.pem that comes with bundled botocore in '%prep' to align with standalone package 'python-botocore'. This required then an additional Patch (0006) and dependency (python-certifi) to enforce usage of system cacert by default.
- I use '%{plainpython}(abi) = %{python_version}', which sets python(abi) to the same python version as the main page to fix rpm lint error 'aws-cli-2-doc.noarch: E: no-dependency-on python-base 3.11' that came up when using '%{pythons}'. I checked again with 'rpm -qp --requires', main and -doc package return 'python(abi) = 3.11'. So I think this is a valid workaround but I'm open to suggestions for a better way to handle it.

Loading...



John Paul Adrian Glaubitz's avatar

The problem is the embedded code copy of botocore which is the main reason why we're currently not shipping version 2.0 of the aws-cli.


Dominik Wombacher's avatar
author source maintainer

I know but didn't the policy around bundling changed a year ago? (https://en.opensuse.org/openSUSE:Bundled_software_policy).

Further discussion around that in https://build.opensuse.org/package/show/Cloud:Tools/aws-cli#comment-1929561 and https://build.opensuse.org/package/show/Cloud:Tools/aws-cli#comment-1933109.

My understanding: The package complies in general with openSUSE guidelines and can therefore be a candidate for Factory. As Robert said in his comment, when we have the package here we can discuss the bundling topic further and I'm happy to implement technical solutions when we agree on some.

The fact is, upstream will not change the way the software is build from one day to the other. We have to start somewhere to make progress with aws cli v2 in openSUSE/SLES :)

Request History
Dominik Wombacher's avatar

wombelix created request

Findings from previous request addressed:
- Package version added to changelog entry. '%{?sle15_python_module_pythons}' macro dropped.
- BuildRequires adjusted to use '%{pythons}'.
- Step added to remove cacert.pem that comes with bundled botocore in '%prep' to align with standalone package 'python-botocore'. This required then an additional Patch (0006) and dependency (python-certifi) to enforce usage of system cacert by default.
- I use '%{plainpython}(abi) = %{python_version}', which sets python(abi) to the same python version as the main page to fix rpm lint error 'aws-cli-2-doc.noarch: E: no-dependency-on python-base 3.11' that came up when using '%{pythons}'. I checked again with 'rpm -qp --requires', main and -doc package return 'python(abi) = 3.11'. So I think this is a valid workaround but I'm open to suggestions for a better way to handle it.


Robert Schweikert's avatar

rjschwei accepted request

openSUSE Build Service is sponsored by