forked from pool/python-bjoern
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0ed544b161 | |||
| e268ea5e58 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 14 12:27:00 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 12 02:47:21 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Wed Oct 12 02:47:21 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-bjoern
|
# spec file for package python-bjoern
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 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
|
||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-bjoern
|
Name: python-bjoern
|
||||||
Version: 3.2.2
|
Version: 3.2.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -25,11 +24,12 @@ License: BSD-2-Clause
|
|||||||
URL: https://github.com/jonashaag/bjoern
|
URL: https://github.com/jonashaag/bjoern
|
||||||
Source: https://files.pythonhosted.org/packages/source/b/bjoern/bjoern-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/b/bjoern/bjoern-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libev-devel
|
BuildRequires: libev-devel
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -40,10 +40,10 @@ A screamingly fast Python 2 + 3 WSGI server written in C.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -53,6 +53,9 @@ export CFLAGS="%{optflags}"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGELOG README.rst
|
%doc CHANGELOG README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/bjoern.py
|
||||||
|
%{python_sitearch}/_bjoern.cpython*
|
||||||
|
%{python_sitearch}/bjoern-%{version}*-info
|
||||||
|
%pycache_only %{python_sitearch}/__pycache__/bjoern*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user