forked from pool/python-cryptography
		
	- Cleanup with spec-cleaner
- Use %setup to unpack all archives do not rely on tar calls
- Update to upstream release 2.2.1:
  * Reverted a change to GeneralNames which prohibited having zero elements,
    due to breakages.
  * Fixed a bug in
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding`
    that caused it to raise InvalidUnwrap when key length modulo 8 was zero.
  * BACKWARDS INCOMPATIBLE: Support for Python 2.6 has been dropped.
  * Resolved a bug in HKDF that incorrectly constrained output size.
  * Added
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP256R1`,
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP384R1`, and
    :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP512R1` to
    support inter-operating with systems like German smart meters.
  * Added token rotation support to :doc:`Fernet </fernet>` with
    :meth:`~cryptography.fernet.MultiFernet.rotate`.
  * Fixed a memory leak in
    :func:`~cryptography.hazmat.primitives.asymmetric.ec.derive_private_key`.
  * Added support for AES key wrapping with padding via
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_wrap_with_padding` and
    :func:`~cryptography.hazmat.primitives.keywrap.aes_key_unwrap_with_padding` .
* Allow loading DSA keys with 224 bit q.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=94
			
			
This commit is contained in:
		
				
					committed by
					
						 Git OBS Bridge
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							436a448dcb
						
					
				
				
					commit
					bb01e86150
				
			| @@ -89,11 +89,7 @@ symmetric ciphers, message digests and key derivation | ||||
| functions. | ||||
|  | ||||
| %prep | ||||
| %setup -q -n cryptography-%{version} | ||||
|  | ||||
| # prepare vectors module | ||||
| tar xvzf %{SOURCE3} | ||||
|  | ||||
| %setup -q -n cryptography-%{version} -a3 | ||||
| %patch1 -p1 | ||||
| %patch2 -p1 | ||||
|  | ||||
| @@ -122,7 +118,7 @@ deactivate | ||||
| } | ||||
|  | ||||
| %files %{python_files} | ||||
| %doc LICENSE LICENSE.APACHE LICENSE.BSD | ||||
| %license LICENSE LICENSE.APACHE LICENSE.BSD | ||||
| %doc AUTHORS.rst CONTRIBUTING.rst CHANGELOG.rst README.rst | ||||
| %{python_sitearch}/* | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user