15
0
Files
python-cryptography-vectors/python-cryptography-vectors.spec

61 lines
1.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-cryptography-vectors
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# ALWAYS KEEP IN SYNC WITH python-cryptography!
%define skip_python2 1
Name: python-cryptography-vectors
# ALWAYS KEEP IN SYNC WITH python-cryptography!
Version: 37.0.4
Release: 0
Summary: Test vectors for the cryptography package
License: Apache-2.0 OR BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/pyca/cryptography
Source0: https://files.pythonhosted.org/packages/source/c/cryptography_vectors/cryptography_vectors-%{version}.tar.gz
Source2: %{name}.keyring
Accepting request 923730 from home:pmonrealgonzalez:branches:devel:languages:python - Add pem-certificate filters in python-cryptography-vectors-rpmlintrc - Update to 35.0.0: * Changed the version scheme. * BACKWARDS INCOMPATIBLE: The X.509 PEM parsers now require that the PEM string passed have PEM delimiters of the correct type. * BACKWARDS INCOMPATIBLE: The X.509 certificate parser no longer allows negative serial numbers. RFC 5280 has always prohibited these. * BACKWARDS INCOMPATIBLE: Invalid ASN.1 found during X.509 parsing will raise an error on initial parse rather than when the invalid field is accessed. * Rust is now required for building cryptography, the CRYPTOGRAPHY_DONT_BUILD_RUST environment variable is no longer respected. * Parsers for X.509 no longer use OpenSSL and have been rewritten in Rust. This should be backwards compatible (modulo the items listed above) and improve both security and performance. * Added support for OpenSSL 3.0.0 as a compilation target. * Added support for SM3 and SM4, when using OpenSSL 1.1.1. These algorithms are provided for compatibility in regions where they may be required, and are not generally recommended. * We now ship manylinux_2_24 and musllinux_1_1 wheels, in addition to our manylinux2010 and manylinux2014 wheels. * Added rfc4514_attribute_name attribute to X509.NameAttribite. * Added KBKDFCMAC. OBS-URL: https://build.opensuse.org/request/show/923730 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography-vectors?expand=0&rev=23
2021-10-07 13:07:31 +00:00
Source3: python-cryptography-vectors-rpmlintrc
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Vectors for testing of the python cryptography package.
%prep
%setup -q -n cryptography_vectors-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check
# this is test data only package for tests with python-cryptography.
%files %{python_files}
%license LICENSE*
%{python_sitelib}/cryptography_vectors
%{python_sitelib}/cryptography_vectors-%{version}*-info
%changelog