forked from pool/python-xxhash
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2a699f800b | |||
| 23a0a5bd84 |
@@ -1,8 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 2 03:21:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 14:36:39 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-xxhash
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,10 +25,8 @@ License: BSD-2-Clause
|
||||
URL: https://github.com/ifduyue/python-xxhash
|
||||
Source: https://files.pythonhosted.org/packages/source/x/xxhash/xxhash-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: xxhash-devel
|
||||
@@ -44,12 +42,12 @@ xxhash is a Python binding for the xxHash library.
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export LANG=en_US.UTF-8
|
||||
export XXHASH_LINK_SO=1
|
||||
%pyproject_wheel
|
||||
%python_build
|
||||
|
||||
%install
|
||||
export LANG=en_US.UTF-8
|
||||
export XXHASH_LINK_SO=1
|
||||
%pyproject_install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -63,6 +61,6 @@ mv xxhash{.hide,}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitearch}/xxhash
|
||||
%{python_sitearch}/xxhash-%{version}.dist-info
|
||||
%{python_sitearch}/xxhash-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user