forked from pool/python-rencode
Accepting request 1284806 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1284806 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rencode?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 11:43:51 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 1 09:43:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Fri Mar 1 09:43:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-rencode
|
# spec file for package python-rencode
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# 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-rencode
|
Name: python-rencode
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -28,6 +27,7 @@ Source0: https://github.com/aresch/rencode/archive/v%{version}.tar.gz
|
|||||||
Source1: %{name}.changes
|
Source1: %{name}.changes
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
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: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -50,10 +50,10 @@ sed -i -e '/extra_compile_args/d' setup.py
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}/rencode
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}/rencode
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -62,6 +62,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python_sitearch}/rencode
|
%{python_sitearch}/rencode
|
||||||
%{python_sitearch}/rencode-%{version}-py%{python_version}.egg-info
|
%{python_sitearch}/rencode-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user