Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 88d0a2e8c3 | |||
| e4d7910165 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 4 00:10:00 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 18 22:03:31 UTC 2025 - Jannik Seiler <seil0@mosad.xyz>
|
Tue Feb 18 22:03:31 UTC 2025 - Jannik Seiler <seil0@mosad.xyz>
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,9 @@ Summary: Pythonified linux asm-generic/ioctl.h
|
|||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
URL: https://github.com/vpelletier/python-ioctl-opt
|
URL: https://github.com/vpelletier/python-ioctl-opt
|
||||||
Source: https://pypi.org/packages/source/i/ioctl-opt/ioctl-opt-%{version}.tar.gz
|
Source: https://pypi.org/packages/source/i/ioctl-opt/ioctl-opt-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -36,16 +38,16 @@ Functions to compute fnctl.ioctl's opt argument.
|
|||||||
%autosetup -p1 -n ioctl-opt-%{version}
|
%autosetup -p1 -n ioctl-opt-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python_sitelib}/ioctl_opt
|
%{python_sitelib}/ioctl_opt
|
||||||
%{python_sitelib}/ioctl_opt-%{version}-*.egg-info
|
%{python_sitelib}/ioctl_opt-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user