14
0
2023-09-25 16:24:50 +00:00
committed by Git OBS Bridge
parent f7d7308a08
commit 81c90e1ce6
2 changed files with 11 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 25 16:24:28 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Clean up the SPEC file
-------------------------------------------------------------------
Mon Sep 25 14:52:52 UTC 2023 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-proton-client
Version: 0.7.1
@@ -29,9 +28,10 @@ Source: https://github.com/ProtonMail/proton-python-client/archive/refs/
Patch1: urllib3-v2-migration.patch
BuildRequires: %{python_module bcrypt}
BuildRequires: %{python_module gnupg}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@@ -51,11 +51,11 @@ wrapper to Proton Technologies API, abstracting from the SRP authentication.
%autosetup -n proton-python-client-%{version} -p1
%build
%python_build
%pyproject_wheel
%install
%python_install
%python_expand %fdupes %{buildroot}%{python_sitelib}/proton
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# skip test_tlspinning.py as OBS has no network access
@@ -65,6 +65,6 @@ wrapper to Proton Technologies API, abstracting from the SRP authentication.
%license LICENSE
%doc README.md
%{python_sitelib}/proton
%{python_sitelib}/proton_client-*-py*.*-info
%{python_sitelib}/proton_client-%{version}*-info
%changelog