14
0
2024-02-15 08:53:15 +00:00
committed by Git OBS Bridge
parent e38638596f
commit 89baf04ca6
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 15 08:53:08 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file
-------------------------------------------------------------------
Thu Feb 8 15:06:05 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>

View File

@@ -24,17 +24,18 @@ Summary: Proton VPN core library
License: GPL-3.0-or-later
Group: Development/Languages/Python
URL: https://github.com/ProtonVPN/python-proton-core
#Source: https://github.com/ProtonVPN/python-proton-core/archive/refs/tags/v%{version}.tar.gz
Source: https://github.com/ProtonVPN/python-proton-core/archive/refs/heads/master.zip
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module bcrypt}
BuildRequires: %{python_module gnupg}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module pyotp}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@@ -57,11 +58,11 @@ This package contains core logic used by the other Proton components.
%autosetup -p1 -n python-proton-core-master
%build
%python_build
%pyproject_wheel
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# skip some tests as OBS has no network access
@@ -70,7 +71,7 @@ This package contains core logic used by the other Proton components.
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/proton/
%{python_sitelib}/proton_core-%{version}-*.egg-info
%{python_sitelib}/proton
%{python_sitelib}/proton_core-%{version}*-info
%changelog