forked from pool/python-dukpy
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 5846913c33 | |||
| 3d72bbe346 | |||
| 20315b5fb2 | |||
| b595656263 | |||
| 904f521b20 | |||
| 3f690f2a89 |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jun 5 06:01:38 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- Switch to pyproject macros.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 21 12:23:21 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Tue Jan 21 12:23:21 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -25,10 +25,8 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/amol-/dukpy
|
URL: https://github.com/amol-/dukpy
|
||||||
Source: https://github.com/amol-/dukpy/archive/%{version}.tar.gz#/dukpy-%{version}.tar.gz
|
Source: https://github.com/amol-/dukpy/archive/%{version}.tar.gz#/dukpy-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@@ -62,10 +60,10 @@ sed -i 's:import mock:from unittest import mock:' tests/test_evaljs.py
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dukpy
|
%python_clone -a %{buildroot}%{_bindir}/dukpy
|
||||||
%python_clone -a %{buildroot}%{_bindir}/dukpy-install
|
%python_clone -a %{buildroot}%{_bindir}/dukpy-install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|||||||
Reference in New Issue
Block a user