forked from pool/python-txZMQ
Accepting request 1282535 from devel:languages:python
- Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/request/show/1282535 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-txZMQ?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 4 06:15:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 16:20:54 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-txZMQ
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-txZMQ
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
@@ -25,7 +24,9 @@ License: MPL-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/smira/txZMQ
|
||||
Source: https://files.pythonhosted.org/packages/source/t/txZMQ/txZMQ-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Twisted >= 10.0
|
||||
@@ -46,10 +47,10 @@ It supports both CPython and PyPy, and ZeroMQ library versions 2.2.x or 3.2.x.
|
||||
%setup -q -n txZMQ-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -58,6 +59,7 @@ It supports both CPython and PyPy, and ZeroMQ library versions 2.2.x or 3.2.x.
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc AUTHORS.txt README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/tx[Zz][Mm][Qq]
|
||||
%{python_sitelib}/tx[Zz][Mm][Qq]-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user