14
0
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:
2025-06-04 18:28:54 +00:00
committed by Git OBS Bridge
2 changed files with 13 additions and 5 deletions

View File

@@ -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> Tue Oct 11 16:20:54 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-txZMQ # 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 # 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-txZMQ Name: python-txZMQ
Version: 1.0.0 Version: 1.0.0
Release: 0 Release: 0
@@ -25,7 +24,9 @@ License: MPL-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/smira/txZMQ URL: https://github.com/smira/txZMQ
Source: https://files.pythonhosted.org/packages/source/t/txZMQ/txZMQ-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/t/txZMQ/txZMQ-%{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
Requires: python-Twisted >= 10.0 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} %setup -q -n txZMQ-%{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}
%check %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} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt
%doc AUTHORS.txt README.rst %doc AUTHORS.txt README.rst
%{python_sitelib}/* %{python_sitelib}/tx[Zz][Mm][Qq]
%{python_sitelib}/tx[Zz][Mm][Qq]-%{version}.dist-info
%changelog %changelog