forked from pool/python-proton-client
- Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proton-client?expand=0&rev=8
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user