Compare commits

2 Commits

2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 3 12:02:35 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 24 12:13:06 UTC 2023 - Dirk Müller <dmueller@suse.com> Tue Oct 24 12:13:06 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pproxy # spec file for package python-pproxy
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -24,8 +24,10 @@ Summary: Proxy server that can tunnel among remote servers by regex rules
License: MIT License: MIT
URL: https://github.com/qwj/python-proxy URL: https://github.com/qwj/python-proxy
Source: https://files.pythonhosted.org/packages/source/p/pproxy/pproxy-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pproxy/pproxy-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Suggests: python-aioquic >= 0.9.7 Suggests: python-aioquic >= 0.9.7
@@ -54,10 +56,10 @@ Proxy server that can tunnel among remote servers by regex rules.
rm tests/api_*.py rm tests/api_*.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pproxy %python_clone -a %{buildroot}%{_bindir}/pproxy
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}