Revisions of aws-cli-2

Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 12)
Findings from declined request 1173437 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.
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 11)
Drop logic in spec to build only on x86_64. It wasn't working as expected.
New approach: Patch that annotates the affected test so pytest skips it.
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 10)
Refactor conditions to run tests only on x86_64
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 9)
Safe time and resources: Run unit and functional tests on the main platform x86_64 only
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 8)
Patch unit test to work on openSUSE Factory/Tumbleweed and openSUSE Leap/SLE.
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 7)
Re-enable pytest in %check section
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 6)
Remove duplicate files, drop previous "python-bytecode-inconsistent-mtime", not required anymore.
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 5)
Use py311 for any OS that's not SLE16, %{?sle15_python_module_pythons} macro added, sitelib refactored.
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 4)
pytest: Handle DeprecationWarning as Warning and not Error
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 3)
Add Patches and rpmlint exclude filter rules
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 2)
- Patches added to fix test related issues an python 3.12 incompatibilities
- Exclude Arch s390x, AWS C libs don't build on that platform
- User python_module macro for build dependencies
- Build debuginfo
- Mark package as conflicts with aws-cli < 2
- Docs / Examples moved in sub-package
- Fix file permission issues
- Don't treat pytest DeprecationWarning as Errors
- Use unittest.mock instead of mock
- Fix python-bytecode-inconsistent-mtime rpmlint error
Dominik Wombacher's avatar Dominik Wombacher (wombelix) committed (revision 1)
Initial package
Displaying all 12 revisions
openSUSE Build Service is sponsored by