forked from pool/python-pem
- Update to 19.2.0:
* Added support for pem.ECPrivateKey (EC PRIVATE KEY). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pem?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
0b7b56750e
commit
2f9f541023
@@ -18,19 +18,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pem
|
||||
Version: 19.1.0
|
||||
Version: 19.2.0
|
||||
Release: 0
|
||||
Summary: PEM file parsing in Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/hynek/pem
|
||||
Source0: https://github.com/hynek/pem/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
# extra
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
# extra dev
|
||||
BuildRequires: %{python_module Twisted}
|
||||
BuildRequires: %{python_module certifi}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module pretend}
|
||||
BuildRequires: %{python_module pyOpenSSL}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@@ -52,8 +48,7 @@ i.e. Base64 encoded DER keys and certificates.
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
rm -f %{buildroot}/%{python_sitelib}/pem/py.typed #zero length
|
||||
rm -f %{buildroot}/%{python3_sitelib}/pem/py.typed #zero length
|
||||
%python_expand rm %{buildroot}/%{$python_sitelib}/pem/py.typed #zero length
|
||||
|
||||
%check
|
||||
%pytest tests
|
||||
|
||||
Reference in New Issue
Block a user