Compare commits

2 Commits

2 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 10 09:13:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 16 12:22:26 UTC 2021 - Dirk Müller <dmueller@suse.com> Tue Mar 16 12:22:26 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyngus # spec file for package python-pyngus
# #
# Copyright (c) 2021 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-%{**}}
%bcond_with test %bcond_with test
Name: python-pyngus Name: python-pyngus
Version: 2.3.1 Version: 2.3.1
@@ -26,12 +25,14 @@ License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/kgiusti/pyngus URL: https://github.com/kgiusti/pyngus
Source: https://files.pythonhosted.org/packages/source/p/pyngus/pyngus-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pyngus/pyngus-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module python-qpid-proton} BuildRequires: %{python_module python-qpid-proton}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-python-qpid-proton >= 0.9 Requires: python-python-qpid-proton >= 0.9
BuildArch: noarch BuildArch: noarch
BuildRequires: fdupes
%if %{with test} %if %{with test}
BuildRequires: %{python_module python-qpid-proton >= 0.9} BuildRequires: %{python_module python-qpid-proton >= 0.9}
%endif %endif
@@ -45,10 +46,10 @@ provides a callback-based API for message passing
%setup -q -n pyngus-%{version} %setup -q -n pyngus-%{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
@@ -62,6 +63,7 @@ provides a callback-based API for message passing
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{python_sitelib}/* %{python_sitelib}/pyngus
%{python_sitelib}/pyngus-%{version}*-info
%changelog %changelog